views:

368

answers:

4

I finally managed to obfuscate my android app, now I want to test it by installing the apk file and running it on the simulator.

Does anybody know how I can install an apk file on the Android simulator?

Thanks

+3  A: 

first of all execute the emulator.

then start the console (windows xp) Run->type "cmd" type the following command:

adb install [apk file name]

example: a

db install Jorgesys.apk

Jorgesys
A: 
go to sdk folder, then go to tools.
copy your apk file inside the tool directory
./emulator -avd myEmulator
to run the emulator on mac 
./adb install myApp.apk
to install app on the emulator
aryaxt
A: 

Run it in eclipse with the android plug in. Green run button on top.

zipzit