Skip to main content
New Participant
October 13, 2024
Solved

Sdk 33 error when building for store

I am getting the issue in unity 2023 and when i am building and launching the app directly by selecting build and run in unity with sdk set to 33 it launches perfectly. But when i am uploading it to the hub it says the minimum requirement is 32. So when i switch to sdk 32 then the build fails as some require sdk 33 for compilation. Any solution for this ? I am using Firebase and open xr.

    This topic has been closed for replies.
    New Participant
    October 20, 2024

    janvanhammer wrote:

    Have you tried updating the android manifest with the meta tools?


    I had to manually change the compile version to 33 while while selecting target sdk as 32. I had to even switch to unity 2022 from unity 2023.

    3 replies

    Inspiring
    October 20, 2024

    Have you tried updating the android manifest with the meta tools?

    rsquaregamesAuthorAnswer
    New Participant
    October 20, 2024

    janvanhammer wrote:

    Have you tried updating the android manifest with the meta tools?


    I had to manually change the compile version to 33 while while selecting target sdk as 32. I had to even switch to unity 2022 from unity 2023.

    Participant
    October 21, 2024

    I had the same problem with another Plugin requiering Andoid SDK Version 34.

    You can create a Custom Main Gradle Template and Custom Launcher Gradle Template where you can specify the compile and targetSDKversion. It worked for the last 2023 Unity Version. Should probably work with Unity 6 but the variables there are named differently.

    You might have a look at our solution:

    https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/2042