phonegap 3.0 wants android 17, but I want android 18

后端 未结 11 1013
南笙
南笙 2020-12-24 15:29

While experienced with phonegap and xcode, I\'m new to android. I have installed phonegap 3.0 ...

npm install phonegap
phonegap --version
3.0.0-0.14.3
         


        
11条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-24 15:54

    PhoneGap Build now supports an option to set the Android SDK version. It is documented here but basically what you need in config.xml is:

      
    

    It will then set the property correctly in AndroidManifest.xml.

    Note: This supposedly only works for PhoneGap build, but I am using the Ionic command line tools (on Cordova 5.1.1) and it appears to work fine for me too.

提交回复
热议问题