failed to crunch file

2017-11-20  本文已影响0人  sunny_01

Failed to crunch file means studio can't process the file as the file path has reached the max file path length of the operating system.  for windows

->Crude way  to solve it is move the project to some folder in the root of your drive, so in this case.

->Better way  is to change the build directory of your project in your  build.gradlefile (Project gradle file)

allprojects {  

buildDir  "C:/tmp/${rootProject.name}/${project.name}"

...

}

上一篇下一篇

猜你喜欢

热点阅读