Cordova 4.3.0 Error: Please install Android target: “android-21”

前端 未结 5 1430
时光取名叫无心
时光取名叫无心 2021-02-05 21:51

I have a project that is running well with ripple emulator, but when i try to launch it on a physical Android device, I get the following error :

Error:

5条回答
  •  死守一世寂寞
    2021-02-05 22:16

    Go to

     project folder -> platforms -> android -> AndroidManifest.xml
    

    find something like

    
    

    you will see it's targetSdkVersion is 21. make that 19 and run for now. To go with 21, update your android tools.

提交回复
热议问题