You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I would build with cordova-android from master branch of GitHub, with no special targetSdkVersion value explicitly defined, the resulting APK should have correct default value of targetSdkVersion.
What does actually happen?
If I would add cordova-android platform from GitHub to new Cordova project as follows:
fix the Gradle scripts to use defaultTargetSdkVersion from root (top-level) build.gradle file (this would be a partial solution to Gradle default values ignored #658)
fix the Gradle scripts to use the target SDK value specified in project.properties (this would also be a temporary solution, see Get rid of project.properties files #660)
Bug Report
Problem
What is expected to happen?
If I would build with cordova-android from master branch of GitHub, with no special
targetSdkVersion
value explicitly defined, the resulting APK should have correct default value oftargetSdkVersion
.What does actually happen?
If I would add cordova-android platform from GitHub to new Cordova project as follows:
then do
cordova build android
and then check the target SDK version as follows:aapt list -a platforms/android/app/build/outputs/apk/debug/app-debug.apk | grep -i sdkversion
I get the following result:
Note the nonsense
android:targetSdkVersion
value.Information
see above
This issue is a result of merged PR #664, which was raised by me.
Command or Code
see above
Environment, Platform, Device
mac OS
Version information
Cordova CLI version:
8.1.2 ([email protected])
Cordova platforms: cordova-android @ bb45f4f from master branch
Other frameworks: none
Operating System: mac OS (10.13.6)
Checklist
The text was updated successfully, but these errors were encountered: