Error running android: Gradle project sync failed. Please fix your project and try again

前端 未结 30 3148
南方客
南方客 2020-11-30 18:32

Android Studio (1.2 RC0) keeps telling me Error running android: Gradle project sync failed. Please fix your project and try again. How can I find out what th

30条回答
  •  抹茶落季
    2020-11-30 19:01

    I ran into the same issue, but then did the following, and my issue was resolved:

    • updated Gradle
    • installed the latest version of Android studio (mine was out of date)

    And that solved my problem.

    Note: It also helped me to click on the event log, because it has more detailed info about errors. https://developer.android.com/studio/releases/gradle-plugin#updating-plugin also has great info.

提交回复
热议问题