Android Studio Encounter Gradle Sync Error
Asked By
30 points
N/A
Posted on - 06/18/2019
While syncing my project in the Android Studio I encountered gradle sync error which is not allowing the app to be in build state. How can I fix it?
While syncing my project in the Android Studio I encountered gradle sync error which is not allowing the app to be in build state. How can I fix it?
Open android studio go to the files ->settings -> build, execution, deployment ->gradle
In the gradle the version of gradle is set to default change it to local gradle distribution and then set the gradle path of your directory and the correct version as per the version of android studio.
Other then this you can go into the directory where you have stored your android studio folder and go to your gradle delete the folder and add gradle of your requirement. This always works!!