Skip to content

[Android] Cannot create build for META VR platform after updating AVPro #2430

@RileyThinkDigital

Description

@RileyThinkDigital

Unity version

6000.3.1f1

Unity editor platform

Windows

AVPro Video edition

Core

AVPro Video version

3.3.5

Device hardware

Quest 3

Which Android OS version are you using?

14

Unity Graphics API

Vulkan

Video API

media3/ExoPlayer

Texture format

BGRA

Audio output

Unity

Any other Media Player component configuration required to reproduce the issue.

No response

Which output component(s) are you using?

No response

Any other component configuration required to reproduce the issue.

No response

The issue

I can not get Unity to build after updating AVPro as it is giving me the error of
`Dependency 'androidx.media3:media3-exoplayer-dash:1.8.0' requires libraries and applications that
depend on it to compile against version 35 or later of the
Android APIs.

       :launcher is currently compiled against android-34.
 
       Recommended action: Update this project to use a newer compileSdk
       of at least 35, for example 36.
 
       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).`

Meta requires a target of android 14(34) so I cannot upgrade to 15 if I want to put it on the store. I can generate a build using 15 and sideload it but that is not enough right now.

I understand this is likely user error on my part but I have completely hit a wall on how to get around it
Any advice would be really helpful

Media information

No response

Logcat output

Metadata

Metadata

Assignees

Labels

AndroidAndroid platformtriageNeeds triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions