I got this same error message when I tried to use TextView.setText passing a char instead of a String. This makes sense since the char would be promoted to an int which meant that I was really calling the
TextView.setText( int resId );
And since there wasn’t a resource with that value, it wouldn’t work.