Problems encountered in updating Android Studio

After opening Android Studio, an update dialog box popped up. I didn't even think about updating now, and then something went wrong.

错误1、Error:org.gradle.api.UncheckedIOException: Could not read entry '-4545495943305041563' from cache fileSnapshots.bin (F:\android studio\AndroidStudioProjects\GoodWeather\.gradle\3.3\taskArtifacts\fileSnapshots.bin).

> Could not read entry '-4545495943305041563' from cache fileSnapshots.bin (F:\android studio\AndroidStudioProjects\GoodWeather\.gradle\3.3\taskArtifacts\fileSnapshots.bin).
Solution: Delete F:\android studio\AndroidStudioProjects\GoodWeather\.gradle\3.3\taskArtifacts\fileSnapshots.bin
Error 2,
Error:Failed to capture snapshot of input files for task 'mergeReleaseJniLibFolders' property 'rawInputFolders' during up-to-date check.
> Failed to create MD5 hash for file 'F:\android studio\AndroidStudioProjects\GoodWeather\HX_Lib\libs\arm64-v8a\libhyphenate_av.so'.
solution:
I deleted the files in the directory, and there was a problem with the R file after compilation. At first glance, the activity of the folder becomes Activity, which causes it to fail to operate normally.
Error 3,
Error:null value in entry: outputDir=null
A Bug in Gradle, the solution is to delete the .gradle folder in the root directory of the project, and then Clean, Rebulid. 

Finally, the version is risky, so be careful when updating!



Guess you like

Origin blog.csdn.net/fromVillageCoolBoy/article/details/69258730