Replies: 1 comment 2 replies
-
Are you trying to load an image? How big is that image? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I couldn't knew the reason of this crash ...
AppIntroCustomLayoutFragment.java
com.github.appintro.AppIntroCustomLayoutFragment.onCreateView
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 41472012 byte allocation with 16777216 free bytes and 33MB until OOM at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java) at android.graphics.BitmapFactory.nativeDecodeAsset(BitmapFactory.java) at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:812) at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:636) at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:988) at android.content.res.Resources.loadDrawableForCookie(Resources.java:2941) at android.content.res.Resources.loadDrawable(Resources.java:2821) at android.content.res.Resources.getDrawable(Resources.java:1050) at android.content.res.Resources.getDrawable(Resources.java:1032) at android.content.Context.getDrawable(Context.java:403) at androidx.core.content.ContextCompat$Api21Impl.getDrawable(ContextCompat.java) at androidx.core.content.ContextCompat.getDrawable(ContextCompat.java) at androidx.appcompat.widget.ResourceManagerInternal.getDrawable(ResourceManagerInternal.java) at androidx.appcompat.widget.ResourceManagerInternal.getDrawable(ResourceManagerInternal.java) at androidx.appcompat.content.res.AppCompatResources.getDrawable(AppCompatResources.java) at androidx.appcompat.widget.AppCompatImageHelper.loadFromAttributes(AppCompatImageHelper.java) at androidx.appcompat.widget.AppCompatImageView.<init>(AppCompatImageView.java) at androidx.appcompat.widget.AppCompatImageView.<init>(AppCompatImageView.java) at androidx.appcompat.app.AppCompatViewInflater.createImageView(AppCompatViewInflater.java) at androidx.appcompat.app.AppCompatViewInflater.createView(AppCompatViewInflater.java) at androidx.appcompat.app.AppCompatDelegateImpl.createView(AppCompatDelegateImpl.java) at androidx.appcompat.app.AppCompatDelegateImpl.onCreateView(AppCompatDelegateImpl.java) at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:180) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:725) at android.view.LayoutInflater.rInflate(LayoutInflater.java:806) at android.view.LayoutInflater.inflate(LayoutInflater.java:504) at android.view.LayoutInflater.inflate(LayoutInflater.java:414) at com.github.appintro.AppIntroCustomLayoutFragment.onCreateView(AppIntroCustomLayoutFragment.java) at androidx.fragment.app.Fragment.performCreateView(Fragment.java) at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java) at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java) at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java) at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java) at androidx.fragment.app.FragmentManager.execSingleAction(FragmentManager.java) at androidx.fragment.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java) at androidx.fragment.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java) at androidx.viewpager.widget.ViewPager.populate(ViewPager.java) at androidx.viewpager.widget.ViewPager.setCurrentItemInternal(ViewPager.java) at androidx.viewpager.widget.ViewPager.setCurrentItemInternal(ViewPager.java) at androidx.viewpager.widget.ViewPager.setCurrentItem(ViewPager.java) at com.github.appintro.internal.AppIntroViewPager.setCurrentItem(AppIntroViewPager.java) at com.github.appintro.internal.AppIntroViewPager.goToNextSlide(AppIntroViewPager.java) at com.github.appintro.AppIntroBase.goToNextSlide(AppIntroBase.java) at com.github.appintro.AppIntroBase$NextSlideOnClickListener.onClick(AppIntroBase.java) at android.view.View.performClick(View.java:5076) at android.view.View$PerformClick.run(View.java:20279) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5910) 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:1405) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
Beta Was this translation helpful? Give feedback.
All reactions