Open PrimaelQuemerais opened 1 month ago
Usually, NDK related toolchains such as ninja seems to be downloaded automatically during build process. I don't know why it does not work automatically. Did you accept all the NDK license terms?
I'm having a similar problem.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':pdfrx:mergeDebugNativeLibs'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction
> 2 files found with path 'lib/arm64-v8a/libpdfium.so' from inputs:
- /Users/leonardoferreira/Development/Gupy/educorp-app/build/pdfrx/intermediates/merged_jni_libs/debug/out/arm64-v8a/libpdfium.so
- /Users/leonardoferreira/Development/Gupy/educorp-app/build/pdfrx/intermediates/cxx/Debug/1w6i36b2/obj/arm64-v8a/libpdfium.so
If you are using jniLibs and CMake IMPORTED targets, see
https://developer.android.com/r/tools/jniLibs-vs-imported-targets
pdfrx version:
pdfrx: ^0.4.51
Flutter doctor:
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.4.1 23E224 darwin-arm64, locale pt-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.89.0)
[✓] Connected device (4 available)
[✓] Network resources
I'm running into this error when trying to build using a GitHub Action. Building locally works fine.
I tried :
I'm running out of ideas, any chance you would know how to fix it? Thank you for your help!