Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

SDK build Tools version 20 < 23

Discussion in 'Android' started by Mazer83, Apr 6, 2017.

  1. Mazer83

    Mazer83

    Joined:
    Mar 14, 2016
    Posts:
    19
    Hi there, I'm trying to build for Android, but it gives me the error: "SDK build Tools version 20 < 23"
    It gives me the option to update, but that's useless,

    Things I tried to do to fix this:

    Downloaded the sdk version 23 API using the SDK manager.
    Made sure Unity knew the correct path to the Android SDK.

    I don't know what else to do.

    My unity version is 5.5.0f3

    Edit: I tried to just hit: "Continue", but now it says: "Moving file failed"

    Moving Temp/StagingArea/Data to Temp/StagingArea\assets\bin\Data: Access is Denied.
    I'm running Unity as administrator.

    I tried doing a "build and run" with a device connected, it tells me I need to name the bundle:

    com.companyname.productname, so I do that, and it still gives me the error.

    Has anyone succeeded at building for Android in Unity 5.5?
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,559
    Can you please post the full error message (from the editor log) ? I will be able to assist better after i see that.

    It can also be helpful to see the full editor log, as the build process outputs some of the "decisions" it takes like where your Android SDK is installed, what JDK its using, etc.
     
  3. Mazer83

    Mazer83

    Joined:
    Mar 14, 2016
    Posts:
    19
    *** Cancelled 'Build.Player.AndroidPlayer' in 29 seconds (29400 ms)

    That's not very helpful.
     
  4. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,559
    That is not the full editor log file. You should quit the editor, relaunch it and repeat the build scenario.

    Once it fails, get the log (see the path to it here).
     
  5. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    1,165
    > My unity version is 5.5.0f3
    Please use the latest patch release.
    And update your Android SDK Build tools.
     
  6. Mazer83

    Mazer83

    Joined:
    Mar 14, 2016
    Posts:
    19
    That's weird, it just suddenly stopped giving me that error. It told me to name my company in the player settings instead. The company name I had put started with a number, which is a no-no.
     
  7. ahmedaniss

    ahmedaniss

    Joined:
    Sep 18, 2019
    Posts:
    98
    problem fixed here :