Android开发 Resources$NotFoundException: File res/drawable/abc_vector_test.xml from xml
来源:互联网 发布:网络多媒体新闻 编辑:程序博客网 时间:2024/04/30 00:52
今天写了一个demo,打包的时候出现的异常,大概就是标题的意思,签名就出问题,不签名就没事,按照很多吃瓜群众的意思在app的build.gradle的Android defaultConfig配置了
vectorDrawables.useSupportLibrary = true
这样也是不行的,
解决方案:
给工程的build.gradle降级,出现错误的版本:
classpath 'com.android.tools.build:gradle:2.3.0'
改成:
classpath 'com.android.tools.build:gradle:2.2.0'
好,这样签名打包就没有问题了
——————————2017年3月6日11:38:32—————————————-
1 0
- Android开发 Resources$NotFoundException: File res/drawable/abc_vector_test.xml from xml
- NotFoundException: File res/drawable/abc_vector_test.xml from drawable resourceID
- Caused by: android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml fr
- Android资源文件问题:Resources$NotFoundException: File res/drawable/abc_vector_test.xml
- Exception android.content.res.Resources$NotFoundException: File res/drawable/my.xml from drawable re
- 华为手机碰到的问题记录-NotFoundException: File res/drawable/abc_vector_test.xml from drawable resource ID
- android.content.res.Resources$NotFoundException: File res/drawable/ripple_round_blue.xml
- File res/drawable/abc_vector_test.xml from drawable resource ID
- File res/drawable/abc_vector_test.xml from drawable resource ID
- [糊里糊涂解决] android.content.res.Resources$NotFoundException: File res/drawable/selector_edit.xml fro
- NotFoundException: File res/drawable/abc_ic_ab_back_material.xml from drawable resource
- 【BUG】android.content.res.Resources$NotFoundException: File res/drawable-xxhdpi/toolbar_line.png from
- Caused by: android.content.res.Resources$NotFoundException: File res/drawable/***
- android错误之 Caused by: android.content.res.Resources$NotFoundException: File res/anim/snailanim.xml f
- Caused by: android.content.res.Resources$NotFoundException: File res/drawable-mdpi/
- Caused by: android.content.res.Resources$NotFoundException: File res/drawable/main_tab_conversation_
- 解决Android.content.res.Resources$NotFoundException: File res/layout/...异常
- android.content.res.Resources$NotFoundException: Resource is not a Drawable
- 词法作用域
- Unity 5 中的全局光照技术详解
- Eclipse中添加Shell脚本(如start.sh)
- linux 基础学习之权限管理命令
- An adaptive weighting parameter selection for improved integrated active contour model
- Android开发 Resources$NotFoundException: File res/drawable/abc_vector_test.xml from xml
- js通过name直接访问目标文档对象
- js限制输入框只能输入数字、负数和小数点
- Git
- java与javax有什么区别?
- cookie的正确使用
- 深入简出的ngin
- CentOS | 用VMware安装CentOS之后的设置
- linux搭建svn服务器