打包Android:Error building Player: CommandInvokationFailure
错误log
Error building Player: CommandInvokationFailure: Unable to determine the tools version of the Android SDK. Please run the SDK Manager manually to make sure you have the latest set of tools and the required platforms installed. See the Console for more details.
D:\Program Files\Java\jdk1.6.0_41\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir="D:/Android/sdk\tools" -Dfile.encoding=UTF8 -jar "C:/Program Files (x86)/Unity/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar" -
stderr[
Error: Unknown revision
]
stdout[
]
解决办法
打开Android的SDK Manager发现部分文件没有了,因为我之前分盘出现错误导致D盘部分文件损坏
导致是打包Android所需的文件被损坏,重新安装就可以解决此问题。