Failed to crunch file - Android studio (app:mergeDebugResources)

后端 未结 9 1584
孤城傲影
孤城傲影 2020-12-08 13:15

i am currentyl trying to implement Google ActivityRecognitionApi. However i get following errors:

Error:Failed to crunch file C:\\Users\\marschall\\

相关标签:
9条回答
  • 2020-12-08 14:17

    which means that the path is too long to reach that particular file. make sure that your project is placed under the parent directory(do not go greater than 4 levels ).

    example:

    C:\Users\marschall\Desktop\googlesamples-android-play-location-2ed2964\ActivityProject

    instead use :

    C:/your project directory/your project file

    the best practice is keep the project as easily available to the compiler.

    0 讨论(0)
  • 2020-12-08 14:18

    Had the same problem. Move your project into a higher directory (like C:).

    Android Studio 2.2 Google play services sync Error

    0 讨论(0)
  • The length of the path\file name (the count of all characters in the name)has crossed the maximum limit. This is happening because a combination of length of file name and the multiple nested folder levels.

    0 讨论(0)
提交回复
热议问题