Cordova 3.5.0 Install Error- Please Install Android Target 19

前端 未结 6 881
感情败类
感情败类 2020-11-28 04:05

I try to get this working and it\'s driving me nuts:

$ cordova platform add android

The output is:

Creating android project         


        
6条回答
  •  眼角桃花
    2020-11-28 04:19

    I too was getting the same error 19. I have no idea about AndroidManifest.xml and where it is supposed to be.

    In my case, I fixed the error by running the 'android' command from the console, opening the Android 4.4.2 (API19) tree and installing the SDK Platform.

    After this was installed the cordova platform add android command worked as desired.

    Further to this I had to install a few other elements of API19 to be able to create an android emulator:

    • ARM EABI v7a System Image
    • Intel x86 Atom System Image
    • Google APIs (x86 System Image)
    • Google APIs (ARM System Image)

    I could then create an emulator based on API19 using the Android Virtual Device (AVD) Manager that is included in the android SDK bundle.

提交回复
热议问题