You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 4, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 4, 2021. It is now read-only.
Hi guys, how are u?
I started to use react-native-geocoder, but, when I start to create an assembleRelease, I got this error. Someone can help? Thanks a lot.
FAILURE: Build failed with an exception.
What went wrong:
Could not resolve all files for configuration ':react-native-geocoder:lintClassPath'.
Could not find com.android.tools.lint:lint-gradle:26.1.2.
Searched in the following locations:
file:/C:/Users/thoma/AppData/Local/Android/Sdk/extras/m2repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.pom
file:/C:/Users/thoma/AppData/Local/Android/Sdk/extras/m2repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.jar
file:/C:/Users/thoma/AppData/Local/Android/Sdk/extras/google/m2repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.pom
file:/C:/Users/thoma/AppData/Local/Android/Sdk/extras/google/m2repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.jar
file:/C:/Users/thoma/AppData/Local/Android/Sdk/extras/android/m2repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.pom
file:/C:/Users/thoma/AppData/Local/Android/Sdk/extras/android/m2repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.jar
file:/C:/Users/thoma/.m2/repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.pom
file:/C:/Users/thoma/.m2/repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.jar https://jcenter.bintray.com/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.pom https://jcenter.bintray.com/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.jar
file:/C:/Users/thoma/Desktop/Complemento/otrs.ReactNativeAgentApp/node_modules/react-native/android/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.pom
file:/C:/Users/thoma/Desktop/Complemento/otrs.ReactNativeAgentApp/node_modules/react-native/android/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.jar
Required by:
project :react-native-geocoder
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
I fixed this issue by making sure the defaultConfig values where the same as they are in my app build.gradle, my build.gradle in react-native-geocoder/android/build.gradle looks like this:
Activity
sachinletsgo commentedon May 29, 2018
Any solution ?
sachinletsgo commentedon May 29, 2018
I found its solution.
moulie415 commentedon Jul 29, 2018
I fixed this issue by making sure the defaultConfig values where the same as they are in my app build.gradle, my build.gradle in react-native-geocoder/android/build.gradle looks like this: