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 ools” -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 ools” -Dfile.encoding=UTF8 -jar “C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar” -
HELLO, i have the same problem and tried 3 version of unity with 3 version of android and java sdk still stuck.
if anyone found a solution pls write in here.