NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)'
Solution 1
Solution 2
NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)'
ref link
Guys restarting the packager and clearing cache worked for me!
Solution 2
Same on 0.54.2.I've narrowed it down to a<TextInput>being rendered within in a FlatList. When I replace this with a<Text>, the issue disappears
NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)'
ref link
Comments
Post a Comment