Localization
Localization copied to clipboard
Version 1.2.9 => Getting ANR issue in LocalizationActivityDelegate.kt file.
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.
Below is the device info in which i'm getting this ANR
I am getting the same issue while inflating Resources in multiple OS. Please provide a solution.
Hi, @akexorcist, Please do something for this ANR it is too much after updating the library. Currently used version: 1.2.9
I am also facing the same issue.
Hi, Any update on this?
Since AndroidX AppCompat has per-app language preferences for backward compatibility. Please migrate this library to AndroidX for more stability, compatibility, and longer support from Google team.
Thank you for your support