zoukankan      html  css  js  c++  java
  • unity导出apk错误出错解决方法

    CommandInvokationFailure: Failed to re-package resources. See the Console for details.
    F:adt-bundle-windows-x86_64sdkuild-tools28.0.3aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "F:adt-bundle-windows-x86_64sdkplatformsandroid-24android.jar" -F bin/resources.ap_ --extra-packages com.senses.miaongp -S "E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    es"
    
    stderr[
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_ab_back_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:autoMirrored from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_ab_back_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_ab_back_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_ab_back_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_ab_back_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_ab_back_material.xml: note: using v19 attributes; synthesizing resource com.senses.miaongp:drawable/abc_ic_ab_back_material for configuration v19.
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_arrow_drop_right_black_24dp.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:autoMirrored from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_arrow_drop_right_black_24dp.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_arrow_drop_right_black_24dp.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_arrow_drop_right_black_24dp.xml:6: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_arrow_drop_right_black_24dp.xml:5: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_arrow_drop_right_black_24dp.xml:5: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_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:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_clear_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_clear_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_clear_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_clear_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_clear_material.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/abc_ic_clear_material for configuration v21.
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_go_search_api_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_go_search_api_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_go_search_api_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_go_search_api_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_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:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_menu_overflow_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_menu_overflow_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_menu_overflow_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_menu_overflow_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_menu_overflow_material.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/abc_ic_menu_overflow_material for configuration v21.
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_search_api_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_search_api_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_search_api_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_search_api_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_search_api_material.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/abc_ic_search_api_material for configuration v21.
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_voice_search_api_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_voice_search_api_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_voice_search_api_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_voice_search_api_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_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:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_vector_test.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_vector_test.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_vector_test.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_vector_test.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_vector_test.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/abc_vector_test for configuration v21.
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawablecom_facebook_button_login_logo.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawablecom_facebook_button_login_logo.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawablecom_facebook_button_login_logo.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawablecom_facebook_button_login_logo.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawablecom_facebook_button_login_logo.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/com_facebook_button_login_logo for configuration v21.
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawablecom_facebook_favicon_blue.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawablecom_facebook_favicon_blue.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawablecom_facebook_favicon_blue.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawablecom_facebook_favicon_blue.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawablecom_facebook_favicon_blue.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/com_facebook_favicon_blue for configuration v21.
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_ab_back_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_ab_back_material.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_ab_back_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_ab_back_material.xml:4: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_ab_back_material.xml: note: using v21 attributes; synthesizing resource com.senses.miaongp:drawable/abc_ic_ab_back_material for configuration v21.
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_arrow_drop_right_black_24dp.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-android-resources
    esdrawableabc_ic_arrow_drop_right_black_24dp.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
    E:HBWorkoversea_enHBClientDev_Androidclient_projectTempStagingAreaandroid-librariesunity-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下资源是否完整

  • 相关阅读:
    [BZOJ2763] [JLOI2011] 飞行路线
    [BZOJ4033] [HAOI2015] 树上染色
    [BZOJ2565] 最长双回文串
    [luogu5048] [Ynoi2019模拟赛] Yuno loves sqrt technology III
    又犯了低级错误了
    Win10系统无法使用小米手机的远程管理功能
    DevExpress破解和消除弹出框问题
    重写导致的问题
    EXCEL统计不重复值的数量
    C#中Button.DialogResult属性
  • 原文地址:https://www.cnblogs.com/mttnor/p/9933523.html
Copyright © 2011-2022 走看看