Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Resolved Empty project doesn't build

Discussion in 'Android' started by sentendo, Apr 19, 2024.

  1. sentendo

    sentendo

    Joined:
    Sep 23, 2014
    Posts:
    49
    I have just started a new project using the 2D mobile template.

    Switched version to Android, Unity 2022.3.25f1.

    I set up the icon and the splashscreen that's all. Then I build a test APK and:

     
  2. manugil

    manugil

    Unity Technologies

    Joined:
    Jan 13, 2020
    Posts:
    94
    Hey @sentendo, try setting the Target Api Level to 33 explicitly in the Player Settings and try again. If that doesn't work go to where your SDK is installed, in your case
    F:\Programs\Unity Editors\2022.3.25f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\cmdline-tools\6.0\bin\sdkmanager.bat


    run the command
    sdkmanager.bat --licenses
    and accept all.

    This issue looks like a problem with the hub, I'll make sure to report it.
     
  3. sentendo

    sentendo

    Joined:
    Sep 23, 2014
    Posts:
    49
    It worked! Thank you!