Android与unity交互

来源:互联网 发布:熊猫tv抢佛跳墙软件 编辑:程序博客网 时间:2024/05/01 03:27
 error:
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
E:\android SDK\android-sdk-windows\build-tools\24.0.0-preview\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "E:/android SDK/android-sdk-windows/platforms/android-23\android.jar" -F bin/resources.ap_

解决方法
很简单,修改AndroidManifest.xml的内容。将如下内容修改成
android:theme="@android:style/Theme.NoTitleBar"
android:icon="@drawable/app_icon"
android:label="@string/app_name"
那么res文件夹可以不必导入。

error:
Unable to list keys in the keystore.Please make sure the location and password of the keystore is correct.See the Console for more details

解决方法
have the same question.I changed the javajdk location from C:\Program Files\Java\jdk1.7.0_79 to D:\programs\Java\jdk1.7.0_79. then the question is resolved 
原创粉丝点击