Could not resolve all files for configuration ':classpath'.

Error:Gradle: A problem occurred configuring root project ‘UParkProject2.0’.

Could not resolve all files for configuration ‘:classpath’.
Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.1.3-2.
Required by:
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1 > com.android.tools.build:builder:3.0.1
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1 > com.android.tools.lint:lint:26.0.1

。。。。。。还有一堆

应该是读取缓存文件出错

解决办法

File -> Settings -> Build,Execution,Deployment -> Compiler
Command-line options: 把 [ –offline ] 改成 [ –continue ]

我的 AS 是 3.0.1 跑到手机上 app 不会自动打开
还要在研究研究 特么的。

猜你喜欢

转载自blog.csdn.net/u013171212/article/details/78687547