I found out the same happens using path_provider: https://github.com/flutter/flutter/issues/156558#issuecomment-2446956094
solution summary:
`gradle-wrapper.properties`:
```
# distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
# Updated to 8.9
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
```
`settings.gradle`:
```
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
/// id "com.android.application" version "8.1.0" apply false
/// Updated to 8.7.1
id "com.android.application" version "8.7.1" apply false
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
}
```
Notes added here: https://github.com/tekartik/sqflite/blob/master/sqflite/doc/troubleshooting.md#could-not-resolve-all-files-for-configuration-sqflite_androidandroidjdkimage
*(unfortunately there is not much I can to on my side to prevent this issue, maybe the flutter android template should be upgraded)*
I found out the same happens using path_provider: https://github.com/flutter/flutter/issues/156558#issuecomment-2446956094
solution summary:
`gradle-wrapper.properties`:
```
# distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
# Updated to 8.9
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
```
`settings.gradle`:
```
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
/// id "com.android.application" version "8.1.0" apply false
/// Updated to 8.7.1
id "com.android.application" version "8.7.1" apply false
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
}
```
Notes added here: https://github.com/tekartik/sqflite/blob/master/sqflite/doc/troubleshooting.md#could-not-resolve-all-files-for-configuration-sqflite_androidandroidjdkimage
*(unfortunately there is not much I can to on my side to prevent this issue, maybe the flutter android template should be upgraded)*