Task :react-native-location:compileDebugJavaWithJavac FAILED while building apk

Viewed 17

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?

1 Answers

I was facing this issue while building my apk in react native. To solve this issue you need to:

1- cd android and then ./gradlew clean
2- then in your root directory run yarn jetify or npx jeify
Related