I tried to follow @mariaiffonseca, but I get an error every time when it tries to build the library I get the following error message: Creating Android archive under prebuilt: failed
. Moreover, follow below some log messages:
> Task :ffmpeg-kit-android-lib:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':ffmpeg-kit-android-lib:compileReleaseJavaWithJavac'.
> Could not resolve all files for configuration ':ffmpeg-kit-android-lib:androidJdkImage'.
> Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JdkImageTransform: /Users/rca/Library/Android/sdk/platforms/android-33/core-for-system-modules.jar.
> Error while executing process /Users/rca/Library/Java/JavaVirtualMachines/corretto-21.0.5/Contents/Home/bin/jlink with arguments {--module-path /Users/rca/.gradle/caches/transforms-3/ef45e0af4d32a105d29fb530a1beed17/transformed/output/temp/jmod --add-modules java.base --output /Users/rca/.gradle/caches/transforms-3/ef45e0af4d32a105d29fb530a1beed17/transformed/output/jdkImage --disable-plugin system-modules}
* 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.