Skip to content
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

The minSdk version should not be declared in the android manifest file #1316

Closed
vtrifonov opened this issue Mar 18, 2019 · 0 comments
Closed
Assignees
Milestone

Comments

@vtrifonov
Copy link
Contributor

vtrifonov commented Mar 18, 2019

If you open platforms/android folder with Android Studio you get the following error:

ERROR: The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
Remove minSdkVersion and sync project
Affected Modules: app

WARNING: The targetSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
Remove targetSdkVersion and sync project
Affected Modules: app

So to fix it, the minSdkVersion and targetSdkVersion need to be removed from the manifest file in the project template. Both of them should be set through the gradle file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants