Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
Xubuntu 14.04
Description
I couldn't find the versions I have in the entry form, here they are:
cordova -v: 5.4.1
cordova-android@4.1.1
My config.xml file contains the following section:
<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>
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".