react-native-geocoder icon indicating copy to clipboard operation
react-native-geocoder copied to clipboard

Lint error

Open sytolk opened this issue 8 years ago • 2 comments

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'
}

sytolk avatar Apr 19 '17 13:04 sytolk

or just add this in your build.gradle,

android { lintOptions { abortOnError false } }

udaymenon173 avatar Jul 19 '17 10:07 udaymenon173

@udaymenon173 It's is wrong to not use lint. I like lint to abort build if its have errors

sytolk avatar Jul 19 '17 12:07 sytolk