not finding android sdk (Unity)

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

Error:

Invalid command android
UnityEditor.HostView:OnGUI()

CommandInvokationFailure:

Unable to list target platforms. Ple         


        
11条回答
  •  眼角桃花
    2020-12-02 06:06

    Easier solution: set the environment variable USE_SDK_WRAPPER=1, or hack tools/android.bat to add the line "set USE_SDK_WRAPPER=1". This prevents android.bat from popping up a "y/n" prompt, which is what's confusing Unity.

提交回复
热议问题