Run apk on android emulator

I want to run APK on android emulator and I followed next steps:

  • Copied apk to platform-tools directory
  • Run cmd.exe as administrator
  • Navigated to the platform-tools directory
  • Run emulator from AVD manager
  • In command line entered adb devices (it showed my emulator in list)
  • I entered adb insall name.apk in command line after this I got message as below:
  • 在这里输入图像描述

    I found this link how to run APK on emulator. And other tutorial also show how it works. In case when we entered adb install after few seconds command line shows Success message but in my case command line shows this log.


    Assuming you already have the Emulator running follow these steps:

  • Locate your adb.exe file in your Android SDK folde.In Windows environment normally your adb.exe is inside [Android-SDK-folder]/platform-tools/ . In my case, the adb.exe is in C:android-junoandroid-sdkplatform-tools .
  • Put it inside your [Android-SDK-folder]/platform-tools/ as bellow figure:

    在这里输入图像描述

  • Now run the adb.exe through the command prompt.
  • In the command line, go inside the platform-tools folder.Execute command:

    adb install Peribahasa.apk 在这里输入图像描述

    Later, the apps you just install will be in the emulator.

  • 链接地址: http://www.djcxy.com/p/90684.html

    上一篇: 我可以在Android模拟器中运行APK文件吗?

    下一篇: 在Android模拟器上运行apk