I’m trying to build my apk & I’m getting this error while building my release apk in react native. Is there any way to fix this react-native-location error?
Question posted in React native
The official React Native documentation can be found here.
The official React Native documentation can be found here.
2
Answers
I was facing this issue while building my apk in react native. To solve this issue you need to:
In my project, with React Native 0.71.0, I got this error due to package android.support.annotation. So I followed the instructions provided here and added a patch (trough patch-package) to update the react-native-location source code. So here is the final result, under
patches/react-native-location+2.5.0.patch