Locating Android SDK root folder not working

I am a Mac user and when I clicked Build for my Unity Android game, it said “Trying to locate Android SDK root folder”.
Can someone tell me what folder I should select as my root folder?
I already tried using ~/Desktop/adt-bundle-mac/sdk as my root folder and it didn’t work.

I am having the same problem. Please share if you find any solution.

2 Answers

2

Hi paulaceccon Thanks for your reply.
I’ve downloaded sdk (mac sdk) then using sdk manager i’ve installed all packages upto latest revision. Now when i tried to build it from unity it ask for sdk location, i gave exact path but it crashed every time after few seconds. Please help me how todo all this setup?
Your help will be highly appreciated.

hope this helps you…another unity answer.

Error building Player: Exception: android (invokation failed) 

ERROR: unknown error cmd:android list target -c stdout;
stderr: Exception in thread “main” java.lang.NullPointerException at SDKMain.main(SDKMain.java:62)

Check your console for error log if u get the above console error then follow the steps.This fixed up me…