Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/224.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java commandinfokationfailure,有人知道如何修复这个bug吗?_Java_Android_Unity3d_Google Play_Google Play Services - Fatal编程技术网

Java commandinfokationfailure,有人知道如何修复这个bug吗?

Java commandinfokationfailure,有人知道如何修复这个bug吗?,java,android,unity3d,google-play,google-play-services,Java,Android,Unity3d,Google Play,Google Play Services,尝试在unity3d中构建时出现以下错误: Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details. D:\Android\adt-bundle-windows-x86-20140702\sdk\build-tools\android-4.4W\aapt.exe package --auto-add-overlay -v -f -m -

尝试在unity3d中构建时出现以下错误:

Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
D:\Android\adt-bundle-windows-x86-20140702\sdk\build-tools\android-4.4W\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "D:/Android/adt-bundle-windows-x86-20140702/sdk/platforms/android-21\android.jar" -F bin/resources.ap_ --extra-packages 

stderr[
ERROR: No argument supplied for '--extra-packages' option
Android Asset Packaging Tool

我尝试重新安装jdk、android sdk,并重新导入包本身,但我遇到了同样的错误。有人能帮我吗?

到这里获取有关安装SDK的信息。 使用SDK管理器下载最新版本的构建工具


确保您的android构建工具版本是最新的。

我所有的东西都是最新的,我已经安装了所有的软件包。我得到了Unity4.6,Java8 32位和mac(当然是64位)。如果您完全确定已经在SDK管理器中打开了tools文件夹并安装了Android SDK Build tools 21.1.1,则可能值得使用查看Unity3D文档中的Android安装说明