Android SDK error build
Hi i use unity 5.6 and i made a game for android but when i try to build it, it show me an error! i have sdk installed and also jdk, i tried to dowload and install it again both but nothing works, thank you
also console showed me this: Error:Invalid command android
UnityEditor.HostView:OnGUI()
CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details. C:/Program Files/Java/jdk1.8.0_121\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Users/santy/AppData/Local/Android/sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -
Error building Player: CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details. C:/Program Files/Java/jdk1.8.0_121\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Users/santy/AppData/Local/Android/sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -
Did anyone found the solution?...@santy1997 ,@soundmartell
I am experiencing the same problem, been working on it for 2 days, no solution in sight. I tried downgrading to different versions of unity, android sdk tools, even completely reinstalling JD$$anonymous$$, android sdk and various combinations of the above.
Answer by soundmartell · Apr 13, 2017 at 10:33 PM
Hello, I have the same issue. Did you find any solution? I have been trying to find answer but nothing found it. Best regards.
Answer by wookiepeter · Apr 21, 2017 at 06:49 PM
Same Issue (Tried to Build for Android 6.0 and 4.4)
Answer by XProMazen · May 08, 2017 at 04:29 PM
i also have the same problem ? please tell me if you have the answer
Your answer
Follow this Question
Related Questions
I cannot build to android Unity 2017.1.1f1 (Unable to List Target Platforms) 4 Answers
Can't build android application 1 Answer
Android build error 1 Answer
Unity 2019.2 can't locate ndk or use ndk 0 Answers
SDK Tools not working 1 Answer