Skip to content
This repository was archived by the owner on Jun 22, 2022. It is now read-only.
This repository was archived by the owner on Jun 22, 2022. It is now read-only.

Version 1.2.9 => Getting ANR issue in LocalizationActivityDelegate.kt file. #123

Description

@MihirAhir

I don't have any idea how its generated because its work fine in our device but i'm getting this ANR in crashlytics.
I'm getting below Stack trace in crashlytics.

android.content.res.AssetManager.nativeList (AssetManager.java)
android.content.ContextWrapper.createConfigurationContext (ContextWrapper.java:982)
com.akexorcist.localizationactivity.core.LocalizationActivityDelegate.getResources (LocalizationActivityDelegate.java:112)
com.akexorcist.localizationactivity.ui.LocalizationActivity.getResources (LocalizationActivity.java:50)
androidx.appcompat.widget.ResourceManagerInternal.createDrawableIfNeeded (ResourceManagerInternal.java:179)
androidx.appcompat.widget.ResourceManagerInternal.getDrawable (ResourceManagerInternal.java:144)
androidx.appcompat.widget.ResourceManagerInternal.getDrawable (ResourceManagerInternal.java:135)
androidx.appcompat.content.res.AppCompatResources.getDrawable (AppCompatResources.java:104)
androidx.appcompat.widget.AppCompatImageHelper.loadFromAttributes (AppCompatImageHelper.java:63)
androidx.appcompat.widget.AppCompatImageView. (AppCompatImageView.java:82)
androidx.appcompat.widget.AppCompatImageView. (AppCompatImageView.java:69)
androidx.appcompat.app.AppCompatViewInflater.createImageView (AppCompatViewInflater.java:199)
androidx.appcompat.app.AppCompatViewInflater.createView (AppCompatViewInflater.java:119)
androidx.appcompat.app.AppCompatDelegateImpl.createView (AppCompatDelegateImpl.java:1563)
androidx.appcompat.app.AppCompatDelegateImpl.onCreateView (AppCompatDelegateImpl.java:1614)

image

Below is the device info in which i'm getting this ANR

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions