Friday, September 27, 2013

Android: Install an apk file on the Android emulator

A colleague created an Android apk package using PhoneGap build and asked me to test it.

But how do you get this apk file on the emulator?

  1. Start the Android emulator(through the AVD manager).
  2. Open a command prompt and navigate to the SDK\platform-tools folder.
  3. Paste the APK file in the 'platform-tools' folder.
  4. Execute the following command.

    adb install [apk file name]

No comments: