react-native-exit-app icon indicating copy to clipboard operation
react-native-exit-app copied to clipboard

Upgrade gradle plugin

Open fabinzne opened this issue 3 years ago • 1 comments

So, i'm using this on my project and i'm having this issue when building the App:

A problem occurred configuring project ':react-native-exit-app'.
> Could not resolve all artifacts for configuration ':react-native-exit-app:classpath'.
   > Could not resolve com.android.tools.lint:lint-gradle-api:26.1.4.
     Required by:
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4
      > Could not resolve com.android.tools.lint:lint-gradle-api:26.1.4.
         > Could not get resource 'https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.4/lint-gradle-api-26.1.4.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.4/lint-gradle-api-26.1.4.pom'. Received status code 503 from server: Service Unavailable
   > Could not resolve com.google.guava:guava:22.0.
     Required by:
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:bundletool:0.1.0-alpha01
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:gradle-api:3.1.4
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.databinding:compilerCommon:3.1.4
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:common:26.1.4
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools.analytics-library:shared:26.1.4
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools.analytics-library:tracker:26.1.4
      > Skipped due to earlier error
   > Could not resolve com.google.errorprone:error_prone_annotations:2.1.2.
     Required by:
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:bundletool:0.1.0-alpha01
      > Skipped due to earlier error
   > Could not resolve org.ow2.asm:asm-tree:5.1.
     Required by:
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > org.ow2.asm:asm-analysis:5.1
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > org.ow2.asm:asm-commons:5.1
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > org.ow2.asm:asm-util:5.1
      > Skipped due to earlier error
   > Could not resolve com.google.code.gson:gson:2.7.
     Required by:
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.databinding:compilerCommon:3.1.4
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:bundletool:0.1.0-alpha01 > com.google.protobuf:protobuf-java-util:3.4.0
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:sdklib:26.1.4
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools.build:manifest-merger:26.1.4
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools.analytics-library:shared:26.1.4
      > Skipped due to earlier error
   > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.2.0.
     Required by:
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > org.jetbrains.kotlin:kotlin-stdlib-jre8:1.2.0
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:sdk-common:26.1.4 > org.jetbrains.kotlin:kotlin-reflect:1.2.0
      > Skipped due to earlier error
   > Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jre7:1.2.0.
     Required by:
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > org.jetbrains.kotlin:kotlin-stdlib-jre8:1.2.0
      > Skipped due to earlier error
   > Could not resolve net.sf.proguard:proguard-base:5.3.3.
     Required by:
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > net.sf.proguard:proguard-gradle:5.3.3
      > Skipped due to earlier error
   > Could not resolve com.google.guava:guava:22.0.
     Required by:
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:bundletool:0.1.0-alpha01 > com.google.protobuf:protobuf-java-util:3.4.0
      > Skipped due to earlier error
   > Could not resolve org.apache.httpcomponents:httpclient:4.2.6.
     Required by:
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:sdklib:26.1.4
      > Skipped due to earlier error
   > Could not resolve org.apache.httpcomponents:httpmime:4.1.
     Required by:
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:sdklib:26.1.4
      > Skipped due to earlier error
   > Could not resolve com.google.guava:guava:22.0.
     Required by:
         project :react-native-exit-app > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:sdklib:26.1.4 > com.android.tools:repository:26.1.4 > com.google.jimfs:jimfs:1.1
      > Skipped due to earlier error

So... Is there any chance to upgrade the version of this plugins that is crashing the build?

fabinzne avatar May 04 '22 15:05 fabinzne

Thinking more about this problem I notice that the lastest published on npm is using jcenter, is possible to publish a new version with mavenCentral?

image

fabinzne avatar May 04 '22 15:05 fabinzne

should be fixed in v2

wumke avatar Jun 27 '23 07:06 wumke