![]() For this, you have to connect your PC to the internet and you have to open your Android studio. In such a case, you have to download new files for Gradle. This issue will not be solved if the folder containing Gradle files is deleted or corrupted. Method 2: Sync your project with Gradle files ![]() For using this option navigate to the File option and then click on Invalidate Caches and Restart option you will get to see this option in the below screenshot.Īfter restarting your Android Studio the Gradle issue will be fixed. In this method, we will be restarting our project using Invalidate Caches and Restart option. Method 1: Restarting your project using Invalidate Caches and Restart option Method 3: Deleting and installing new Gradle files.Method 2: Sync your project with Gradle files.Method 1: Restarting your project using Invalidate Caches and Restart option.In this article, we will take a look at 3 different methods for solving this issue. ![]() So when you will start building your apps you will get to see an error in Android studio as ‘ Error running android: Gradle project sync failed. Some of the Gradle files may get deleted unexpectedly. Sometimes due to any issue or after formatting of your pc. It handles all the backend tasks and manages all the external dependencies which we will be going to use in building our Android Application. Gradle is one of the most important components of Android apps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |