This app has been built with an incorrect configuration. Please configure your build for VectorDrawa
来源:互联网 发布:广告录音软件 编辑:程序博客网 时间:2024/05/16 05:22
错误:java.lang.RuntimeException: Unable to start activity ComponentInfo{www.xjlx520.com.lianxi_autolayout/www.xjlx520.com.lianxi_autolayout.MainActivity}: java.lang.IllegalStateException: This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat.
at www.xjlx520.com.lianxi_autolayout.MainActivity.onCreate(MainActivity.java:16)
这是因为 gradle的版本低了,所以改成
dependencies { classpath 'com.android.tools.build:gradle:2.0.0'//把这里改成2.0.0以上的版本 // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files}上面的与下面的不一样(两个gradle表达的是不一样的意思)
然后:
public class App extends Application { public void onCreate() { super.onCreate(); AutoLayoutConifg.getInstance().useDeviceSize(); }}
0 0
- 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
- 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
- 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 VectorDra
- This app has been built with an incorrect configuration. Please configure your build for VectorDraw
- This app has been built with an incorrect configuration. Please configure your build for VectorDraw
- java.lang.IllegalStateException: This app has been built with an incorrect configuration. Please co
- Caused by: java.lang.IllegalStateException: This app has been built with an incorrect configuration.
- android真机测试报错:Please configure your build for VectorDrawa
- Please configure your build for VectorDrawableCompat.
- Please configure your build for VectorDrawableCompat问题
- RuntimeException-- Please configure your build for VectorDrawableCompat问题
- 导入pullloadmorerecyclerview库出现错误:Please configure your build for VectorDrawableCompat
- 在导入com.android.support:design时的常见错误Please configure your build for VectorDrawableCompat
- Linux常用命令学习
- Statement 和 PreparedStatement的比较
- JS中数据类型及原生对象简介
- Spark变量访问总结
- hdu5902 GCD is Funny
- This app has been built with an incorrect configuration. Please configure your build for VectorDrawa
- 谱范数的理解与论述
- 常用纹理和纹理压缩格式
- 高仿途牛App下拉顶部滑出更多
- 请求转发与重定向的区别
- 第三方库-Universal-Image-Loader
- 激情撸一发,“爱尚阅”app
- bat脚本_常见命令
- Activity生命周期