How do you install an APK file in the Android emulator?

前端 未结 30 1700
滥情空心
滥情空心 2020-11-22 14:53

I finally managed to obfuscate my Android application, now I want to test it by installing the APK file and running it on the emulator.

30条回答
  •  伪装坚强ぢ
    2020-11-22 15:14

    1) paste the myapp.apk in platform-tools folder , in my case C:\Users\mazbizxam\AppData\Local\Android\android-sdk\platform-tools, this is the link in my case it may change to you people

    2)open the directory in CMD CD C:\Users\mazbizxam\AppData\Local\Android\android-sdk\platform-tools

    3)Now you are in platform-tools folder , just type adb install myapp.apk

    please ensure that your emulator is turn on , if every thing is ok apk will install

提交回复
热议问题