Код: Выделить всё
D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "
" is null
Код: Выделить всё
Execution failed for DexingNoClasspathTransform: /home/john/Music/flutter_application/build/image_picker_android/intermediates/runtime_library_classes_dir/debug.
> Error while dexing.
Я запускаю его с помощью :
Код: Выделить всё
Flutter 3.24.0 • channel stable • https://github.com/flutter/flutter.git
Java version: openjdk 21.0.4 2024-07-16
Gradle version 8.5
Firebase version 13.15.2
Код: Выделить всё
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.example.flutter_application"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = 24
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
multiDexEnabled true
}
Подробнее здесь: https://stackoverflow.com/questions/788 ... ld-android