We are getting this error and seems to be a permission issue but we cannot find a way to bypass that. We are using latest 0.10 version.
Error: Failed to crunch file C:\Projects\Projectnode_modules\react-native-google-signin\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\10.2.1\res\drawable-hdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png into C:\Projects\Projectnode_modules\react-native-google-signin\android\build\intermediates\res\merged\androidTest\debug\drawable-hdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png
Any help appreciated.
This is Windows's famous file path character limit issue.
What can I do about this ?
you can change your build directory of your project. In your project-level build.gradle add buildDir definition:
allprojects {
buildDir = 'C:\\tmp\\'
repositories {
}
}
Please follow @okarakose tip.
re-open this issue if it is still a problem.
Most helpful comment
This is Windows's famous file path character limit issue.
http://stackoverflow.com/questions/1880321/why-does-the-260-character-path-length-limit-exist-in-windows
What can I do about this ?
you can change your build directory of your project. In your project-level build.gradle add buildDir definition: