This repository was archived by the owner on Jul 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
Build failure with mergeDebugJniLibFolders #102
Copy link
Copy link
Closed
Description
- Misc build fixes #101
- Flutter (Channel main, 3.1.0-0.0.pre.1066, on Debian GNU/Linux bookworm/sid 5.15.0-3-amd64, locale C.UTF-8)
- Android toolchain - develop for Android devices (Android SDK version 30.0.3)
$ flutter run
"fr": 5 untranslated message(s).
To see a detailed report, use the untranslated-messages-file
option in the l10n.yaml file:
untranslated-messages-file: desiredFileName.txt
<other option>: <other selection>
This will generate a JSON format file containing all messages that
need to be translated.
Launching lib/main.dart on [...] in debug mode...
Warning: The plugin qr_code_scanner requires Android SDK version 32.
For more information about build configuration, see https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
One or more plugins require a higher Android SDK version.
Fix this issue by adding the following to /home/cel/src/credible/android/app/build.gradle:
android {
compileSdkVersion 32
...
}
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':didkit:mergeDebugJniLibFolders'.
> java.lang.NullPointerException (no error message)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Running Gradle task 'assembleDebug'... 2,110ms
Exception: Gradle task assembleDebug failed with exit code 1
didkit targets are built:
$ ls -lL lib/android/didkit/src/main/jniLibs/*/libdidkit.so
-rwxr-xr-x 1 cel cel 13237776 Jun 2 13:49 lib/android/didkit/src/main/jniLibs/arm64-v8a/libdidkit.so
-rwxr-xr-x 1 cel cel 9391496 Jun 2 13:46 lib/android/didkit/src/main/jniLibs/armeabi-v7a/libdidkit.so
-rwxr-xr-x 1 cel cel 16317080 Jun 2 13:44 lib/android/didkit/src/main/jniLibs/x86/libdidkit.so
-rwxr-xr-x 1 cel cel 15621520 Jun 2 13:51 lib/android/didkit/src/main/jniLibs/x86_64/libdidkit.so
$ ls -lL lib/flutter/android/src/main/jniLibs/*/libdidkit.so
-rwxr-xr-x 1 cel cel 13237776 Jun 2 13:49 lib/flutter/android/src/main/jniLibs/arm64-v8a/libdidkit.so
-rwxr-xr-x 1 cel cel 9391496 Jun 2 13:46 lib/flutter/android/src/main/jniLibs/armeabi-v7a/libdidkit.so
-rwxr-xr-x 1 cel cel 15621520 Jun 2 13:51 lib/flutter/android/src/main/jniLibs/x86_64/libdidkit.so
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels