How can I specify the minimum SDK in phonegap? It is ignoring android-minsdkversion in config.xml

前端 未结 6 2030
北海茫月
北海茫月 2020-11-28 10:24

This is a phonegap 3.5 / cordova 3 android app. In www/config.xml I have:




        
6条回答
  •  广开言路
    2020-11-28 11:02

    For anyone getting here looking for a way to set a specific target version, I found this: I just had the same problem. I had to change the target:

    Project target.

    target=android-22 This should be done in two files:

    myApp/platforms/android/project.properties myApp/platforms/android/CordovaLib/project.properties

    Also the manifest should be updated:

    From Sebastian answer placed here: Cordova : [Error: Please install Android target: "android-21"

提交回复
热议问题