Обнаружена проблема с настройкой задачи «:flutter:bundleDebugAar» (тип «BundleAar»).
Gradle обнаружил проблему со следующим местоположение: 'G:\WORK\Android\Veels Plus\vp_fuelin-NewManager2.0AndNewOperator\flutter\my_flutter.android\Flutter\build\intermediates\library_assets\debug\out'.
Reason: Task ':flutter:bundleDebugAar' uses this output of task ':flutter:copyFlutterAssetsDebug' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Java версия: 21.0.5,
GradleВерсия — 8.5.
gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
build.gradle
// Generated file. Do not edit.
buildscript {
ext.kotlin_version = '1.7.10'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
// Conditional for compatibility with AGP
Подробнее здесь: https://stackoverflow.com/questions/793 ... id-project