Android emulator not working on Ubuntu

31 views
Skip to first unread message

dubser

unread,
Jul 2, 2019, 7:06:50 PM7/2/19
to MIT App Inventor Forum
Hello,

I'm on Ubuntu 18.04.2 LTS 64 Bits system with MIT App Inventor 2 running in Firefox. I Install the package appinventor2-setup_2.3_all.deb with the default Ubuntu package installer.

When in MIT App Inventor I try Connect > Emulator... The message Unable to retreieve version of... prompt.

The package is properly installed in correct directory:

root@grelot-Aspire-5517:/usr/google/appinventor/commands-for-Appinventor# ls -la
total 23296
drwxr-xr-x 2 root root    4096 jui  2 18:39 .
drwxr-xr-x 5 root root    4096 jui  2 18:28 ..
-rwxr-xr-x 1 root root 1318951 mar  6  2015 adb
-rwxr-xr-x 1 root root      44 mar  6  2015 adbdevices
-rwxr-xr-x 1 root root      68 mar  6  2015 adbrestart
-rwxr-xr-x 1 root root 5321452 mar  7  2015 aiStarter
-rwxr-xr-x 1 root root   33428 mar  6  2015 emulator
-rwxr-xr-x 1 root root 2854417 mar  6  2015 emulator64-arm
-rwxr-xr-x 1 root root 2884527 mar  6  2015 emulator64-mips
-rwxr-xr-x 1 root root 2956240 mar  6  2015 emulator64-x86
-rwxr-xr-x 1 root root 2706541 mar  6  2015 emulator-arm
-rwxr-xr-x 1 root root 2679855 mar  6  2015 emulator-mips
-rwxr-xr-x 1 root root 2811534 mar  6  2015 emulator-x86
-rwxr-xr-x 1 root root  215626 mar  6  2015 fastboot
-rwxr-xr-x 1 root root     117 mar  6  2015 getversion
-rwxr-xr-x 1 root root     175 mar  6  2015 kill-emulator
-rwxr-xr-x 1 root root   12191 mar  6  2015 mksdcard
-rwxr-xr-x 1 root root     972 mar  6  2015 reset-emulator
-rwxr-xr-x 1 root root    1510 mar  6  2015 run-emulator
-rwxr-xr-x 1 root root     146 mar  6  2015 unlock-emulator-keyboard

When I try to start manually the emulator ...

root@grelot-Aspire-5517:/usr/google/appinventor/commands-for-Appinventor# ./run-emulator
./run-emulator: ligne 40: ./mksdcard: Aucun fichier ou dossier de ce type ( no file found)
./run-emulator: ligne 43: ./emulator: Aucun fichier ou dossier de ce type


Some help appreciated !

Is someone running android emulator on ununtu 18.xx

Thanks a lot !

TimAI2

unread,
Jul 2, 2019, 7:15:29 PM7/2/19
to MIT App Inventor Forum
I use Xubuntu, but use Genymotion for my emulator (an alternative solution, I know it doesn't solve your problem)

Dubser

unread,
Jul 4, 2019, 8:29:56 AM7/4/19
to mitappinv...@googlegroups.com
The problem was solved by installing Google Android studio with Ubuntu installator.

This install android APK and all dependencies.  
Now the Web AppInventor > Connect > Emulator start the emulator window when /usr/google/appinventor/commands-for-Appinventor/aiStarter is manually started before.

Dubser

unread,
Jul 4, 2019, 3:51:12 PM7/4/19
to mitappinv...@googlegroups.com
I can confirm to myself .... and to the world, that Android emulator is working un Ubuntu 18.04. Be cool it is slow but working !
Reply all
Reply to author
Forward
0 new messages