Someone ask a question in a apps related facebook group: Such as "Gradle Dependency Cache May Be Corrupt Error In Android Studio". I updated my Android Studio and it asked me to update my Gradle plugin package that created issues with my running projects. I've gone through all the Stack solutions and nothing worked for me. What can I do now? This question stuck in my mind and I'm trying to find an easy way to solve the error. Finally, I have the solutions which will help people to solve the error message instantly.
At first, open your Android Studio and go to "gradle-wrapper.properties" Under the App project and double click. Look at the right side and copy the gradle web link.
Now open your browser and paste the link go the gradle download website. Copy the Gradle Package Like as like as shown above.After Loading the website Press F+Ctrl and paste which you have copied from android studio yet. you will find out the desired gradle. Download it. When download will finish, extract or unzip with any extractor like Win Rar. More instructions in bellow image.
Now, Copy The unzip gradle folder and go to the directory "C:\Program Files\Android\Android Studio\gradle" and paste here the copied to unzip the gradle folder.
After successfully pasting the folder, came back your Android Studio and click Settings under the File menu such as the bellow picture.
Here, you have to click the menu "Build, Execution, Development". Now double click the on Gradle. The gradle properties must be open. Then click the radio button and then browse icon as shown in the image bellow.
Now, A new window will be seen and just browse the location "C:\Program Files\Android\Android Studio\gradle\gradle-3.2". (P. S. I used Gradle 3.2 only for example. Basically, it work with all version). Press Ok and you will see the window closed automatically. Then, press Apply and OK. This window will automatically close too.
Finally, you have to need to click "Try Again" on the error message on top of the middle. Your problems is solved!
Now Enjoy the "Android Studio" and make lots of Apps.If you have any questions then feel free to ask. I will try to answer as soon as possible.
0 comments :
Post a Comment