Answer the question
In order to leave comments, you need to log in
Could not find com.android.tools.build:gradle:4.1.1.?
I can't build applications in react native.
What have already tried:
npx react-native init projectName
use Android Plugin version 4.1.2 is used , I do not understand why this happens, because there is no such version in this list. If there is an understanding about how Gradle is different, Android Gradle Plugin, Gradle Wrapper, familiar with the documentation , also tried to use the latest version of Gradle v. 6.8.2 and Android Gradle Plugin v. 4.1.2, it also didn't help to make build.Could not find com.android.tools.build:gradle:4.1.1.
Searched in the following locations:
- https://jcenter.bintray.com/com/android/tools/build/gradle/4.1.1/gradle-4.1.1.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-settings
Add google Maven repository and sync project
Open File
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question