In the confusion that comes with the sdk package proguard occur when the following questions, I used a world map of the jar package, has been ruled out, but also not able to find, libs file path is right. I packed the other jar package contains a third party's there have been no problems. Are skeptical world map, and there but for the project needs, not really think the world map!
[2013-10-30 17:38:08 - jhsl_tianditu] Proguard returned with error code 1 See console<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
.[2013-10-30 17:38:08 - jhsl_tianditu] java.io.IOException: Can't read [E: \ Android_WorkSpace \ jhsl_tianditu \ libs \ tiandituapi2.0.3.jar] (Can't process class [com / tianditu / android / maps / MapView.class] (Unknown verification type [25] in stack map frame))
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.InputReader.readInput (InputReader.java: 230)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.InputReader.readInput (InputReader.java: 200)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.InputReader.readInput (InputReader.java: 178)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.InputReader.execute (InputReader.java: 78)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.ProGuard.readInput (ProGuard.java: 196)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.ProGuard.execute (ProGuard.java: 78)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.ProGuard.main (ProGuard.java: 492)
[2013-10-30 17:38:08 - jhsl_tianditu] Caused by: java.io.IOException: Can't process class [com / tianditu / android / maps / MapView.class] (Unknown verification type [25] in stack map frame)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.io.ClassReader.read (ClassReader.java: 112)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.io.FilteredDataEntryReader.read (FilteredDataEntryReader.java: 87)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.io.JarReader.read (JarReader.java: 65)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.io.DirectoryPump.readFiles (DirectoryPump.java: 65)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.io.DirectoryPump.pumpDataEntries (DirectoryPump.java: 53)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.InputReader.readInput (InputReader.java: 226)
[2013-10-30 17:38:08 - jhsl_tianditu] ... 6 more
[2013-10-30 17:38:08 - jhsl_tianditu] Caused by: java.lang.RuntimeException: Unknown verification type [25] in stack map frame
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.classfile.io.ProgramClassReader.createVerificationType (ProgramClassReader.java: 890)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.classfile.io.ProgramClassReader.visitFullFrame (ProgramClassReader.java: 659)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.classfile.attribute.preverification.FullFrame.accept (FullFrame.java: 114)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.classfile.io.ProgramClassReader.visitStackMapTableAttribute (ProgramClassReader.java: 452)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.classfile.attribute.preverification.StackMapTableAttribute.accept (StackMapTableAttribute.java: 71)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.classfile.io.ProgramClassReader.visitCodeAttribute (ProgramClassReader.java: 422)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.classfile.attribute.CodeAttribute.accept (CodeAttribute.java: 101)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.classfile.io.ProgramClassReader.visitProgramMethod (ProgramClassReader.java: 200)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.classfile.io.ProgramClassReader.visitProgramClass (ProgramClassReader.java: 142)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.classfile.ProgramClass.accept (ProgramClass.java: 346)
[2013-10-30 17:38:08 - jhsl_tianditu] at proguard.io.ClassReader.read (ClassReader.java: 91)
[2013-10-30 17:38:08 - jhsl_tianditu] ... 11 more
Reply:
First try in the proguard-project.txt plus package definition, for example:
-Libraryjars libs/ksoap2-android-assembly-2.4-jar-with-dependencies.jar
Have to step signature?
Reply:
-Libraryjars content has been added, the path to determine the right. The other three packages are also written so no problem, not the world map. Solve intend to give up, after not intend to use the world map, and how to catch up with Google Baidu looking to a two decades.
Reply:
Usually if DEBUG when used, that the confusion and signature should also usable, and most did not do a good job there, where, for example, you can try in the project properties in the Java Build Path in the Order and Export in the choice of your JAR try again. But to say from the map, the world map really heard what may be my ignorance, and has been with the high moral and Baidu Map
Reply:
android libs folder is not there it has been included in the java Build Path. If you can not confuse the signature is packaged. The world map is the geographic center of the country to engage in a mess, so many government departments have begun to use this, but said that his image map of the United States or to buy most of the commercial. Forget not to engage in this stuff up. Currently found this jar plus project should not be confused, others are possible.
Reply:
The landlord did not solve the problem?
Reply:
The landlord, the problem is not solved, seeking to share! Thank you!
No comments:
Post a Comment