james tyner
james tyner

Reputation: 55

How to run .apk in emulator outside of eclipse

I have an apk file that I would like to run in the emulators but outside of eclipse.I see in the tools directory of the android sdk there is an emulator app but is there a way to test outside of eclipse?

Thanks

Upvotes: 2

Views: 3667

Answers (2)

ChanGan
ChanGan

Reputation: 4318

If it is saying "failed and already exists" means: the apk which you are trying to install is already installed on the emaulator or the device.

Goto Settings--> Manage Applications --> Select the app (which you are trying to install) --> uninstall..

Now try; it should work.

Upvotes: 0

systempuntoout
systempuntoout

Reputation: 74064

Yes, you can test it outside eclipse.

  1. Run android.exe and add a virtual device
  2. Launch the emulator with emulator -avd YourVirtualDevice
  3. Run your apk with adb install yourfile.apk

Upvotes: 5

Related Questions