Cordova android 映射到 android API
Cordova android mapped to which android API
使用 Cordova 时,我想为 Android API 版本 23 构建。
当我执行 cordova platform add android
时,然后当我通过执行 cordova build android
来构建应用程序时。它默认为 API 25 构建。
如何设置正确的 api 版本。还要提到要在 Android-sdk.
中安装什么
谢谢
How do I go about setting the correct api version
在您的 config.xml
中,使用 <preference>
进行设置:
<preference name="android-targetSdkVersion" value="23" />
Also mention what is to be installed in the Android-sdk
需要安装API23平台SDK。
有关详细信息,请参阅 Cordova Android platform guide。
使用 Cordova 时,我想为 Android API 版本 23 构建。
当我执行 cordova platform add android
时,然后当我通过执行 cordova build android
来构建应用程序时。它默认为 API 25 构建。
如何设置正确的 api 版本。还要提到要在 Android-sdk.
中安装什么谢谢
How do I go about setting the correct api version
在您的 config.xml
中,使用 <preference>
进行设置:
<preference name="android-targetSdkVersion" value="23" />
Also mention what is to be installed in the Android-sdk
需要安装API23平台SDK。 有关详细信息,请参阅 Cordova Android platform guide。