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

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

    If no error messages are shown: sometimes the command-line gradle shows them. Just go the the command-line, change to the app directory and type

    gradle installDebug
    

    or, if the details are missing

    gradle --info installDebug
    

    This can provide additional information how to debug the problem.

提交回复
热议问题