简体   繁体   English

Android Studio错误:将字节码转换为dex时出错:原因:java.lang.RuntimeException:异常解析类

[英]Android Studio Error: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 错误:将字节码转换为dex时出错:原因:java.lang.RuntimeException:异常解析类

I got this error after merging my files. 合并文件后出现此错误。 I spend around one day to resolve this. 我花了大约一天的时间来解决这个问题。 Searched other stackoverflow answers, nothing worked. 搜索其他stackoverflow答案,没有任何效果。

after spending about a day, i found the answer. 花了大约一天后,我找到了答案。 There was package capitalization mismatch. 包装大小写不匹配。 my package was com.example.utils, but in some android file it was imported as com.example.Utils 我的包是com.example.utils,但在某些android文件中,它是作为com.example.Utils导入的

I hope this will help others to save a day or two. 我希望这可以帮助其他人节省一两天。 Gradle should be more smart to point right problem than giving some general Exception parsing classes Gradle应该比提供一些一般的Exception解析类更聪明地指出正确的问题

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将字节码转换为dex时出错:原因:java.lang.RuntimeException:异常解析类 - Android studio 2.0 beta 6 - Error converting bytecode to dex: Cause: java.lang.RuntimeException: Exception parsing classes - Android studio 2.0 beta 6 Gradle 错误:错误:将字节码转换为 dex 时出错:原因:java.lang.RuntimeException:异常解析类 - Gradle error: Error:Error converting bytecode to dex: Cause: java.lang.RuntimeException: Exception parsing classes 异常,将字节码转换为dex时出错,异常解析类,dex处理返回代码1 - Exception, Error converting bytecode to dex, Exception parsing classes, Return code 1 for dex process 错误:java.lang.RuntimeException:java.lang.RuntimeException:com.android.builder.dexing.DexArchiveMergerException:无法合并 dex - Error:java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex 将字节码转换为dex时出错:原因:com.android.dex.DexException: - Error converting bytecode to dex: Cause: com.android.dex.DexException: 错误:将字节码转换为dex时出错:原因:未找到:Ljava / lang / Object; - Error:Error converting bytecode to dex: Cause: not found: Ljava/lang/Object; android studio将字节码转换为dex时出错 - android studio Error converting bytecode to dex Android Studio 2.3将字节码转换为dex时出错 - Android Studio 2.3 Error converting bytecode to dex Android Studio 2.1将字节码转换为dex时出错 - Android Studio 2.1 Error converting bytecode to dex Android Studio:将字节码转换为dex时出错 - Android Studio: Error converting bytecode to dex
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM