Installing an apk in the emulator

371 views
Skip to first unread message

rodo...@gmail.com

unread,
Jul 4, 2014, 6:50:22 PM7/4/14
to mitappinv...@googlegroups.com
Is there a way to install an apk file into the emulator instead of hosting it online and downloading into the emulator?

basically, i wanna test the packaged app with the emulator rather than install on my phone.

phantomfoot

unread,
Jul 4, 2014, 7:54:45 PM7/4/14
to mitappinv...@googlegroups.com
Yes that's possible.

I am presuming you already have installed the AppInventor setup software? http://appinventor.mit.edu/explore/ai2/windows.html

1. In AppInventor, Build -> App (save .apk to m y computer) and download the apk to your computer
2. Save the apk to the folder C:\Program Files (x86)\AppInventor\commands-for-Appinventor on your PC
3. Open command prompt Start -> Run -> cmd
4. Type cd C:\Program Files (x86)\AppInventor\commands-for-Appinventor
5. Type adb install name_of_your_app.apk

SteveJG

unread,
Jul 4, 2014, 8:06:12 PM7/4/14
to mitappinv...@googlegroups.com
"i wanna test the packaged app with the emulator rather than install on my phone." 
You are aware, the stock  AI2 emulator is incapable of 'emulating' many of your phone's features. For many apps, it will do a good job but 
do not expect the performance you would get on your device.  The emulator has its own memory limits and often its calculating and graphics 
are slower.

Regards,
Steve
Reply all
Reply to author
Forward
0 new messages