In one Activity (this is a SherlockActivity , by the way) of my Android application, I have a normal ListView .
For this ListView I set AdapterView.OnItemClickListener via getListView().setOnItemClickListener(...) .
And in this listener, AlertDialog is created using the AlertDialog.Builder class, and then it is displayed to the user:
getListView().setOnItemClickListener(new AdapterView.OnItemClickListener() { public void onItemClick(AdapterView<?> parent, final View v, int position, long id) { AlertDialog.Builder builder = new AlertDialog.Builder(MyActivity.this); ... builder.setMessage(Html.fromHtml(...)); builder.show(); } }
Now, when builder.show() is called, the following warning always appears in LogCat:
W/ResourceType(463): Failure getting entry for 0x010802c9 (t=7 e=713) in package 0 (error -75)
Where is it from? It seems to me that this is out of my control, since it appears with builder.show() , so this warning can be generated somewhere in the sources for the AlertDialog class. It's true?
If not, how can I find which resource is missing? How to debug this warning?
Edit: There is no corresponding entry for 0x010802c9 (or any value that is at runtime) in R.java , so I really don't know how to debug this.
android android-resources
caw
source share