Attribute android versionCode is not allowed here

 AndroidManifest.xml的

android:targetSdkVersion="XX"

"

SDK版本跟build.gradle里的"

dependencies {
    implementation 'com.android.support:support-v13:XX.0.0'
}

android {
    compileSdkVersion XX

里的SDK的版本不一致。

设置一致,即可。

猜你喜欢

转载自blog.csdn.net/weixin_45046069/article/details/132408293
今日推荐