buildToolsVersion23.0.3 defaultConfig { applicationIdcom.logicverse.akinyemi.bchmcqfirstyearmbbs minSdkVersion 10 targetSdkVersion 23 multiDexEnabled true versionCode 1 versionName1.0 } buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile(' proguard-android.txt'),'proguard-rules.pro' } } dexOptions { 增量真实 javaMaxHeapSize3g } buildTypes { 发布{ minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.txt' } } } 依赖项{ 编译文件('libs / aspose-cells-8.3.1.jar') 编译文件('libs / bcprov-jdk15-146.jar') 编译文件('libs / nineoldandroids-library-2.4.0.jar') 编译文件('libs / renderscript-v8.jar') 编译文件('libs / Parse-1.10.0.jar') 编译'com.android.support:support-v4:24.2.1' 编译'com.android.support:appcompat-v7:24.2.1' compile' com.android.support:design:23.2.0' 编译'com.google.android.gms:play-services:9.6.1' compile'com。 android.support:multidex:1.0.0' 编译'com.parse.bolts:bolt-android:1。+' } 请帮助 我尝试过的事情: 已尝试过stackoverflow的建议,但应用程序仍然崩溃解决方案 NotFoundException:来自drawable资源ID的文件res / drawable / abc_vector_test.xml#0x7f020052 在android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2338) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2390) 在android.app.ActivityThread.access 800(ActivityThread.java:151) 在android.app.ActivityThread H.handleMessage(ActivityThread.java:1321) 在android.os.Handler.dispatchMessage (Handler.java:110) 在android.os.Looper.loop(Looper.java:193) 在android.app.ActivityThread.main(ActivityThread.java :5299) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) com.android.internal.os.ZygoteInit 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 resultProcess: 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 belowapply 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 helpWhat I have tried:Have tried suggestions on stackoverflow but the app still crash 解决方案 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.access800(ActivityThread.java:151) at android.app.ActivityThreadH.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 这篇关于引起:android.content.res.resources $ notfoundexception:来自可绘制资源ID的文件res / drawable / abc_vector_test.xml#0x7f020052的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 09-02 23:59