[
https://issues.apache.org/jira/browse/CB-10199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15059052#comment-15059052
]
Joe Bowser edited comment on CB-10199 at 12/15/15 11:10 PM:
------------------------------------------------------------
Setting max and target to 19 may actually prevent the application from
building. You should always target the latest API level, since Cordova is
built with the latest API level. It will still run on Android 4.4.x. You
should always install the latest supported version. As of Cordova-Android
5.0.x, this is actually android-23.
The latest version of Cordova, built with the latest Android APIs do work with
Android 4.4.
was (Author: bowserj):
Setting max and target to 19 may actually prevent the application from
building. You should always target the latest API level, since Cordova is
built with the latest API level. It will still run on Android 4.4.x. You
should always install the latest supported version. As of Cordova-Android
5.0.x, this is actually android-23.
> Android SDK Version in config.xml doesn't propagate to project.properties
> -------------------------------------------------------------------------
>
> Key: CB-10199
> URL: https://issues.apache.org/jira/browse/CB-10199
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Environment: Xubuntu 14.04
> Reporter: Christian Gelinek
>
> I couldn't find the versions I have in the entry form, here they are:
> {{cordova -v}}: 5.4.1
> {{[email protected]}}
> My config.xml file contains the following section:
> {noformat}
> <platform name="android">
> <preference name="android-minSdkVersion" value="19" />
> <preference name="android-targetSdkVersion" value="19" />
> <preference name="android-maxSdkVersion" value="19" />
> <allow-intent href="market:*" />
> </platform>
> {noformat}
> After running {{cordova platform add android}}, the
> _./platforms/android/AndroidManifest.xml_ file contains the line
> {{<uses-sdk android:maxSdkVersion="19" android:minSdkVersion="19"
> android:targetSdkVersion="19" />}}
> But the _./platforms/android/project.properties_ file still contains
> {{target=android-22}}.
> Therefore running e.g. {{cordova build android}} fails with the following
> message:
> {{ERROR: Error: Please install Android target: "android-22".}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]