Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
rsquaregames's avatar
rsquaregames
Honored Guest
1 year ago
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.

  • rsquaregames's avatar
    rsquaregames
    1 year ago

    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

Replies have been turned off for this discussion
    • rsquaregames's avatar
      rsquaregames
      Honored Guest

      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.

      • fgnch's avatar
        fgnch
        Explorer

        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