Just as the title says it gives me an error whenever i try to build for Android. Here’s the error:
it also gives me this :
Please make sure the android sdk path is correct. See the Console for more details.
C:/Program Files (x86)/Java/jdk1.8.0_111\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir=“C:/Users/Laurynas/AppData/Local/Android/sdk ools” -Dfile.encoding=UTF8 -jar “D:\UNITY!!\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar” -
I DO have SDK and JDK 8 installed , i have linked them in unity (external tools). I’ve reinstalled SDK about 5 times now. this thing is just killing me…
Im running Unity 5.4.3f1 On windows 8.1.
I cant find the fix ANYWHERE i’ve been looking for it for about 4 days now. Please help im getting desperate!!
Once you download the “tools” folder.
Then copy it and replace it in “/Users/username/Library/Android/sdk”.
And try again…
I know this is not written well…but if you are struggling a lot …if will just give you an correct hint. I struggled a lot for this issue…so wanted to help you all.
Thank you…
Are you sure you followed all the steps in the installation of the SDK?
“In step 4 of Installing the SDK, be sure to add at least one Android platform with API level equal to or higher than 9 (Platform 2.3 or greater), the Platform Tools, and the USB drivers if you’re using Windows.”
Here’s what the paths in External Tools look in my pc:
here’s a quick video on how to fix this error, also make sure you have java jdk version 8
Like shrinath-kopare said in an earlier post you have to download an earlier version of the sdk tool folder
Error is:
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 (x86)/Java/jdk1.8.0_121\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir=“C:/Users/goktug3D/AppData/Local/Android/sdk ools” -Dfile.encoding=UTF8 -jar “D:\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar” -