Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle error in Android Studio 1.4

I am getting an error while I compile, build, or start Android Studio 1.4. Actually, I removed my computer's temp files and registry clean using Cleaner software. After i start Android Studio every app getting this error while compile project. the error message look like as below

Information:Gradle tasks [clean]
Error:Could not load compiled classes for initialization script 'C:\Users\Admin\AppData\Local\Temp\asLocalRepo2.gradle' from cache. Expected class file C:\Users\Admin\.gradle\caches\2.4\scripts\asLocalRepo2_497u80p42kjt36hnn4qq8ljon\InitScript\initscript\classes\asLocalRepo2_497u80p42kjt36hnn4qq8ljon.class does not exist.
> asLocalRepo2_497u80p42kjt36hnn4qq8ljon
Information:BUILD FAILED
Information:Total time: 0.717 secs
Information:1 error
Information:0 warnings
Information:See complete output in console

Kindldy please anyone suggest me whats problem here. and how to resolve it. Thanks in Advance..

like image 691
Qutbuddin Bohra Avatar asked Jul 24 '26 18:07

Qutbuddin Bohra


1 Answers

finally i solved error.

I just delete .gradle folder from user folder amd start new project, It will re download or re create gradle file.

That's it.

like image 68
Qutbuddin Bohra Avatar answered Jul 27 '26 06:07

Qutbuddin Bohra



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!