-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<uses-sdk> tag is not added to AndroidManifest.xml as expected #923
Comments
What do you have in the config.xml? |
Here is the config.xml :
|
I don't see any The uses-sdk block was specifically removed from the cordova template in 8.1.0 as per #699 |
As pointed out, the If you need to change the SDKs, try using the preference options that are documented here: https://cordova.apache.org/docs/en/10.x/config_ref/index.html#preference |
Bug Report
Problem
Im developing an ionic project, Android platform is added as expected when I add android platform by execute "ionic cordova platform android@8.1.0" however there are now tag such as in AndroidManifest.xml file inside platform/android/src/main folder even though I include in config.xml in the root of my project.
This is happening in cordova-android@8.1.0 but not in cordova-android@8.0.0
What is expected to happen?
tag such as is found in AndroidManifest.xml file inside platform/android/src/main folder when add android platform by execute "ionic cordova platform add android@8.1.0"
What does actually happen?
tag such as is not found in AndroidManifest.xml file inside platform/android/src/main folder when I add android platform by execute "ionic cordova platform add android@8.1.0"
Command or Code
ionic cordova platform add android@8.1.0
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 (cordova-lib@9.0.1)
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
The text was updated successfully, but these errors were encountered: