Skip to content
This repository was archived by the owner on Sep 4, 2021. It is now read-only.
This repository was archived by the owner on Sep 4, 2021. It is now read-only.

Problem on execute gradlew assembleRelease #74

Open

Description

@forster-thomas

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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 42s
47 actionable tasks: 4 executed, 43 up-to-date

Activity

  1. sachinletsgo commented on May 29, 2018

    @sachinletsgo

    Any solution ?

  2. sachinletsgo commented on May 29, 2018

    @sachinletsgo

    I found its solution.

  3. moulie415 commented on Jul 29, 2018

    @moulie415

    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:

    defaultConfig {
               minSdkVersion 16
               targetSdkVersion 25
               versionCode 1
               versionName "1.0"
               ndk {
                 abiFilters "armeabi-v7a", "x86"
              }
          }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions