簡體   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