I've developed the application and used your library into it. no doubt your library is awesome. Thanks for this wonderful library. But when I run the application, it gives runtime exception for outofmemory
java.lang.OutOfMemoryError:
at dalvik.system.VMRuntime.newNonMovableArray (Native Method)
at android.graphics.BitmapFactory.nativeDecodeAsset (Native Method)
at android.graphics.BitmapFactory.decodeStream (BitmapFactory.java:624)
at android.graphics.BitmapFactory.decodeResourceStream (BitmapFactory.java:457)
at android.graphics.drawable.Drawable.createFromResourceStream (Drawable.java:1152)
at android.content.res.ResourcesImpl.createFromResourceStream (ResourcesImpl.java:1296)
at android.content.res.ResourcesImpl.loadDrawableForCookie (ResourcesImpl.java:743)
at android.content.res.ResourcesImpl.loadDrawable (ResourcesImpl.java:585)
at android.content.res.MiuiResourcesImpl.loadDrawable (MiuiResourcesImpl.java:317)
at android.content.res.Resources.getDrawable (Resources.java:785)
at android.content.Context.getDrawable (Context.java:534)
at com.shrikanthravi.customnavigationdrawer2.widget.SNavigationDrawer.initMenu (SNavigationDrawer.java:211)
at com.shrikanthravi.customnavigationdrawer2.widget.SNavigationDrawer.setMenuItemList (SNavigationDrawer.java:400)
at com.oskartechnologies.teamlinein.paynprofit.DashboardActivity.initElements (DashboardActivity.java:176)
at com.oskartechnologies.teamlinein.paynprofit.DashboardActivity.onCreate (DashboardActivity.java:75)
at android.app.Activity.performCreate (Activity.java:6845)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2700)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2808)
at android.app.ActivityThread.-wrap12 (ActivityThread.java)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1541)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:165)
at android.app.ActivityThread.main (ActivityThread.java:6375)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:912)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:802)
mido, Android 7.0
I've developed the application and used your library into it. no doubt your library is awesome. Thanks for this wonderful library. But when I run the application, it gives runtime exception for outofmemory
java.lang.OutOfMemoryError: at dalvik.system.VMRuntime.newNonMovableArray (Native Method) at android.graphics.BitmapFactory.nativeDecodeAsset (Native Method) at android.graphics.BitmapFactory.decodeStream (BitmapFactory.java:624) at android.graphics.BitmapFactory.decodeResourceStream (BitmapFactory.java:457) at android.graphics.drawable.Drawable.createFromResourceStream (Drawable.java:1152) at android.content.res.ResourcesImpl.createFromResourceStream (ResourcesImpl.java:1296) at android.content.res.ResourcesImpl.loadDrawableForCookie (ResourcesImpl.java:743) at android.content.res.ResourcesImpl.loadDrawable (ResourcesImpl.java:585) at android.content.res.MiuiResourcesImpl.loadDrawable (MiuiResourcesImpl.java:317) at android.content.res.Resources.getDrawable (Resources.java:785) at android.content.Context.getDrawable (Context.java:534) at com.shrikanthravi.customnavigationdrawer2.widget.SNavigationDrawer.initMenu (SNavigationDrawer.java:211) at com.shrikanthravi.customnavigationdrawer2.widget.SNavigationDrawer.setMenuItemList (SNavigationDrawer.java:400) at com.oskartechnologies.teamlinein.paynprofit.DashboardActivity.initElements (DashboardActivity.java:176) at com.oskartechnologies.teamlinein.paynprofit.DashboardActivity.onCreate (DashboardActivity.java:75) at android.app.Activity.performCreate (Activity.java:6845) at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1119) at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2700) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2808) at android.app.ActivityThread.-wrap12 (ActivityThread.java) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1541) at android.os.Handler.dispatchMessage (Handler.java:102) at android.os.Looper.loop (Looper.java:165) at android.app.ActivityThread.main (ActivityThread.java:6375) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:912) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:802)