rockerhieu / emojicon

A library to show emoji in TextView, EditText (like WhatsApp) for Android
Apache License 2.0
3.61k stars 817 forks source link

Caused by: java.lang.NoClassDefFoundError: com.rockerhieu.emojicon.R$drawable #109

Open CodeBoyChd opened 8 years ago

CodeBoyChd commented 8 years ago

My Application is crashing everytime when I call this function: EmojiconHandler.addEmojis(getContext(), builder, mEmojiconSize, mEmojiconAlignment, mEmojiconTextSize, mTextStart, mTextLength, false);

This is happening in 4.4.2 version or may be also below 5, For more than 5 version this is working absolutely fine.

Caused by: java.lang.NoClassDefFoundError: com.rockerhieu.emojicon.R$drawable at com.rockerhieu.emojicon.EmojiconHandler.(EmojiconHandler.java:38) at com.xyz.abc.common.util.TextViewPlus.setText(TextViewPlus.java:95) at android.widget.TextView.(TextView.java:1339)

at android.widget.TextView.(TextView.java:635)

TextViewPlus is my customized TextView.

lastw0nd3r commented 8 years ago

I am also facing the same issue. Can we have this sorted on priority? @rockerhieu @CodeBoyChd @daniele-athome @KTachibanaM