报错一:Could not resolve all files for configuration :app:debugCompileClasspath
在模拟器上运行后,报错以上的错误
解决的方案:打开你的工程项目,按照下图操作步骤,在指定地方(下图示4、5处)加上
maven{ url 'https://maven.aliyun.com/repository/google'}
报错二:error:style attribute '@android:attr/windowEnterAnimation' not found 解决
把老项目用android studio 3.1 以上的版本打开,发现报错以下的错误:
解决方案:打开gradle.properties添加下面代码即可解决:
android.enableAapt2=false