Unity 2017.2 CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details.
HI, I have installed Unity 2017.2 and latest android platform tools, but I am getting error.
CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details.
then I tried changing JDK to 7 and 8 , same issue. then I installed platform tools 25.2.3 and 25.2.5 nothing helped though incase of 25.2.3 and JDK 8 I was able to create APK but it crashed on my android phone.
I am loosing all hope and downgrading to 5.6. But I wonder are there anyone who is facing same isseu
This worked for me: 1. Leave the original Android tools 2. Install Java SD$$anonymous$$ 8.0.151 3. Remember to change the path to the new SD$$anonymous$$ in the Edit->Preferences-> external Tools !!!
And that's it. Should be working fine.
Good luck.
Answer by arthuro689x · Nov 01, 2017 at 08:07 PM
Try this, it worked for me: http://answers.unity3d.com/answers/1416835/view.html I have android studio 3 and SDK Up to date. just get the tools zip. and follow the instructions and lastest JDK 8.151
Answer by TheMaster001 · Feb 28, 2018 at 08:05 PM
I did this and it worked fine. In the preferences tab , under external tools then I used the path C:/Program Files (x86)/Android/android-sdk and it worked fine,I solved mine by pointing to this path in the preferences C:/Program Files (x86)/Android/android-sdk and it worked
Your answer
Follow this Question
Related Questions
Changing from PC to Android platform hangs indefinitely, Unity 5 only. 1 Answer
Platform set to All for contents in Assets/Plugins/Android folder on Unity 5.4 1 Answer
What's the latest version of Unity that supports Android 4.2? 1 Answer
Anyone here experience differences in script behaviour between iOS and Android? 0 Answers
Rename code inside platform dependent compilation region 0 Answers