[proguard] Optimizing... [proguard]
Unexpected error while evaluating
instruction: [proguard] Class
= [net/domain/packagename/service/ExifEditor]
[proguard] Method =
[setGpsLocation(DDDJ)V] [proguard]
Instruction = [294] aload_3 v3
[proguard] Exception =
[java.lang.IllegalArgumentException]
(Value is not a reference value
[proguard.evaluation.value.UnknownDoubleValue])
[proguard] Unexpected error while
performing partial evaluation:
[proguard] Class =
[net/domain/packagename/service/ExifEditor]
[proguard] Method =
[setGpsLocation(DDDJ)V] [proguard]
Exception =
[java.lang.IllegalArgumentException]
(Value is not a reference value
[proguard.evaluation.value.UnknownDoubleValue])
BUILD FAILED
D:\sdk\google\android-sdk-windows\tools\ant\main_rules.xml:430: java.lang.IllegalArgumentException:
Value is not a reference value
[proguard.evaluation.value.UnknownDoubleValue]
at proguard.evaluation.value.Value.referenceValue(Value.java:97)
at proguard.evaluation.Variables.aload(Variables.java:264)
at proguard.evaluation.Processor.visitVariableInstruction(Processor.java:677)
at proguard.classfile.instruction.VariableInstruction.accept(VariableInstruction.java:306)
at proguard.optimize.evaluation.PartialEvaluator.evaluateSingleInstructionBlock(PartialEvaluator.java:729)
at proguard.optimize.evaluation.PartialEvaluator.evaluateInstructionBlock(PartialEvaluator.java:560)
at proguard.optimize.evaluation.PartialEvaluator.evaluateInstructionBlockAndExceptionHandlers(PartialEvaluator.java:533)
...and so on...
方法"setGpsLocation“具有以下签名:
public void setGpsLocation(double longitude, double latitude, double altitude, long gpsTime) throws IOException
[proguard] Optimizing... [proguard]
Unexpected error while evaluating
instruction: [proguard] Class
= [org/apache/commons/fileupload/util/Streams]
[proguard] Method =
[copy(Ljava/io/InputStream;Ljava/io/OutputStream;Z[B)J]
[proguard] Instruction = [75]
aload_2 v2 [proguard] Exception
= [java.lang.IllegalArgumentException] (Value is not a reference value
[proguard.evaluation.value.UnknownIntegerValue])
[proguard] Unexpected error while
performing partial evaluation:
[proguard] Class =
[org/apache/commons/fileupload/util/Streams]
[proguard] Method =
[copy(Ljava/io/InputStream;Ljava/io/OutputStream;Z[B)J]
[proguard] Exception =
[java.lang.IllegalArgumentException]
(Value is not a reference value
[proguard.evaluation.value.UnknownIntegerValue])
我很难找到这个错误意味着什么的信息。
还有其他人见过类似的东西吗?
更新
当更改签名似乎解决了这个问题时,我遇到了运行时崩溃:
I/dalvikvm(30523): Could not find method a.b.a.b.d.b, referenced from method a.b.a.b.d.a
W/dalvikvm(30523): VFY: unable to resolve direct method 440: La/b/a/b/d;.b (Ljava/lang/String;[BII)La/b/a/b/a;
D/dalvikvm(30523): VFY: replacing opcode 0x70 at 0x0039