JOHN JOHNNNY

JOHN JOHNNNY

  • NA
  • 190
  • 134.6k

Caused by: android.content.res.resources$notfoundexception:

Dec 30 2016 1:23 PM
Hi i everyone have been struggling with this for a while now whenever i tested my app in the device it crashes showing the below result

Process: com.logicverse.akinyemi.bchmcqfirstyearmbbs, PID: 29285
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.logicverse.akinyemi.bchmcqfirstyearmbbs/com.logicverse.akinyemi.bchmcqfirstyearmbbs.SplashActivity}: android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f020052
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2338)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2390)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5299)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:825)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f020052
at android.content.res.Resources.loadDrawable(Resources.java:2152)

this is my build.gradle code below
apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.3"

defaultConfig {
applicationId "com.logicverse.akinyemi.bchmcqfirstyearmbbs"
minSdkVersion 10
targetSdkVersion 23
multiDexEnabled true
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

dexOptions {
incremental true
javaMaxHeapSize "3g"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}

dependencies {
compile files('libs/aspose-cells-8.3.1.jar')
compile files('libs/bcprov-jdk15-146.jar')
compile files('libs/nineoldandroids-library-2.4.0.jar')
compile files('libs/renderscript-v8.jar')
compile files('libs/Parse-1.10.0.jar')
compile 'com.android.support:support-v4:24.2.1'
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:design:23.2.0'
compile 'com.google.android.gms:play-services:9.6.1'
compile 'com.android.support:multidex:1.0.0'
compile 'com.parse.bolts:bolts-android:1.+'
}

Kindly help

Answers (2)