Home  >  Q&A  >  body text

android - How does IDEA automatically install the Android apk package to the simulator for debugging?

I clicked on the green triangle, but I just opened the simulator and the installation package was not automatically installed! !

repair:

Supplement:
First of all, I have to execute the following command separately

$ adb push E:\ReactNative\ReactNativeOne1\android\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.reactnativeone
$ adb shell pm install -r "/data/local/tmp/com.reactnativeone"
PHPzPHPz2692 days ago914

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 13:34:10

    You need to wait a little longer

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-16 13:34:10

    Let the bullets fly for a while and be patient.

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-16 13:34:10

    After the emulator starts, clicking the button should automatically install the application and open it

    reply
    0
  • Cancelreply