unity导出apk错误出错解决方法
CommandInvokationFailure: Failed to re-package resources. See the Console for details.
F:\adt-bundle-windows-x86_64\sdk\build-tools\28.0.3\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "F:\adt-bundle-windows-x86_64\sdk\platforms\android-24\android.jar" -F bin/resources.ap_ --extra-packages com.senses.miaongp -S "E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res" stderr[
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_ab_back_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:autoMirrored from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_ab_back_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_ab_back_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_ab_back_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_ab_back_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_ab_back_material.xml: note: using v19 attributes; synthesizing resource com.senses.miaongp:drawable/abc_ic_ab_back_material for configuration v19.
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:autoMirrored from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml:6: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml:5: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml:5: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml: note: using v19 attributes; synthesizing resource com.senses.miaongp:drawable/abc_ic_arrow_drop_right_black_24dp for configuration v19.
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_clear_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_clear_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_clear_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_clear_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_clear_material.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/abc_ic_clear_material for configuration v21.
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_go_search_api_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_go_search_api_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_go_search_api_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_go_search_api_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_go_search_api_material.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/abc_ic_go_search_api_material for configuration v21.
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_menu_overflow_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_menu_overflow_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_menu_overflow_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_menu_overflow_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_menu_overflow_material.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/abc_ic_menu_overflow_material for configuration v21.
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_search_api_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_search_api_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_search_api_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_search_api_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_search_api_material.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/abc_ic_search_api_material for configuration v21.
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_voice_search_api_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_voice_search_api_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_voice_search_api_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_voice_search_api_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_voice_search_api_material.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/abc_ic_voice_search_api_material for configuration v21.
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_vector_test.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_vector_test.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_vector_test.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_vector_test.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_vector_test.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/abc_vector_test for configuration v21.
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\com_facebook_button_login_logo.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\com_facebook_button_login_logo.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\com_facebook_button_login_logo.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\com_facebook_button_login_logo.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\com_facebook_button_login_logo.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/com_facebook_button_login_logo for configuration v21.
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\com_facebook_favicon_blue.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\com_facebook_favicon_blue.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\com_facebook_favicon_blue.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\com_facebook_favicon_blue.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\com_facebook_favicon_blue.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/com_facebook_favicon_blue for configuration v21.
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_ab_back_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_ab_back_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_ab_back_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_ab_back_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_ab_back_material.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/abc_ic_ab_back_material for configuration v21.
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resour<message truncated>
类似CommandInvokationFailure: Failed to re-package resources. See the Console for details.这个问题 解决方法:
1.android sdk版本选择大于等于插件资源所需的版本本例为例(platforms/android-26,build-tools/26以上)
2.若方法1还未能解决这个问题,则重新检查遍res下资源是否完整
unity导出apk错误出错解决方法的更多相关文章
- make menuconfig出错解决方法
make menuconfig出错解决方法 2011-06-11 22:22:49 分类: 系统运维 错误现象: make menuconfig In file included from scri ...
- ADB几种常见的错误及解决方法
下面列举出几种常见的错误及解决方法. Q1:无效的安装包,安装包已损坏[INSTALL_FAILED_INVALID_APK] A1:请检查安装包是否完整.如果是xpk包,可以通过 手动安装xpk来检 ...
- 在安装mysql出现的错误以及解决方法
因为手贱更新了一下驱动,结果导致无线网卡出了问题.然而就算是从官网上下载了驱动各种折腾也没有弄好,心里特别堵.无奈只有重装系统这一条路了.这里表示特别难过,因为电脑上东西实在太多了,而且各种环境变量. ...
- ORA-12560: TNS: 协议适配器错误的解决方法
ORA-12560: TNS: 协议适配器错误的解决方法 造成ORA-12560: TNS: 协议适配器错误的问题的原因有三个: 1.监听服务没有起起来.windows平台个一如下操作:开始---程序 ...
- centos linux 系统日常管理4 scp,rsync,md5sum,sha1sum,strace ,find Rsync 常见错误及解决方法 第十七节课
centos linux 系统日常管理4 scp,rsync,md5sum,sha1sum,strace ,find Rsync 常见错误及解决方法 第十七节课 rsync可以增量同步,scp不行 ...
- LNMPA遇到504 Gateway time-out错误的解决方法
Nginx的特点是处理静态很给力,Apache的特点是处理动态很稳定,两者结合起来便是LNMPA,nginx处理前端,apache处理后端,这样处理静态会很快,处理动态会很稳定. 当我以为安装完成以后 ...
- Laravel中常见的错误与解决方法小结
一.报错: 「Can't swap PDO instance while within transaction」 通过查询 Laravel 源代码,可以确认异常是在 setPdo 方法中抛出的: ? ...
- Eclipse启动时发生An internal error occurred during: "Initializing Java Tooling".错误的解决方法
问题描述: Eclipse启动时发生An internal error occurred during: "Initializing JavaTooling".错误的解决方法 解决 ...
- GCC-4.6.3编译linux2.6.32.12内核出现“重复的成员‘page’”错误的解决方法
使用gcc4.6.3编译linux2.6.32.12内核出现错误如下: In file included from drivers/net/igbvf/ethtool.c:36:0: drivers/ ...
随机推荐
- bootsafe64 ev.sys
Win10 安装了驱动精灵之后,直接蓝屏,再次重启,出现: 采用PE启动盘进入系统,之后将C:\WINDOWS\system32\drivers下kavbootc.sys文件删除了,重启之后就可以进入 ...
- PHP将数据库数据批量生成word文档
<?php class word{ function start(){ ob_start(); echo '<html x ...
- 多线程 NSOpeartion 的使用
NSOperation简介 相对于 GCD ,具有面向对象的特征,比 GCD 更简单易用,代码可读性强 NSOperatioin 单独使用时, 不具有开辟新线程的能力, 只是同步执行操作, 需要配合 ...
- CodeForces - 1110E-Magic Stones(差分+思维)
Grigory has nn magic stones, conveniently numbered from 11 to nn. The charge of the ii-th stone is e ...
- eclipse 安装 scala
1.官网下载地址 http://scala-ide.org/download/current.html 目前最新的版本 http://download.scala-ide.org/sdk/lithiu ...
- vim(一) vim与markdown
vim markdown 配置 vim高亮显示Markdown语法 在.vimrc添加 Plugin 'godlygeek/tabular' Plugin 'plasticboy/vim-markdo ...
- java c c++大学补遗
第一次面试时的问题是一个看起来50多数的老工程师问的, 仍然记忆犹新 java(面向对象)的基本特性? 封装 继承 多态 工作几年后,各种框架用来用去, 回想起这个问题,java也就剩下这几个特性了
- $bzoj1052-HAOI2007$ 覆盖问题 抽屉原理 二分答案
题面描述 某人在山上种了\(N\leq 2*10^4\)棵小树苗.冬天来了,温度急速下降,小树苗脆弱得不堪一击,于是树主人想用一些塑料薄膜把这些小树遮盖起来,经过一番长久的思考,他决定用\(3\) ...
- x86的字节对齐与不对齐的问题
比如这么一个结构体struct foo {short s;int n;}; struct foo bar;假设bar的地址是0x12345670如果不按4字节对齐那么bar.n的地址就是0x123 ...
- qs.parse()、qs.stringify()、JSON.parse()、JSON.stringify()使用方法
一.JSON.parse(用于从一个字符串中解析出json 对象)ps:单引号写在{}外,每个属性都必须双引号,否则会抛出异常 let str = '[{"field":" ...