Код: Выделить всё
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration 'classpath'.
> Could not find lint-model-30.3.0.jar (com.android.tools.lint:lint-model:30.3.0).
> Searched in the following locations:
> https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-model/30.3.0/lint-model-30.3.0.jar
Код: Выделить всё
ext.kotlin_version = '1.9.20'
repositories {
google()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
Код: Выделить всё
[√] Flutter (Channel stable, 3.16.0, on Microsoft Windows [Version 10.0.19044.3324], locale fa-IR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.0)
[√] Android Studio (version 2022.2)
[√] VS Code, 64-bit edition (version 1.81.0)
[√] Connected device (4 available)
[√] Network resources
Я пытался создать новый проект, но произошла ошибка все еще существует, сборка Windows в порядке.
Я также пытался удалить кеш Gradle и кеш публикации, но это просто не сработало.
Подробнее здесь: https://stackoverflow.com/questions/790 ... -build-apk