* What went wrong:
Execution failed for task ':react-native-mapbox-gl_maps:lintDebug'.
Lint found errors in the project; aborting build.
Fix the issues identified by lint, or create a baseline to see only new errors:
android {
lint {
baseline = file("lint-baseline.xml")
}
}
For more details, see https://developer.android.com/studio/write/lint#snapshot
Lint found 2 errors, 51 warnings. First failure:
C:\Users\santo\OneDrive\Documentos\Geobyte\geobyteMaps\node_modules\@react-native-mapbox-gl\maps\android\rctmgl\src\main\AndroidManifest.xml:3: Error: If you need access to FINE location, you must request both ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION [CoarseFineLocation] <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Explanation for issues of type "CoarseFineLocation":
If your app requires access to FINE location, on Android 12 and higher you
must now request both FINE and COARSE. Users will have the option to grant
only COARSE location. Ensure your app can work with just COARSE location.
I tryied almost everything to solve this problem, but notthing works, what can I do?
My AndroidManifest.xml:
Hi, I'm getting this problem:
I tryied almost everything to solve this problem, but notthing works, what can I do? My AndroidManifest.xml:
My build.gradle: