w446108264 / XhsEmoticonsKeyboard

android emoticonsKeyboard support emoji and user-defined emoticon. easy to integrated into your project
2.85k stars 600 forks source link

ResourceType: No package identifier when getting value for resource number 0x00000000 #38

Open wywar opened 7 years ago

wywar commented 7 years ago

用了SimpleCommonUtils.java这个,这段代码老是报标题中的错误。。 public void spannableEmoticonFilter(TextView tv_content, String content) { SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(content); Spannable spannable = EmojiDisplay.spannableFilter(tv_content.getContext(), spannableStringBuilder, content, EmoticonsKeyboardUtils.getFontHeight(tv_content)); tv_content.setText(spannable); }

用的是 compile 'com.github.w446108264:XhsEmoticonsKeyboard:2.0.4' compile 'com.github.w446108264:AndroidEmoji:1.0.0'

w446108264 commented 7 years ago

11 参考这个,试试是否能解决

@wohao