aurelhubert / ahbottomnavigation

A library to reproduce the behavior of the Bottom Navigation guidelines from Material Design.
3.84k stars 683 forks source link

com.aurelhubert.ahbottomnavigation.AHBottomNavigationItem.getDrawable (AHBottomNavigationItem.java:131) app crashes #402

Open mobileguru007 opened 5 years ago

mobileguru007 commented 5 years ago

logcat: android.graphics.BitmapFactory.nativeDecodeAsset (BitmapFactory.java) android.graphics.BitmapFactory.decodeStream (BitmapFactory.java:700) android.graphics.BitmapFactory.decodeResourceStream (BitmapFactory.java:535) android.graphics.drawable.Drawable.createFromResourceStream (Drawable.java:1179) android.content.res.ResourcesImpl.loadDrawableForCookie (ResourcesImpl.java:770) android.content.res.ResourcesImpl.loadDrawable (ResourcesImpl.java:621) android.content.res.Resources.getDrawable (Resources.java:1640) android.content.Context.getDrawable (Context.java:525) android.support.v4.content.ContextCompat.getDrawable (ContextCompat.java:463) android.support.v7.widget.AppCompatDrawableManager.getDrawable (AppCompatDrawableManager.java:203) android.support.v7.widget.AppCompatDrawableManager.getDrawable (AppCompatDrawableManager.java:191) android.support.v7.content.res.AppCompatResources.getDrawable (AppCompatResources.java:102) com.aurelhubert.ahbottomnavigation.AHBottomNavigationItem.getDrawable (AHBottomNavigationItem.java:131) com.aurelhubert.ahbottomnavigation.AHBottomNavigation.updateSmallItems (AHBottomNavigation.java:862) com.aurelhubert.ahbottomnavigation.AHBottomNavigation.setCurrentItem (AHBottomNavigation.java:1209) com.aurelhubert.ahbottomnavigation.AHBottomNavigation.setCurrentItem (AHBottomNavigation.java:1190) AppCompat version: 'com.android.support:appcompat-v7:28.0.0'

Tested Device: Galaxy S6 Android 7.0