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

后端 未结 9 1630
孤城傲影
孤城傲影 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.

提交回复
热议问题