unity3d导入jar包发布出现错误No resource found that matches the given name 'Theme.AppCompat.Light'.

来源:互联网 发布:linux 查看外网ip地址 编辑:程序博客网 时间:2021/01/17 10:49
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\adt-bundle-windows-x86_64-20130729\adt-bundle-windows-x86_64-20130729\sdk\build-tools\android-4.3\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/adt-bundle-windows-x86_64-20130729/adt-bundle-windows-x86_64-20130729/sdk/platforms/android-19\android.jar" -F bin/resources.ap_

stderr[
res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
]
stdout[
Configurations:
 (default)
 v11
 v14
 hdpi
 mdpi
 xhdpi
 xxhdpi

 w820dp


这是升级后出现的新主题,两种方法更改

1:创建android工程时 Minimum Required SDK选择为Android4.0或以上

2:http://tieba.baidu.com/p/3147767224

0 0
原创粉丝点击