Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Build failure with mergeDebugJniLibFolders #102

@clehner

Description

@clehner
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions