App Working Fine On Emulator But Crashes On Real Device
My project runs perfectly on android emulators (Pie 28 and Oreo 26) but when I tried to run it on my real phone which is Lollipop 5.1 ,My app is installed but it does not launch. E
Solution 1:
Caused by: android.content.res.Resources$NotFoundException: Resource "com.example.user.offlinemobilefinder:drawable/black" (7f060055) isnot a Drawable (color or path): TypedValue{t=0x1/d=0x7f060055 a=-1 r=0x7f060055}
Something wrong with your color drawable/black
Maybe duplicate of : Resources$NotFoundException: Resource is not a Drawable (color or path)?
Solution 2:
find out layout which is supported API, if your lower API would be 23 and you are using some function which is required API 25, so the problem occur, Find out.. like Select project file -> see in Layout and drawable, any file which is in diff api like -> drawable -> drawable-25 or ->Layout ->Layout-25 if found the move drawable-25 item into main drawable like wise for Layout also, it will solve proble
Post a Comment for "App Working Fine On Emulator But Crashes On Real Device"