Step to install apk file from pc to android devices or emulator
Windows:
- First you must connect you devices or start your emulator (which I will not gonna talk about it.)
- Then open command prompt and type adb install [apk path]
- (ps:replace the [apk path with the path to the apk file you want to install into the device / emulator)
- == don't tell me adb command not exist.
- which you not yet put the android-sdk\tools or platform-tools folder into the environmental path. Then you have to go to the tools folder and type the command again.
- Ok installed. end of story. Thx
Linux:
- Copy the apk file to platform-tools in android-sdk linux folder.
- Open Terminal and navigate to platform-tools folder in android-sdk.
- Then Execute this command -
- ./adb install FileName.apk
- If the operation is successful (the result is displayed on the screen), then you will find your file in the launcher of your emulator.
Mac:
- PATH=$PATH:~/Library/Android/sdk/platform-tools
- Example : PATH=$PATH:/users/jorgesys/eclipse/android-sdk-mac_64/tools
- Then run adb.
If any problems can leave a comment belows. I will Try to solve it ...but not mac user. Thank you. =D