Describe the issue
I have recently upgraded to AVPro Video Player 3.0.1. When doing an Android build, I am told I need to set the target to Android API 33, but my production environment (Quest 2 and Quest 3, App Lab), require target API level to be 32.
Output from build is:
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':launcher:checkReleaseAarMetadata'.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
The minCompileSdk (33) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-32).
Dependency: :media3-container:.
AAR metadata file: /Users/aaron/.gradle/caches/transforms-2/files-2.1/a0f5c67d434e1cef18989cd6f867320b/media3-container/META-INF/com/android/build/gradle/aar-metadata.properties.
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.
Describe the issue I have recently upgraded to AVPro Video Player 3.0.1. When doing an Android build, I am told I need to set the target to Android API 33, but my production environment (Quest 2 and Quest 3, App Lab), require target API level to be 32.
Output from build is:
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':launcher:checkReleaseAarMetadata'.
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
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun () (at /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPlayerWindow.cs:181)
Your Setup (please complete the following information):
To Reproduce
Logs If applicable, add error logs to help explain your problem.
Screenshots If applicable, add screenshots to help explain your problem.
Videos If applicable, add a copy of your video or the URL