I encountered this problem in the recent app I made. In my case, the problem was I put an image in the folder called drawable-v21, which is not available in older android API.
The solution is to put your drawable in drawable-…dpi folders too.
Hope that helps.
More Related Contents:
- Drawable shape like this one
- JDBC vs Web Service for Android
- Retrieve a Fragment from a ViewPager
- java.lang.RuntimeException: Unable to instantiate activity ComponentInfo
- Show and hide a View with a slide up/down animation
- Failed to resolve: com.google.firebase:firebase-core:11.2.0
- Android Studio marks R in red with error message “cannot resolve symbol R”, but build succeeds
- How to show an Activity BEFORE my app is uninstalled (Android) [duplicate]
- How to add an Android Studio project to GitHub [duplicate]
- Error inflating class android.support.v7.widget.Toolbar?
- “Failure Delivering Result ” – onActivityForResult
- Error 12501 authenticating with google sign-in
- android java.lang.IllegalStateException: Couldn’t read row 0, col 0 from CursorWindow
- Do Geofences remain active in android after a device reboot
- Android screen lock/ unlock programmatically [duplicate]
- java.lang.IllegalArgumentException: Can only use lower 16 bits for requestCode
- Configure Eclipse to use signed keystore
- Android – Wake Up and Unlock Device
- Change date string format in android
- How to access an image from the phone’s photo gallery?
- Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules guava-20.0.jar (com.google.guava:guava:20.0)
- Android sp vs dp texts – what would adjust the ‘scale’ and what is the philosophy of support
- Evenly spaced menu items on Toolbar
- Is there a way to hide the system/navigation bar in Android ICS
- Location of .apk file
- How to find the UUID of serial port Bluetooth device?
- Copy text from TextView on Android
- Android: Set Edit text or text view id Programmatically
- ANDROID_HOME is not set and “android” command not in your PATH Phonegap
- Is there a way to get current process name in Android