Fix build failing with gradle 6.5+#43
Open
gabrieljoelc wants to merge 1 commit intomadsleejensen:masterfrom
Open
Fix build failing with gradle 6.5+#43gabrieljoelc wants to merge 1 commit intomadsleejensen:masterfrom
gabrieljoelc wants to merge 1 commit intomadsleejensen:masterfrom
Conversation
Got this error until I added this locally:
```
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':react-native-image-sequence'.
> Could not resolve all artifacts for configuration ':react-native-image-sequence:classpath'.
> Could not find com.android.tools.build:gradle:4.1.3.
Searched in the following locations:
- https://jcenter.bintray.com/com/android/tools/build/gradle/4.1.3/gradle-4.1.3.pom If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration. Required by:
project :react-native-image-sequence
```
with root `build.gradle`:
```
classpath 'com.android.tools.build:gradle:4.1.3'
```
and this root `gradle-wrapper.properties`
```
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-all.zip
```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Got this error until I added this locally:
with root
build.gradle:and this root
gradle-wrapper.properties