博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
unity导出apk错误出错解决方法
阅读量:4982 次
发布时间:2019-06-12

本文共 16266 字,大约阅读时间需要 54 分钟。

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 
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
E:\HBWork\oversea_en\HBClientDev_Android\client_project\Temp\StagingArea\android-libraries\unity-android-resour

 

类似CommandInvokationFailure: Failed to re-package resources. See the Console for details.这个问题 解决方法:

1.android sdk版本选择大于等于插件资源所需的版本本例为例(platforms/android-26,build-tools/26以上)

2.若方法1还未能解决这个问题,则重新检查遍res下资源是否完整

 

转载于:https://www.cnblogs.com/mttnor/p/9933523.html

你可能感兴趣的文章
Python序列之列表 (list)
查看>>
javaScript的正则表达式
查看>>
MySQL 5.7贴心参数之binlog_row_image
查看>>
HDU 1869 六度分离【floyd】
查看>>
20150929创建数据库,表,增删改查
查看>>
angularJs 问题
查看>>
Elasticsearch学习记录(入门篇)
查看>>
matlab plot用法
查看>>
pgsql 服务遇见的问题记录
查看>>
数据库练习题
查看>>
软件工程过程 第4章 瀑布模型应用实例
查看>>
Tomcat启动Creation of SecureRandom instance卡住解决办法
查看>>
poj 2000 Gold Coins
查看>>
开通博客了
查看>>
炮兵阵地
查看>>
BZOJ 1863: [Zjoi2006]trouble 皇帝的烦恼( 二分答案 )
查看>>
try catch
查看>>
slf4j
查看>>
Orcal 给表增加一个自增的ID
查看>>
C#语言和SQL Server数据库技术_程序数据集散地:数据库
查看>>