Android Question Crash Report: android.content.res.Resources$NotFoundException

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,

I got the following crash report from a user in Google Play, but I can't work out what might of caused it.

Anyone know where to look?

Android 7.1
Nexus 6P (angler)

android.content.res.Resources$NotFoundException
in android.content.res.ResourcesImpl.getValue

android.content.res.Resources$NotFoundException: Resource ID #0x0
at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:190)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2101)
at android.content.res.Resources.getLayout(Resources.java:1115)
at android.view.LayoutInflater.inflate(LayoutInflater.java:424)
at android.view.LayoutInflater.inflate(LayoutInflater.java:377)
at android.widget.Editor$SuggestionsPopupWindow.initContentView(Editor.java:3343)
at android.widget.Editor$PinnedPopupWindow.<init>(Editor.java:3025)
at android.widget.Editor$SuggestionsPopupWindow.<init>(Editor.java:3309)
at android.widget.Editor.replace(Editor.java:356)
at android.widget.Editor$3.run(Editor.java:2129)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
 

DonManfred

Expert
Licensed User
Longtime User
I suggest to change your targetsdk to 14 or up to 22 (23 if needed)
 
Upvote 0

aaronk

Well-Known Member
Licensed User
Longtime User
I suggest to change your targetsdk to 14 or up to 22 (23 if needed)
Yeah, I was thinking of doing that but since the app has been running so smoothly for a year or two I didn't want to change too much in case it caused problems.

On my Android 7.1 device, my app works fine. So not sure if there is something else wrong somewhere. So far it's only 1 person who has sent a crash report.
 
Upvote 0
Top