Android Studio 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.
原因
因为我在项目中接入了微信分享的sdk,导致在编译时报错,大概意思是minSdkVersion和targetSdkVersion不应该在manifest.xml文件中声明,可以移动到build.gradle文件中的默认的config
解决方案
解决方法就是把manifest.xml文件中的minSdkVersion和targetSdkVersion注释掉,重新编译即可
版权声明:本文为m0_37381690原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。