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

前端 未结 30 2060
滥情空心
滥情空心 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:13

    go to sdk folder, then go to tools.
    copy your apk file inside the tool directory
    ./emulator -avd myEmulator
    to run the emulator on mac 
    ./adb install myApp.apk
    to install app on the emulator
    

提交回复
热议问题