Error:Error converting bytecode to dex: Cause: java.lang.RuntimeException: Exception parsing classes
2017-07-13 20:26
501 查看
错误提示:
Error:Error converting bytecode to dex: Cause: java.lang.RuntimeException: Exception parsing classes
在制作简易新闻客户端的时候,在compile MagicIndicator的库以后报错,然后在百度上搜了半天,最后在stackoverflow上看到有人给出下面解决方案
defaultConfig {
multiDexEnabled true
}
同时dependencies {
.......
compile 'com.android.support:multidex:1.0.0'
}
这样做了以后发现还是有点问题,于是继续搜索,最后在一篇博客中看到了
build本身的问题,可能是build缓存的问题,解决方法也很简单,只需要clean下工程,然后在rebuild,问题也可以解决。
所以,在经过修改defaultConfig以及clean、rebuild、以后成功的解决了问题。
Error:Error converting bytecode to dex: Cause: java.lang.RuntimeException: Exception parsing classes
在制作简易新闻客户端的时候,在compile MagicIndicator的库以后报错,然后在百度上搜了半天,最后在stackoverflow上看到有人给出下面解决方案
defaultConfig {
multiDexEnabled true
}
同时dependencies {
.......
compile 'com.android.support:multidex:1.0.0'
}
这样做了以后发现还是有点问题,于是继续搜索,最后在一篇博客中看到了
build本身的问题,可能是build缓存的问题,解决方法也很简单,只需要clean下工程,然后在rebuild,问题也可以解决。
所以,在经过修改defaultConfig以及clean、rebuild、以后成功的解决了问题。
相关文章推荐
- Error converting bytecode to dex: Cause: java.lang.RuntimeException: Exception parsing classes
- Error:Error converting bytecode to dex: Cause: java.lang.RuntimeException: Exception parsing classes
- BUILD FAILED|Error:Error converting bytecode to dex|Cause: Exception parsing classes
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexIndexOverflowException: Cannot mer
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files defi
- Android Studio下遇到error::Error converting bytecode to dex: Cause: com.Android.dex.DexException:
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/adp;
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexIndexOverflowException,解决65536
- Error:Error converting bytecode to dex:Cause: com.android.dex.DexException: Multiple dex files defin
- Android Studio下遇到error::Error converting bytecode to dex: Cause: com.Android.dex.DexException:
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files defi
- java-Android Error:Error converting bytecode to dex: Cause: Dex cannot parse version 52 byte code.
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files de
- Android Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex fi
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files defi
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lcom/lidroid/xutils/task/TaskHandler;
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files defi
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files defi
- webx3项目把修改的二方库加入项目中重新报Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMap/select'
- Error:Error converting bytecode to dex: Cause: Dex cannot parse version 52 byte code. This is caused