I have eclipse and ADT and android SDK installed and I want to test apk files on my emulator.
I followed guides from stackoverflow, like this: How do I Install .apk files in the android emulator?
but these guides doesnt works a this point: I dont know where i have to put the APK file. For example, this command:
adb -s emulator-5554 install something.apk
It fails because can't find my apk file. Where i have to put it?
We just need the APK file to install it in the Emulator. First of all, we still have to open the Emulator and after that drag, your APK file and drop it in the emulator anywhere and that's it it will simply install that app in the Emulator.
You need to create an emulator using the Android Virtual Device Manager. Then when you run it as an android application it will launch the emulator. Should cover what you need to know. Save this answer.
You can put it anywhere on your system, just specify the path as part of your command line:
C:\android-sdk\platform-tools> adb -s emulator-5554 install C:\Users\Me\Desktop\myapp.apk
Or, change into the directory your APK is in first, then run your command:
C:\> cd %USERPROFILE%\Desktop
C:\Users\Me\Desktop> adb -s emulator-5554 install myapp.apk
Note: The above assumes you're on Windows, substitute UNIX-style paths if you're on Linux or Mac OSX.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With