Skip to content Skip to sidebar Skip to footer

Mit App Inventor 2: Emulator Doesn't Launch Companion

When I run aiStarter.exe as administrator, and the click on connect to the emulator in http://ai2.appinventor.mit.edu, then the emulator starts, the black screen with android is di

Solution 1:

There is a simple fix to that bug:

once your emulator is loaded (just wait until you see that: pct1), don't close anything, just open Windows Task Manager (Ctrl+Shift+Esc or Ctrl+Shift+Del -> Task Manager) in the process kill the adb.exe (while the emulator is working) cf. pct2. Don't do anything else, wait for few second and you will see a new popup to this site saying that it has detected the emulator. Repeat that each time the emulator stuck.

pct1:

enter image description here

pct2:

enter image description here

This seems to force adb to listen on the port 8001

EDIT1 an other way to kill and restart adb.exe:

List item:

  1. put your UAC (in start menu) at the lower level
  2. launch your emulator, when it's ready (SD card prepared) do the following
  3. go in C:\Program Files (x86)\AppInventor\commands-for-appinventor right click new and "text" and rename this file run.bat (to change .txt in .bat)
  4. right click to edit the file with notepad
  5. write just: CMD
  6. save and close
  7. now double click that run.bat file
  8. write: adb kill-server (press enter and wait)
  9. write: start-server (your emulator should now connect)

Edit2: Genymotion works much faster with app inventor 2.

Post a Comment for "Mit App Inventor 2: Emulator Doesn't Launch Companion"