Unity5.6打包问题

    将unity切换到5.6版本后打Android包时,提示android sdk tools version低于compile version,于是更新了android-sdk(下载了Android-Studio),重新设置了android-sdk的路径,但是在打包时又报以下错:

    "CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details. ..."

    查了些贴子,也做了测试,步骤如下:(英文链接:https://issuetracker.unity3d.com/issues/android-build-fails-when-the-latest-android-sdk-tools-25-dot-3-1-version-is-used)

    1)打开链接https://developer.android.com/studio/index.html

    2)到页面底部的“仅获取命令行工具”处,找到"tools_r25.2.3-windows.zip"下载并解压为tools;

    3)将tools文件夹替换android-sdk中的tools。

    具体原因有一篇贴子给了分析:http://www.qingpingshan.com/rjbc/az/228769.html

posted on 2017-05-06 17:14  莫行  阅读(334)  评论(0编辑  收藏  举报

导航