從網上導入項目,然後Android studio報錯
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.
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.
大致意思是是說:
minSdk版本不應該在android清單文件中聲明。您可以將版本從清單移動到build.gradle文件中的默認Config。
targetSdk版本不應該在android清單文件中聲明。您可以將版本從清單移動到build.gradle文件中的默認Config。
然後移除manifest中的minSdk,targetSdk就可以了!