penguin-debug opened a new issue #923: <uses-sdk> tag is not added to AndroidManifest.xml as expected URL: https://github.com/apache/cordova-android/issues/923 # Bug Report ## Problem Im developing an ionic project, Android platform is added as expected when I add android platform by execute "ionic cordova platform [email protected]" however there are now <uses-sdk> tag such as <uses-sdk android:minsdkversion="21" android:targetsdkversion="28"/> in AndroidManifest.xml file inside platform/android/src/main folder even though I include <preference name="android-minSdkVersion" value="21" /> in config.xml in the root of my project. This is happening in [email protected] but not in [email protected] ### What is expected to happen? <uses-sdk> tag such as <uses-sdk android:minsdkversion="21" android:targetsdkversion="28"/> is found in AndroidManifest.xml file inside platform/android/src/main folder when add android platform by execute "ionic cordova platform add [email protected]" ### What does actually happen? <uses-sdk> tag such as <uses-sdk android:minsdkversion="21" android:targetsdkversion="28"/> is not found in AndroidManifest.xml file inside platform/android/src/main folder when I add android platform by execute "ionic cordova platform add [email protected]" ### Command or Code ionic cordova platform add [email protected] ### Version information Ionic: ionic (Ionic CLI) : 4.7.1 (/usr/local/lib/node_modules/ionic Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.2.1 Cordova: cordova (Cordova CLI) : 9.0.0 ([email protected]) Cordova Platforms : android 8.1.0, ios 5.0.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 1.2.1, (and 38 other plugins) System: Android SDK Tools : 26.1.1 (/Users/user/Library/Android/sdk) ios-deploy : 1.9.4 ios-sim : 7.0.0 NodeJS : v10.11.0 (/Users/user/.nvm/versions/node/v10.11.0/bin/node) npm : 6.4.1 OS : macOS Mojave Xcode : Xcode 11.3 Build version 11C29 ## Checklist - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
