繁体   English   中英

找不到属性“ entryImages”的资源标识符

[英]No resource identifier found for attribute 'entryImages'

我在androidmanifest.xml中更改了包名称。 但是在重新编译时出现此错误。

\\ res \\ xml \\ utils.xml错误:

No resource identifier found for attribute 'entryImages' in package 'com.whatsapp.plus'

这是utils.xml中错误所在的行

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/plus_version"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:robobunny="http://robobunny.com"
xmlns:cmwmobile="http://schemas.android.com/apk/res/com.whatsapp">

<com.whatsapp.plus.ImageListPreference 
android:entries="@array/bubble_style"
android:title="@string/bubble_style_title"
android:key="bubble_style_list"
android:summary="@string/bubble_style_summary"
android:defaultValue="0"
android:entryValues="@array/bubble_values"
cmwmobile:entryImages="@array/bubbles_images" />

<com.whatsapp.plus.ImageListPreference
android:entries="@array/appicons_style"
android:title="@string/appicons_title"
android:key="appicons_list"
android:defaultValue="0"
android:entryValues="@array/appicons_values"
cmwmobile:entryImages="@array/appicons_images" />

<com.whatsapp.plus.ImageListPreference
android:entries="@array/notifybar_colors"
android:title="@string/notifybar_colors_title"
android:key="notifybar_colors_list"
android:summary="@string/notifybar_colors_summary"
android:defaultValue="0"
android:entryValues="@array/notifybar_values"
cmwmobile:entryImages="@array/notifybar_icons" />

如果您使用的是ADT,建议您先撤消对软件包的重命名(假设您手动重命名了该软件包),然后使所有功能重新开始。

重命名您的应用程序包 :在ADT中的包资源管理器中,右键单击您的项目。 选择“ Android工具”->“重命名应用程序包”。

查看更改并选择完成。 所做的更改有望显示您尝试手动重命名时错过的内容

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM