not finding android sdk (Unity)

前端 未结 11 1626
难免孤独
难免孤独 2020-12-02 05:28

Error:

Invalid command android
UnityEditor.HostView:OnGUI()

CommandInvokationFailure:

Unable to list target platforms. Ple         


        
11条回答
  •  独厮守ぢ
    2020-12-02 06:19

    These are the steps that eventually worked for me...

    • Install JDK jdk1.8.0_131 (yes, this specific version, not a later version) and set it as the JDK Path in Unity.

    • Delete android sdk tools folder : [android_sdk_root]/tools

    • Download SDK Tools v25.2.5 (this specific version) from http://dl-ssl.google.com/android/repository/tools_r25.2.5-windows.zip

    • Extract the tools folder in that archive to Android SDK root

    • Build your project

提交回复
热议问题