Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InflateException occured due to ResourceNotFoundException in CountryCodeAdapter #573

Open
devanshu6445 opened this issue Feb 27, 2023 · 0 comments

Comments

@devanshu6445
Copy link

Stack Trace -
android.content.res.ResourcesImpl.getValue (ResourcesImpl.java:215)
android.content.res.Resources.getValue (Resources.java:1316)
androidx.appcompat.widget.ResourceManagerInternal.createDrawableIfNeeded (ResourceManagerInternal.java:181)
androidx.appcompat.widget.ResourceManagerInternal.getDrawable (ResourceManagerInternal.java:146)
androidx.appcompat.widget.ResourceManagerInternal.getDrawable (ResourceManagerInternal.java:137)
androidx.appcompat.content.res.AppCompatResources.getDrawable (AppCompatResources.java:66)
androidx.appcompat.widget.AppCompatImageHelper.loadFromAttributes (AppCompatImageHelper.java:64)
androidx.appcompat.widget.AppCompatImageView. (AppCompatImageView.java:86)
androidx.appcompat.widget.AppCompatImageView. (AppCompatImageView.java:73)
androidx.appcompat.app.AppCompatViewInflater.createImageView (AppCompatViewInflater.java:211)
androidx.appcompat.app.AppCompatViewInflater.createView (AppCompatViewInflater.java:130)
androidx.appcompat.app.AppCompatDelegateImpl.createView (AppCompatDelegateImpl.java:1682)
androidx.appcompat.app.AppCompatDelegateImpl.onCreateView (AppCompatDelegateImpl.java:1733)
android.view.LayoutInflater.createViewFromTag (LayoutInflater.java:772)
android.view.LayoutInflater.createViewFromTag (LayoutInflater.java:730)
android.view.LayoutInflater.rInflate (LayoutInflater.java:863)
android.view.LayoutInflater.rInflateChildren (LayoutInflater.java:824)
android.view.LayoutInflater.rInflate (LayoutInflater.java:866)
android.view.LayoutInflater.rInflateChildren (LayoutInflater.java:824)
android.view.LayoutInflater.inflate (LayoutInflater.java:515)
android.view.LayoutInflater.inflate (LayoutInflater.java:423)
com.hbb20.CountryCodeAdapter.onCreateViewHolder (CountryCodeAdapter.java:167)
com.hbb20.CountryCodeAdapter.onCreateViewHolder (CountryCodeAdapter.java:28)
androidx.recyclerview.widget.RecyclerView$Adapter.createViewHolder (RecyclerView.java:7295)
androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline (RecyclerView.java:6416)
androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition (RecyclerView.java:6300)
androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition (RecyclerView.java:6296)
androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next (LinearLayoutManager.java:2330)
androidx.recyclerview.widget.LinearLayoutManager.layoutChunk (LinearLayoutManager.java:1631)
androidx.recyclerview.widget.LinearLayoutManager.fill (LinearLayoutManager.java:1591)
androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren (LinearLayoutManager.java:668)
androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2 (RecyclerView.java:4309)
androidx.recyclerview.widget.RecyclerView.dispatchLayout (RecyclerView.java:4012)
androidx.recyclerview.widget.RecyclerView.onLayout (RecyclerView.java:4578)
android.view.View.layout (View.java:19659)
android.view.ViewGroup.layout (ViewGroup.java:6075)
android.widget.RelativeLayout.onLayout (RelativeLayout.java:1083)
android.view.View.layout (View.java:19659)
android.view.ViewGroup.layout (ViewGroup.java:6075)
android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
android.widget.FrameLayout.onLayout (FrameLayout.java:261)
android.view.View.layout (View.java:19659)
android.view.ViewGroup.layout (ViewGroup.java:6075)
android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
android.widget.FrameLayout.onLayout (FrameLayout.java:261)
android.view.View.layout (View.java:19659)
android.view.ViewGroup.layout (ViewGroup.java:6075)
android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
android.widget.FrameLayout.onLayout (FrameLayout.java:261)
android.view.View.layout (View.java:19659)
android.view.ViewGroup.layout (ViewGroup.java:6075)
android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
android.widget.FrameLayout.onLayout (FrameLayout.java:261)
com.android.internal.policy.DecorView.onLayout (DecorView.java:761)
android.view.View.layout (View.java:19659)
android.view.ViewGroup.layout (ViewGroup.java:6075)
android.view.ViewRootImpl.performLayout (ViewRootImpl.java:2496)
android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2212)
android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1392)
android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:6752)
android.view.Choreographer$CallbackRecord.run (Choreographer.java:911)
android.view.Choreographer.doCallbacks (Choreographer.java:723)
android.view.Choreographer.doFrame (Choreographer.java:658)
android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:897)
android.os.Handler.handleCallback (Handler.java:790)
android.os.Handler.dispatchMessage (Handler.java:99)
android.os.Looper.loop (Looper.java:164)
android.app.ActivityThread.main (ActivityThread.java:6494)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:438)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:807)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant