Fatal Exception: java.lang.OutOfMemoryError
MaterialIntroView line 269 co.mobiwise.materialintro.view.MaterialIntroView.init
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 4901808 byte allocation with 2891992 free bytes and 2MB until OOM at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java) at android.graphics.BitmapFactory.nativeDecodeAsset(BitmapFactory.java) at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:726) at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:547) at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:1014) at android.content.res.Resources.loadDrawableForCookie(Resources.java:3723) at android.content.res.Resources.loadDrawable(Resources.java:3596) at android.content.res.TypedArray.getDrawable(TypedArray.java:750) at android.widget.ImageView.(ImageView.java:151) at android.widget.ImageView.(ImageView.java:140) at android.support.v7.widget.AppCompatImageView.(SourceFile:57) at android.support.v7.widget.AppCompatImageView.(SourceFile:53) at android.support.v7.app.AppCompatViewInflater.createView(SourceFile:106) at android.support.v7.app.AppCompatDelegateImplV7.createView(SourceFile:972) at android.support.v7.app.AppCompatDelegateImplV7.onCreateView(SourceFile:1031) at android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(SourceFile:44) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:732) at android.view.LayoutInflater.inflate(LayoutInflater.java:483) at android.view.LayoutInflater.inflate(LayoutInflater.java:415) at android.view.LayoutInflater.inflate(LayoutInflater.java:366) at co.mobiwise.materialintro.view.MaterialIntroView.init(SourceFile:269) at co.mobiwise.materialintro.view.MaterialIntroView.(SourceFile:208) at co.mobiwise.materialintro.view.MaterialIntroView$Builder.(SourceFile:624) at jankstudio.com.mixtapes.util.AppMethods.showIntro(SourceFile:351) at jankstudio.com.mixtapes.view.MusicPlayerActivity.onCreate(SourceFile:211) at android.app.Activity.performCreate(Activity.java:6221) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2614) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726) at android.app.ActivityThread.access$900(ActivityThread.java:172) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5835) at java.lang.reflect.Method.invoke(Method.java) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)