Hi,
I got interested in gvSigMini for Android project after reading out about its
features at following link -
https://confluence.prodevelop.es/display/GVMN/Features
So thought about how to leverage the open source code so as to make it useful
for one of my projects.
I have been able to download and compile the source code as per instructions
suggested in the confluence.
However, I am facing following runtime problem at the time of launching the
application.
[2015-07-07 18:31:17 - es.prodevelop.gvsig.mini] Dx warning: Ignoring
InnerClasses attribute for an anonymous inner class
(org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl$2) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2015-07-07 18:31:17 - es.prodevelop.gvsig.mini] Dx
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dx.cf.iface.ParseException: bad utf-8 byte a0 at offset 00000004
at
com.android.dx.cf.cst.ConstantPoolParser.parseUtf8(ConstantPoolParser.java:374)
at
com.android.dx.cf.cst.ConstantPoolParser.parse0(ConstantPoolParser.java:262)
at
com.android.dx.cf.cst.ConstantPoolParser.parse0(ConstantPoolParser.java:294)
at
com.android.dx.cf.cst.ConstantPoolParser.parse(ConstantPoolParser.java:150)
at
com.android.dx.cf.cst.ConstantPoolParser.parseIfNecessary(ConstantPoolParser.java:124)
at
com.android.dx.cf.cst.ConstantPoolParser.getPool(ConstantPoolParser.java:115)
at
com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:482)
at
com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)
at
com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388)
at
com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251)
at com.android.dx.command.dexer.Main.processClass(Main.java:704)
at
com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)
at com.android.dx.command.dexer.Main.access$300(Main.java:83)
at
com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602)
at
com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
at
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
at com.android.dx.command.dexer.Main.processOne(Main.java:632)
at
com.android.dx.command.dexer.Main.processAllFiles(Main.java:510)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:280)
at com.android.dx.command.dexer.Main.run(Main.java:246)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
com.android.ide.eclipse.adt.internal.build.DexWrapper.run(DexWrapper.java:188)
at
com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:786)
at
com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(PostCompilerBuilder.java:597)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:329)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:404)
at
org.eclipse.core.internal.resources.Project$1.run(Project.java:556)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
at
org.eclipse.core.internal.resources.Project.internalBuild(Project.java:534)
at
org.eclipse.core.internal.resources.Project.build(Project.java:119)
at
com.android.ide.eclipse.adt.internal.project.ProjectHelper.doFullIncrementalDebugBuild(ProjectHelper.java:1143)
at
com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(LaunchConfigDelegate.java:155)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.IllegalArgumentException: bad utf-8 byte a0 at offset
00000004
at
com.android.dx.rop.cst.CstString.throwBadUtf8(CstString.java:171)
at
com.android.dx.rop.cst.CstString.utf8BytesToString(CstString.java:143)
at com.android.dx.rop.cst.CstString.<init>(CstString.java:200)
at
com.android.dx.cf.cst.ConstantPoolParser.parseUtf8(ConstantPoolParser.java:371)
... 43 more
...while parsing cst 00bf at offset 000008dd
...while parsing cst 003c at offset 00000109
...while parsing org/apache/xerces/impl/xpath/regex/ParserForXMLSchema.class
[2015-07-07 18:31:17 - es.prodevelop.gvsig.mini] Dx 1 error; aborting
[2015-07-07 18:31:17 - es.prodevelop.gvsig.mini] Conversion to Dalvik format
failed with error 1
Could anybody please suggest how can I get around this problem?
Kind Regards
Amitabh Basu
"Disclaimer: This message and any attachments contain information that may be
RMSI Private Limited. confidential and/or privileged. If you are not the
intended recipient (or authorized to receive for the intended recipient), and
have received this message in error, any use, disclosure or distribution is
strictly prohibited. If you have received this message in error, please notify
the sender immediately by replying to the e-mail and permanently deleting the
message from your computer and/or storage system" http://www.rmsi.com
_______________________________________________
Gvsig_internacional mailing list
[email protected]
To see the archives, edit your preferences or unsubscribe from this mailing
list, please access this url:
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional