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

前端 未结 30 3145
南方客
南方客 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 18:52

    Just ignore the error and try running the project anyway. It will fail, but this time you will get a link in the error description. Clicking the link will trigger the automatic update/download of the outdated/missing component.

    In my scenario, the project failed to launch two times, each time another API/SDK component being the culprit.

    In my case I was just trying to launch a sample project I downloaded, having no clue what API level was being targeted or where to look for this information.

提交回复
热议问题