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

前端 未结 30 3200
南方客
南方客 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:55

    I encountered this in a unique situation: had refactored the word "time" to "distance" for one of my variables. And when I did the refactor, accidentally had it change the name of one of my gradle dependencies / implementations.

    This is a rare cause of the error, but a possibility. So make sure all your dependencies are properly implemented in build.gradle

提交回复
热议问题