Install .apk file in the Android Emulator using command prompt (cmd) without Eclipse

Here nothing difficult. Very Easy and simple step for Install an .apk file in the Android Emulator using command prompt (cmd) without Eclipse.

     We are going to install .apk file on windows command line with Android Emulator. We can install .apk using Eclipse. But here we making in the Android Emulator with command prompt (CMD).

Install .apk file in Android Emulator using command prompt (cmd) without Eclipse

  1. Execute Android Emulator
  2. First have execute the Android Emulator.

  3. Place of .APK file:
  4. Place your .apk file into the ‘platform-tools’ folder or ‘android-sdk\tools’ folder.

  5. In CMD:
  6. Open your Command prompt. Then navigate to platform-tools\ folder of the android-sdk folder.


  7. For Windows:
      For Windows XP,7 or 8 platform, run the following command line in command prompt,
       adb install karsho.apk
    Here, karsho.apk is your .apk file name. This will be install in the Internal Memory of the Emulator.
    Important Note:
    Always make sure the Path of .apk file. For example,
    adb install C:\Users\User-name\Project\new.apk
    If you want to install in SD-Card of the Emulator, then fun following command line
       adb install -s karsho.apk

    For Ubuntu/Linux and Mac:
      For Ubuntu/Linux or Mac platform, Just use following command line,
       ./adb install karsho.apk

0 comments: