unity android解析包失败,打包APK失败。求解释

博客内容涉及到了在使用Android SDK的build-tools进行资源打包时遇到的错误,具体表现为在AndroidManifest.xml中找不到特定属性'isGame'和'banner',这可能是由于引用的属性不存在于android包中或者是版本不兼容问题。错误详细信息包括了打包过程的日志输出,提到了aapt.exe工具以及涉及到的资源文件路径和配置。

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.H:\SDK\adt-bundle-windows-x86-20130917\sdk\build-tools\android-4.3\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "H:/SDK/adt-bundle-windows-x86-20130917/sdk\platforms\android-18\android.jar" -F bin/resources.ap_stderr[

AndroidManifest.xml:4: error: No resource identifier found for attribute 'isGame' in package 'android'

AndroidManifest.xml:4: error: No resource identifier found for attribute 'banner' in package 'android']

stdout[Configurations:(default)xhdpiFiles: drawable\app_banner.png Src: (xhdpi) res\drawable-xhdpi\app_banner.png drawable\app_icon.png Src: () res\drawable\app_icon.png values\strings.xml Src: () res\values\strings.xml AndroidManifest.xml Src: () AndroidManifest.xmlResource Dirs: Type drawable drawable\app_banner.png Src: (xhdpi) res\drawable-xhdpi\app_banner.png drawable\app_icon.png Src: () res\drawable\app_icon.png Type values values\strings.xml Src: () res\values\strings.xmlIncluding resources from package: H:\SDK\adt-bundle-windows-x86-20130917\sdk\platforms\android-18\android.jarapplyFileOverlay for drawableapplyFileOverlay for layoutapplyFileOverlay for animapplyFileOverlay for animatorapplyFileOverlay for interpolatorapplyFileOverlay for xmlapplyFileOverlay for rawapplyFileOverlay for colorapplyFileOverlay for menuapplyFileOverlay for mipmapProcessing image: res\drawable-xhdpi\app_banner.pngProcessing image: res\drawable\app_icon.png (processed image res\drawable\app_icon.png: 94% size of source) (processed image res\drawable-xhdpi\app_banner.png: 93% size of source) (new resource id app_banner from xhdpi\drawable\app_banner.png #generated) (new resource id app_icon from drawable\app_icon.png #generated)]

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值