NullPointerExceptionAttempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)' on a null object reference code example

Example 1: attempt to invoke virtual method 'android.graphics.drawable.drawable react native

Clear the data and cache on your expo app on your phone, then it should work

Example 2: attempt to invoke virtual method 'android.graphics.drawable.drawable android.graphics.drawable

Expo Pass Application

Log out of the app
From a Phone Home screen, navigate: Apps icon > Settings > Apps (Phone section)
Tap Application Manage
From the Dropdown menu ensure All apps is selected, then locate and tap Expo Pass app.
Tap Storge
Tap CLEAR CACHE. This option may not be available for some apps.
Log into Expo app again
Expo Pass Application

Log out of the app
From a Phone Home screen, navigate: Apps icon > Settings > Apps (Phone section)
Tap Application Manage
From the Dropdown menu ensure All apps is selected, then locate and tap Expo Pass app.
Tap Storge
Tap CLEAR DATA. This option may not be available for some apps.
Log into Expo app again