草庐IT

SimException

全部标签

android - 未捕获的翻译 SimException : dx. rop.cst.CstInterfaceMethodRef 无法转换为 com.android.dx.rop.cst.CstMethodRef (Proguard)

我的团队和我一直在努力解决我们在进入Beta版之前尝试混淆我们的Android应用程序时遇到的异常。我们得到的异常是:Error:Uncaughttranslationerror:com.android.dx.cf.code.SimException:com.android.dx.rop.cst.CstInterfaceMethodRefcannotbecasttocom.android.dx.rop.cst.CstMethodRefPossiblecausesforthisunexpectederrorinclude:Gradle'sdependencycachemaybecorru

android - 使用 Proguard 编译给出 SimException : "local variable type mismatch"

当我在启用Proguard的情况下编译我的Android应用程序时,我收到以下错误:-dex:[echo]Convertingcompiledfilesandexternallibrariesinto/home/ka/dev/workspace/ImPress/build/classes.dex...[apply][apply]UNEXPECTEDTOP-LEVELEXCEPTION:[apply]com.android.dx.cf.code.SimException:localvariabletypemismatch:attempttosetoraccessavalueoftypej

android - 使用 Proguard 编译给出 SimException : "local variable type mismatch"

当我在启用Proguard的情况下编译我的Android应用程序时,我收到以下错误:-dex:[echo]Convertingcompiledfilesandexternallibrariesinto/home/ka/dev/workspace/ImPress/build/classes.dex...[apply][apply]UNEXPECTEDTOP-LEVELEXCEPTION:[apply]com.android.dx.cf.code.SimException:localvariabletypemismatch:attempttosetoraccessavalueoftypej

java - 未捕获的翻译错误 : com. android.dx.cf.code.SimException

我有一个项目有多个BuildVariants并且对于AndroidStudio的第一次构建(使用jdk1.8或1.7,无关紧要)它失败并出现以下错误但奇怪的是第二次运行它的工作,非常烦人和耗时::app:transformClassesWithDexForBuildVariantDebugUncaughttranslationerror:com.android.dx.cf.code.SimException:localvariabletypemismatch:attempttosetoraccessavalueoftypejava.lang.String[]usingalocalvar