找不到属性' entryImages'的资源标识符。

时间:2014-03-17 11:57:09

标签: java javascript android xml

我在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" />

1 个答案:

答案 0 :(得分:0)

如果您在ADT工作,我建议您首先撤消您的软件包重命名(我假设您手动重命名)并让所有内容重新运行。

要重命名您的应用程序包: 从ADT中的包浏览器中右键单击您的项目。选择Android工具 - >重命名应用程序包。

查看更改并选择完成。这些更改应该有助于显示您在尝试手动重命名时错过的内容