Код: Выделить всё
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\\Documents\
\android\app\build.gradle' line: 1
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin 'com.android.internal.application'.
> Failed to create service 'com.android.build.gradle.internal.services.AndroidLocationsBuildService_e39ed2c7-9f9c-4315-bc2a-ef27a3dfa2ae'.
> Could not create an instance of type com.android.build.gradle.internal.services.AndroidLocationsBuildService.
> Could not create provider for value source AndroidLocationsBuildService.AndroidDirectoryCreator.
Код: Выделить всё
buildscript {
ext {
buildToolsVersion = "35.0.0"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 34
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.24"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
}
}
apply plugin: "com.facebook.react.rootproject"
Код: Выделить всё
java version "18.0.2.1" 2022-08-18
Java(TM) SE Runtime Environment (build 18.0.2.1+1-1)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.2.1+1-1, mixed mode, sharing)
Есть идеи?
Подробнее здесь: https://stackoverflow.com/questions/791 ... -source-an
Мобильная версия