Unity hangs when attempting to build for Android

When I start Unity I get the following warning:

Set-up Android SDK path to make
Android remote work

When I build for Android I get a popup prompting me to locate the Android SDK. I selected:

C:\Program Files (x86)\Android\android-sdk

The progress bar is stuck at about 10% with the message

Trying to to locate the Android SDK
installation folder.

I’m not sure what is wrong with it, it built once yesterday sucessfully, then ever since I get this.

I have tried reinstalling Unity and I still get this problem. This is immensely frustrating, if anyone could offer some guidance it would be greatly appreciated.

2 Answers

2

Answer found here:

Glad to hear you found the answer Petroz

Im sure you’ve tried this but just take a look incase you may have missed something

If all this is fine then I haven’t got a clue but good luck maybe someone else can help!

Also you could try reinstalling the SDK if you haven't already?

Thanks for the reply, I followed that guide when I installed the SDK. I guess I'll try reinstalling the android SDK as well. This is really annoying.

Sorry I couldn't be of more help mate! Good luck!

Not a problem, thanks for the suggestions. I stumbled across this question which looks similar: http://answers.unity3d.com/questions/56305/android-building-bug-trying-to-locate-android-sdk.html I'll give that a go once the Android SDK finishes installing.

Thanks, I shall try it in a while and notify you if it works or doesn't. Thanks a lot really.