not finding android sdk (Unity)

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

Error:

Invalid command android
UnityEditor.HostView:OnGUI()

CommandInvokationFailure:

Unable to list target platforms. Ple         


        
11条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-02 06:24

    1. Delete android sdk "tools" folder : [Your Android SDK root]/tools -> tools

    2. Download SDK Tools: http://dl-ssl.google.com/android/repository/tools_r25.2.5-windows.zip

    3. Extract that to Android SDK root

    4. Build your project

    After that it didn't work for me yet, I had to

    1. Go to the Java archives (http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html)

    2. Search for the jdk-8u131 release.

    3. Accept the Licence Agreement,make an account and download the release.

    4. Install it and define it as JDK path in Unity.

    source : https://www.reddit.com/r/Unity3D/comments/77azfb/i_cant_get_unity_to_build_run_my_game/

提交回复
热议问题