Isabelle Brandelero
Isabelle Brandelero

Reputation: 45

Error when building an android APK in Unity3D

Might not be an error, maybe it's just me being kinda slow, but once I click on build, on the usual menu, as the image below shows...enter image description here

Unity asks me to select "something" in my computer, which is weird, it doesn't lets me select a file, or a program, or anything. It's really really weird because I can't select anything. Once I close the window it gives me an error that no Android SDK could be found, also weird since I downloaded it from android's website and installed it properly. What could it be?

Upvotes: 1

Views: 137

Answers (1)

Alan Vieira Rezende
Alan Vieira Rezende

Reputation: 412

If you installed the Android Studio is easier to set up.

On Android Studio, follow these steps:

Tools > Android > SDK Manager

enter image description here

Now at new window copy the address from which this SDK (Android SDK location)

enter image description here

At unity go to:

Edit > preferences

enter image description here

At new windown (Unity preferences) go to tab External Tools

Paste andress from SDK location at the SDK place

enter image description here

If you have not Studio but have installed the SDK, you should look where this installed, find the SDK folder, copy this address and puts it in the Unity preferences> External Tools> SDK.

Upvotes: 3

Related Questions