简体   繁体   中英

Building app with Cordova using Visual studio

I am using visual studio to develop cordova apps, they seem to run perfectly on ripple emulator but when I select GOOGLE ANDROID EMULATOR then it gives the error as THIS AVD's CONFIGURATION IS MISSING A KERNEL FILE

and when I use VS EMULATOR 5'' KITKAT(4.4) XXHDPI PHONE then it gives the error as YOU DO NOT HAVE PERMISSION TO MODIFY HYPER-V NETWORK ADAPTER SETTINGS

Can anyone please help?

It seems like you have an incomplete install of the Google Android Emulator and have to install one yourself.

Download Android Studio, open the SDK manager, and install the following components:

  • latest "Android SDK tools"
  • latest "Android SDK platform-tools"
  • latest "Android SDK build-tools"
  • Android 6.0 API 23 - SDK platform -- to build the latest kind of Android app
  • Android 5.0.1 API 21 - SDK platform -- to use the emulator successfully
  • Android 5.0.1 API 21 - ARM EaBI v7a System Image -- the emulator image which you can use on a machine with Hyper V activated

Then, open the AVD manager and create an emulator with the ARM system image.

Finally, go to tools->options->"Tools for Apache Cordova" -> Environmental variable overrides, and link to where your customized Android Studio is installed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM