Я новичок в реакции на родную и android разработку. В настоящее время я хочу создать APK, но я столкнулся с этой ошибкой.
** FAILURE: сборка завершилась с исключением. * Что пошло не так: не удалось определить зависимости задачи ': app: lintVitalRelease'.
Не удалось разрешить все зависимости задачи для конфигурации ': app: releaseRuntimeClasspath'. Не удалось разрешить проект: response-native-cookies. Требуется: project: app Невозможно найти подходящую конфигурацию проекта: response-native-cookies: Ни одна из потребляемых конфигураций не имеет атрибутов. **
В файле build.gradle
release {
signingConfig signingConfigs.release
matchingFallbacks = ['release', 'debug']
}
}
dependencies {
implementation project(':react-native-cookies')
implementation project(':react-native-clear-app-cache')
implementation project(':react-native-vector-icons')
implementation project(':react-native-image-picker')
implementation project(':react-native-linear-gradient')
implementation project(':react-native-gesture-handler')
implementation project(':react-native-reanimated')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
implementation "com.facebook.react:react-native:+" // From node_modules
implementation project(':react-native-orientation')
}
В файле app / build.gradle
buildscript {
ext {
buildToolsVersion = "28.0.3" //28.0.3
minSdkVersion = 16
compileSdkVersion = 28 //28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
Я не знаю, как решить, поскольку я много раз пытался изменить buildToolsVersion, buildTypes и так далее. Есть идеи, чтобы решить эту проблему? Пожалуйста, помогите.