
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}"
...
}
网友评论