(1).Error:Unable to resolve dependency for ':xxxxx@mbLtcDebug/compileClasspath': Could not resolve com..Open File
这是因为你的代码依赖库或者你的依赖是离线状态
首先检查你的build.gradle 我的是3.0 这个文件配置依赖代码库

第二,可能是你的gradle设置成离线状态了。他只在本地的gradle库里面去找,你需要把离线状态去掉

第三.如果报 Failed to resolve: com.xxxxxx Show in File Show in Project Structure dialog
那么可能是你的库依赖有问题,你得去http://mvnrepository.com 按照你的包名去搜索下,重新把它的依赖搞进来
(2)Error:(95, 5) error: style attribute '@android:attr/windowEnterAnimation' not found.
在gradle.properties 添加
android.enableAapt2=false
网友评论