You need to sign in to do that
Don't have an account?
MedhanieHabte
Build a 3D VR App Trailhead: Building Failed - Unable to list target platforms
Hi all,
I am working on a 3D Virtual Reality app Trailhead and seem to be stuck with building out the app. I encounter this error.
"Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details. See the Console for details."
I have correctly set up android studio and SDK and assigned the right directory, but when I get to building, I am stuck, any steps I should take.
I am working on a 3D Virtual Reality app Trailhead and seem to be stuck with building out the app. I encounter this error.
"Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details. See the Console for details."
Error:Invalid command android UnityEditor.PostprocessBuildPlayer:PrepareForBuild(BuildOptions, BuildTargetGroup, BuildTarget)
CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details. /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Users/medhaniehabte/Library/Android/sdk/tools" -Dfile.encoding=UTF8 -jar "/Applications/Unity/PlaybackEngines/AndroidPlayer/Tools/sdktools.jar" - stderr[ Error:
I have correctly set up android studio and SDK and assigned the right directory, but when I get to building, I am stuck, any steps I should take.
Found a solution: https://issuetracker.unity3d.com/issues/android-build-fails-when-the-latest-android-sdk-tools-25-dot-3-1-version-is-used