Sunday, March 31, 2013

Installing external APK files on Android Emulator

To install an external APK on Android Virtual Deice (AVD) or on Emulator go through the following step-by-step procedure.
step 1-
         Launch the emulator
step 2-   
         Paste your APK file whichever you want to install on emulator in android-sdk-windows\platform-tools directory.
step 3-
         open cmd prompt and move to platform-tools folder of Android SDK directory.
step 4-
         Run the  following command:
  • adb install "xxx.apk" 
    • Example: abd install "Indianlaws.apk"
If Exists:
 If the emulator is already has that application it will give a failure notification to the user - [ INSTALL_FAILED_ALREADY_EXISTS ].

After successful installation it will give a " SUCCESS" message to the user.
Please, find the procedure in the following screenshot.




2 comments: