react-native-geocoder
react-native-geocoder copied to clipboard
Lint error
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':react-native-geocoder:lint'.
Lint found errors in the project; aborting build.
InvalidPackage: Package not included in Android
../../../../../../../.m2/repository/com/squareup/okio/okio/1.9.0/okio-1.9.0.jar: Invalid package reference in library; not included in Android: java.nio.file. Referenced from okio.Okio.
to fix this you can add in build.gradle
lintOptions {
disable 'InvalidPackage'
}
or just add this in your build.gradle,
android { lintOptions { abortOnError false } }
@udaymenon173 It's is wrong to not use lint. I like lint to abort build if its have errors