Cordova android emulator stopped working

前端 未结 7 540
隐瞒了意图╮
隐瞒了意图╮ 2021-01-31 05:14

I\'m building an app for Android using Cordova. The android emulator was working fine but I wasn\'t using it because I installed the Ripple emulator. I continued on building my

7条回答
  •  醉话见心
    2021-01-31 05:33

    I Have recieved the same error myself, there may be 3 issues :

    the emulator uses the apk file generated in the platforms/android/bin folder. sometimes this is missing so make sure to:

    1. cd platforms/android
    2. ant clean
    3. ant debug

    Which will create the missing apk file if missing.

    The second issue may have come with adding it to the emulator, which must be run prior:

    How to install an apk on the emulator in Android Studio?

    There is also the option to delete and create the android virtual machine using:

    AVD at http://developer.android.com/tools/devices/index.html

    hope this helps, let me know. There is very little documentation about this error.

提交回复
热议问题