No package ID ff found for ID 0xffffffff. at android.content.res.ResourcesImpl.getValueForDensity


I install android studio 4.0.0 and create blank template app. Then run got compile error. logcat shows error:

2020-07-23 13:09:40.213 2522-2522/? E/ndroid.systemu: No package ID ff found for ID 0xffffffff.
2020-07-23 13:09:40.215 2522-2522/? W/ImageView: Unable to find resource: -1
 android.content.res.Resources$NotFoundException: Resource ID #0xffffffff
     at android.content.res.ResourcesImpl.getValueForDensity(
    at android.content.res.Resources.getDrawableForDensity(
    at android.content.res.Resources.getDrawable(
    at android.content.Context.getDrawable(
    at android.widget.ImageView.resolveUri(
    at android.widget.ImageView.setImageResource(
    at android.view.View.layout(
    at android.view.ViewGroup.layout(
    at android.widget.LinearLayout.setChildFrame(
    at android.widget.LinearLayout.layoutHorizontal(
    at android.widget.LinearLayout.onLayout(
    at android.view.View.layout(
    at android.view.ViewGroup.layout(

How to fix this issue?

asked on Stack Overflow Jul 23, 2020 by jaqcool25 • edited Jul 23, 2020 by NathanOliver

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0