简体   繁体   中英

commandinfokationfailure, anybody knows how to fix this bug?

I have this error when trying to build in 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

I tried reinstalling the jdk, android sdk, and reimporting the package itself but I am getting this same error. Can anybody help me out here?

Go here for info on installing SDKs. http://developer.android.com/sdk/installing/adding-packages.html Use the SDK manager to download the latest version of the build tools

Make sure your version of the android build tools is up to date.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM