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

后端 未结 9 1622
孤城傲影
孤城傲影 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 13:52

    It's because the path length has exceeded the maximum value. You do not have to move your project elsewhere. Just open a shell in the root directory of your hard drive and make a junction to your project:

    D:\a\very\long\path\to\your\project

    cd \ mklink /j project D:\a\very\long\path\to\your\project cd project You can now make the building process without a pain

提交回复
热议问题