毕设day22

续day21:

bug:

org.gradle.cache.LockTimeoutException: Timeout waiting to lock file hash cache (C:\Users\Administrator\.gradle\wrapper\dists\gradle-6.7.1-bin\caches\4.8.1\fileHashes). It is currently in use by another Gradle instance.(未解决)

方法一:file-invariant and restart(我试了不行)

bug:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with

解决:

http://www.manongjc.com/article/120871.html

bug:

FAILURE: Build failed with an exception.

WARNING: The specified Android SDK Build Tools version (25.0.0) is ignored, as it is below the minimum supported version (26.0.2)
for Android Gradle Plugin 3.0.0.

解决:

buildToolsVersion 版本号不匹配,修改成匹配的版本即可(25->26)

 bug:

Could not find com.android.tools.build:gradle:4.2.0-beta05.      Searched in the following locations

解决办法:
在repositories{}内添加google()
它会去更换为https://dl.google.com/ 下载

 

posted @ 2021-04-22 16:01  IT龚哞哞  阅读(93)  评论(0)    收藏  举报