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

丶灬走出姿态 提交于 2019-12-08 15:48:36

问题


Gradle Sync Errors are coming up on my build.gradle file for a module I imported called BaseGameUtils saying The minSdk version should not be declared in the android manifest file. I don't call this at all from what I can see, and I don't in the Android Manifest either?

But here is my build.gradle file. Please help!


回答1:


Inside your manifest there must be inside which minsdkversion might have been written. Just remove <uses-sdk>....</uses-sdk>




回答2:


currently, I'm using openCV, my solution is to change minsdk in build.gradle for module:app and build.gradle module:OpenCVLibrary with the same version. i hope it's work for you



来源:https://stackoverflow.com/questions/51795814/the-minsdk-version-should-not-be-declared-in-the-android-manifest-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!