当我重新编译apk时,此错误在apktool Windows 10专业版中显示

时间:2019-07-26 17:22:16

标签: java android android-studio

这是错误

C:\ Apktool> apktool b abc I:使用Apktool 2.4.0 I:检查来源是否已更改... 我:将smali文件夹塞进classes.dex ... I:检查来源是否已更改... 我:将smali_classes2文件夹压缩为classes2.dex ... I:检查资源是否已更改... 一:建设资源... W:C:\ Apktool \ abc \ res \ layout-v26 \ abc_screen_toolbar.xml:5:错误:在包'android'中找不到属性'keyboardNavigationCluster'的资源标识符 W: W:C:\ Apktool \ abc \ res \ menu-v22 \ navigation.xml:4:错误:在包'android'中找不到属性'iconTint'的资源标识符 W: W:C:\ Apktool \ abc \ res \ menu-v22 \ navigation.xml:5:错误:在包'android'中找不到属性'iconTint'的资源标识符 W: W:C:\ Apktool \ abc \ res \ menu-v22 \ navigation.xml:6:错误:在包'android'中找不到属性'iconTint'的资源标识符 W: brut.androlib.AndrolibException:brut.common.BrutException:无法执行(退出代码= 1):[C:\ Users \ HP \ AppData \ Local \ Temp \ brut_util_Jar_9214118989992870300.tmp,p,--forced-package-id, 127,-min-sdk-version,19,-target-sdk-version,27,-version-code,17,-version-name,1.0,-no-version-vector,-F,C :\ Users \ HP \ AppData \ Local \ Temp \ APKTOOL7494347698208578625.tmp,-0,arsc,-0,META-INF / android.arch.core_runtime.version,-0,META-INF / android.arch.lifecycle_livedata-core .version,-0,META-INF / android.arch.lifecycle_runtime.version,-0,META-INF / android.arch.lifecycle_viewmodel.version,-0,META-INF / com.android.support_animated-vector-drawable。版本-0,META-INF / com.android.support_appcompat-v7.version,-0,META-INF / com.android.support_cardview-v7.version,-0,META-INF / com.android.support_customtabs.version ,-0,META-INF / com.android.support_design.version,-0,META-INF / com.android.support_exifinterface.version,-0,META-INF / com.android.support_recyclerview-v7.version,-0 ,META-INF /com.android.support_support-compat.version、-0、META-INF/com.android.support_support-core-ui.version、-0、META-INF/com.android.support_support-core-utils.version,- 0,META-INF / com.android.support_support-fragment.version,-0,META-INF / com.android.support_support-media-compat.version,-0,META-INF / com.android.support_support-v4。版本-0,META-INF / com.android.support_support-vector-drawable.version,-0,META-INF / com.android.support_transition.version,-0,png,-0,res / drawable-ldrtl- mdpi-v17 / abc_spinner_mtrl_am_alpha.9.png,-0,res / drawable-mdpi-v4 / abc_ab_share_pack_mtrl_alpha.9,-0,res / drawable-mdpi-v4 / abc_btn_switch_to_on_mtrl_00001.9.png,-0,res / drawable -mdpi-v4 / abc_btn_switch_to_on_mtrl_00012.9.png,-0,res / drawable-mdpi-v4 / abc_cab_background_top_mtrl_alpha.9.png,-0,res / drawable-mdpi-v4 / abc_list_divider_mtrl_alpha.9.png,-0,res / drawable-mdpi-v4 / abc_list_focused_holo.9.png,-0,res / drawable-mdpi-v4 / abc_list_longpressed_holo.9.png,-0,res / drawable-mdpi-v4 / abc_list_pressed _holo_dark.9.png,-0,res / drawable-mdpi-v4 / abc_list_pressed_holo_light.9.png,-0,res / drawable-mdpi-v4 / abc_list_selector_disabled_holo_dark.9.png,-0,res / drawable-mdpi-v4 /abc_list_selector_disabled_holo_light.9.png,-0,res / drawable-mdpi-v4 / abc_menu_hardkey_panel_mtrl_mult.9.png,-0,res / drawable-mdpi-v4 / abc_popup_background_mtrl_mult.9.png,-0,res / drawable-mdpi v4 / abc_scrubber_primary_mtrl_alpha.9.png,-0,res / drawable-mdpi-v4 / abc_scrubber_track_mtrl_alpha.9.png,-0,res / drawable-mdpi-v4 / abc_spinner_mtrl_am_alpha.9.png,-0,res / drawable-mdpi -v4 / abc_switch_track_mtrl_alpha.9.png,-0,res / drawable-mdpi-v4 / abc_tab_indicator_mtrl_alpha.9.png,-0,res / drawable-mdpi-v4 / abc_textfield_activated_mtrl_alpha.9.png,-0,res / drawable- mdpi-v4 / abc_textfield_default_mtrl_alpha.9.png,-0,res / drawable-mdpi-v4 / abc_textfield_search_activated_mtrl_alpha.9,-0,res / drawable-mdpi-v4 / abc_textfield_search_default_mtrl_alpha.9.png,-0,res / drawable -mdpi-v4 / com_facebook_tooltip_black_background.9.png,-0 ,res / drawable-mdpi-v4 / com_facebook_tooltip_blue_background.9.png,-0,res / drawable-mdpi-v4 / common_google_signin_btn_icon_dark_normal_background.9.png,-0,res / drawable-mdpi-v4 / common_google_signin_btn_icon_light_normal。 0,res / drawable-mdpi-v4 / common_google_signin_btn_text_dark_normal_background.9.png,-0,res / drawable-mdpi-v4 / common_google_signin_btn_text_light_normal_background.9.png,-0,res / drawable-mdpi-v4 / notification_bg_low_normal。 -0,res / drawable-mdpi-v4 / notification_bg_low_pressed.9.png,-0,res / drawable-mdpi-v4 / notification_bg_normal.9.png,-0,res / drawable-mdpi-v4 / notification_bg_normal_pressed.9.png ,-0,res / drawable-mdpi-v4 / sheet_shadow.9.png,-0,jpg,-0,arsc,-I,C:\ Users \ HP \ AppData \ Local \ apktool \ framework \ 1.apk, -S,C:\ Apktool \ abc \ res,-M,C:\ Apktool \ abc \ AndroidManifest.xml] W:C:\ Apktool \ abc \ res \ menu-v22 \ navigation.xml:7:错误:在包'android'中找不到属性'iconTint'的资源标识符 W: W:C:\ Apktool \ abc \ res \ menu-v22 \ navigation.xml:8:错误:在包'android'中找不到属性'iconTint'的资源标识符


请帮助!!!

1 个答案:

答案 0 :(得分:1)

您可能要考虑为您的问题提供更多背景信息。 (例如,您要导入新项目,是否对导致此错误的项目进行了更改)。另外,请尝试简化您的帖子,此问题所需的全部都是您发布的文本的最后几行。

首先要做的是将最后列出的错误复制/粘贴到浏览器中,以查看可以找到的内容。

您的错误是

  

在包“ android”中找不到属性“ iconTint”的资源标识符

这是我提起的第一件事。 No resource identifier found for attribute ' ' in package 'com.app....'

祝你好运!