Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Build and Run Issue

Discussion in 'Android' started by HungPark, Aug 12, 2018.

  1. HungPark

    HungPark

    Joined:
    Feb 28, 2017
    Posts:
    81
    Hi,
    I made a 2D Android game with Unity2017.3.1f1. It works very well on my desktop and on Android device(SamSung Galaxy5). Android SDK was already installed via Command line only. But when I click
    "Build and Run" and try to save the apk file, the Build Failure pop-up window says:

    "Unable to resolve build tools directory. See the console for details."

    But, there is nothing in console. It is clean.
    How to fix this issue? Your help will be very appreciated.
     
  2. HungPark

    HungPark

    Joined:
    Feb 28, 2017
    Posts:
    81
    Hi,

    I resolved this issue thanks to the help from Unity QA team.

    It is simple.

    I replaced "android platform-tools" that I have used by Android Studio.

    Thanks.
     
  3. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    What did you replace it with?