Thanks so much for this library. The official MediaInfoLib doesn't explicitly provide an Android Library even though they have an apk with it (and they have Windows/Mac DLLs).
I have been banging my head for days trying to get this .aar file to work in Unity 2022.3.62f2.
As far as I can tell, there are compatibility issues between this .aar and Unity's JDK.
The .aar requires / was build with Major Version 65 (Java 21), but Unity 2022 only allows Version 51 (Java 11).
I tried manually rebuilding the .aar from the source repo to no avail. I kept running into dependency issues or other problems I'm not familiar with.
Is there any chance we can get a library file that is compatible with Java 11? Any help or suggestions would be greatly appreciated. Thanks again!
Here are the main errors I see in the console:
1)
Execution failed for task ':launcher:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':launcher:debugRuntimeClasspath'.
> Failed to transform mediainfo-lib-v1.0.0-fix-.aar (:mediainfo-lib-v1.0.0-fix:) to match attributes {artifactType=android-aar-metadata, org.gradle.status=integration}.
> Execution failed for JetifyTransform: Path\To\Unity\Project\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\libs\mediainfo-lib-v1.0.0-fix.aar.
> Failed to transform 'Path\To\Unity\Project\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\libs\mediainfo-lib-v1.0.0-fix.aar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 65. (Run with --stacktrace for more details.)
Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)
Thanks so much for this library. The official MediaInfoLib doesn't explicitly provide an Android Library even though they have an apk with it (and they have Windows/Mac DLLs).
I have been banging my head for days trying to get this .aar file to work in Unity 2022.3.62f2.
As far as I can tell, there are compatibility issues between this .aar and Unity's JDK.
The .aar requires / was build with Major Version 65 (Java 21), but Unity 2022 only allows Version 51 (Java 11).
I tried manually rebuilding the .aar from the source repo to no avail. I kept running into dependency issues or other problems I'm not familiar with.
Is there any chance we can get a library file that is compatible with Java 11? Any help or suggestions would be greatly appreciated. Thanks again!
Here are the main errors I see in the console:
1)