-2

Today I decided to test my application on my old phone, the Nexus 5. I normally code and test on my Nexus 6 and everything works perfect. However, when I attempted to run the app on my Nexus 5 I get this Resources not found exception in my login screen onCreate:

Error message

After doing some digging on Stackoverflow I believe the error might have something to do with the Nexus5's default layout configuration. But, even after reading countless threads I still don't know where to start.

Here are some more screenshots that may be helpful:

onCreate Where error is thrown

My res files

Any help is appreciated!

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Willt42
  • 125
  • 2
  • 10

1 Answers1

1

Fixed. My Nexus 5 is running API 23, my nexus 6 is running 25. Created new drawable folder in res called "drawable-v23" and pasted all my drawables into it.

Also did this with my layout folder

Willt42
  • 125
  • 2
  • 10