java.lang.IllegalStateException: This app has been built with an incorrect configuration. Please co
2017-11-08 16:24
1571 查看
今天遇到个问题之前没碰到过,记录一下java.lang.IllegalStateException: This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat
查看了网上的一些解决办法,很简单方式如下
产生的原因是:com.android.support:appcompat-v7与rasterized vectors不兼容,gradle2.0及其之上,library的资源没有栅格化,所以不会发生这个问题
1.在projectgradle中将gradle版本改为2.0或者之上
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
查看了网上的一些解决办法,很简单方式如下
产生的原因是:com.android.support:appcompat-v7与rasterized vectors不兼容,gradle2.0及其之上,library的资源没有栅格化,所以不会发生这个问题
1.在projectgradle中将gradle版本改为2.0或者之上
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
相关文章推荐
- Caused by: java.lang.IllegalStateException: This app has been built with an incorrect configuration.
- This app has been built with an incorrect configuration. Please configure your build for VectorDrawa
- This app has been built with an incorrect configuration. Please configure your build for VectorDrawa
- This app has been built with an incorrect configuration. Please configure your build for VectorDrawa
- Android gradle问题解决: This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat
- This app has been built with an incorrect configuration. Please configure your build for VectorDrawa
- This app has been built with an incorrect configuration. Please configure your build for VectorDrawa
- This app has been built with an incorrect configuration. Please configure your build for VectorDra
- This app has been built with an incorrect configuration. Please configure your build for VectorDrawa
- This app has been built with an incorrect configuration
- java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this a
- java.lang.IllegalStateException: getWriter() has already been called for this response问题解决
- java.lang.IllegalStateException: getOutputStream() has already been called for this response
- java.lang.IllegalStateException: getOutputStream() has already been called for this response
- java.lang.IllegalStateException: getOutputStream() has already been called for this response解决方法及解释
- java.lang.IllegalStateException: getOutputStream() has already been called for this response
- java.lang.IllegalStateException: This Activity already has an action bar supplied by the window deco
- java.lang.IllegalStateException: getOutputStream() has already been called for this response
- java.lang.IllegalStateException: This Activity already has an action bar supplied by the window deco
- Java.lang.IllegalStateException: getOutputStream() has already been called for this response