java - Proguard:IllegalArgumentException - 不是整数值 [proguard.evaluation.value.TypedReferenceValue]
问题描述
请帮帮我!
我一直在尝试通过放置以下任何规则来克服这个问题并查看各种解决方案,但它仍然不起作用:
-优化!方法/删除/参数
-优化!类/拆箱/枚举
如果我提出以下规则,它会起作用,但我不完全理解它的功能,我怀疑它的用途:
-不要优化
这是我得到的错误
Unexpected error while evaluating instruction:
Class = [com/test/proyect/recognizers/documents/UsdlFrontDocument]
Method = [buildResponseData()Lcom/test/proyect/recognizers/ResponseData;]
Instruction = [18] ificmpeq +5 (target=23)
Exception = [java.lang.IllegalArgumentException] (Value "com/microblink/entities/recognizers/Recognizer$Result$State?" is not an integer value [proguard.evaluation.value.TypedReferenceValue])
Unexpected error while performing partial evaluation:
Class = [com/test/proyect/recognizers/documents/UsdlFrontDocument]
Method = [buildResponseData()Lcom/test/proyect/recognizers/ResponseData;]
Exception = [java.lang.IllegalArgumentException] (Value "com/microblink/entities/recognizers/Recognizer$Result$State?" is not an integer value [proguard.evaluation.value.TypedReferenceValue])
解决方案
推荐阅读
- java - 如何在 onCreate 方法中使用 Bundle savedInstanceState?
- bash - 如何在 bash 中使用输出将其分配为变量
- artificial-intelligence - 关于使用解析对某些子句进行反驳的问题
- django - Django 1.11 - 在管理员字段中添加条件
- javascript - 在子挂载上访问子组件中的父 Ref
- c# - 从gridview读取数据,然后追加到文本框
- python - 如何将带有子图的代码修改为实时动画?
- pari - 如何返回集合的大小
- sorting - 客户端 graphQL 排序 - 可以添加一个按钮,将 graphql 查询排序从 ASC 反转为 DESC?
- angularjs - 使两个轮播同时使用相同的下一个和上一个箭头按钮