react-native-zoom-us
react-native-zoom-us copied to clipboard
error when add shrinkResources = true in build.gradle
Hi, after adding this lib my project size increased from 58MB to 670MB. to reduce the size, i followed the instruction as given in README.md
but now i am not able to build the release apk. it is throwing the following error
`Execution failed for task ':app:shrinkReleaseRes'.
A failure occurred while executing com.android.build.gradle.internal.transforms.ShrinkProtoResourcesAction ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog.`
i am using
"react-native": "0.72.4", "react-native-zoom-us": "^6.18.0"
I got the same issue, "react-native": "0.71.10", "react-native-zoom-us": "^6.18.1"
Looks like we need to update the guide on shrinking - https://github.com/mieszko4/react-native-zoom-us/blob/e2fe546f2ffe1992cb6ed4bc779897e28a436718/docs/SIZE-REDUCTION-TIPS.md