Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/334.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/213.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java proguard和jdom错误编译android APK_Java_Android_Proguard_Geonames - Fatal编程技术网

Java proguard和jdom错误编译android APK

Java proguard和jdom错误编译android APK,java,android,proguard,geonames,Java,Android,Proguard,Geonames,我无法创建android应用程序的发行版,因为我使用的是geonames和jdom。jdom给出了以下错误: [2013-07-02 19:52:56 - <appname>] Proguard returned with error code 1. See console [2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath$NSContext: can't find supercla

我无法创建android应用程序的发行版,因为我使用的是geonames和jdom。jdom给出了以下错误:

[2013-07-02 19:52:56 - <appname>] Proguard returned with error code 1. See console

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath$NSContext: can't find superclass or interface org.jaxen.SimpleNamespaceContext

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.JDOMException: can't find referenced class java.rmi.RemoteException

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.JDOMException: can't find referenced class java.rmi.RemoteException

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.BaseXPath

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.JaxenException

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.SimpleVariableContext

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.jdom.JDOMXPath

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.jdom.JDOMXPath

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.BaseXPath

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.BaseXPath

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.BaseXPath

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.BaseXPath

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.BaseXPath

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.BaseXPath

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.SimpleVariableContext

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.BaseXPath

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.BaseXPath

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.jdom.JDOMXPath

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.JaxenException

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.JaxenException

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.JaxenException

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath: can't find referenced class org.jaxen.JaxenException

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath$NSContext: can't find referenced class org.jaxen.SimpleNamespaceContext

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath$NSContext: can't find referenced class org.jaxen.SimpleNamespaceContext

[2013-07-02 19:52:56 - <appname>] Warning: org.jdom.xpath.JaxenXPath$NSContext: can't find referenced class org.jaxen.SimpleNamespaceContext

[2013-07-02 19:52:56 - <appname>]       You should check if you need to specify additional program jars.

[2013-07-02 19:52:56 - <appname>] Warning: there were 25 unresolved references to classes or interfaces.

[2013-07-02 19:52:56 - <appname>]          You may need to specify additional library jars (using '-libraryjars').

[2013-07-02 19:52:56 - <appname>] java.io.IOException: Please correct the above warnings first.

[2013-07-02 19:52:56 - <appname>]   at proguard.Initializer.execute(Initializer.java:321)

[2013-07-02 19:52:56 - <appname>]   at proguard.ProGuard.initialize(ProGuard.java:211)

[2013-07-02 19:52:56 - <appname>]   at proguard.ProGuard.execute(ProGuard.java:86)

[2013-07-02 19:52:56 - <appname>]   at proguard.ProGuard.main(ProGuard.java:492)
[2013-07-02 19:52:56-]Proguard返回错误代码1。参见控制台
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath$NSContext:找不到超类或接口org.jaxen.SimpleNamespaceContext
[2013-07-02 19:52:56-]警告:org.jdom.jdomeException:找不到引用的类java.rmi.RemoteException
[2013-07-02 19:52:56-]警告:org.jdom.jdomeException:找不到引用的类java.rmi.RemoteException
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.BaseXPath
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.JaxenException
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.SimpleVariableContext
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.jdom.JDOMXPath
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.jdom.JDOMXPath
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.BaseXPath
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.BaseXPath
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.BaseXPath
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.BaseXPath
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.BaseXPath
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.BaseXPath
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.SimpleVariableContext
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.BaseXPath
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.BaseXPath
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.jdom.JDOMXPath
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.JaxenException
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.JaxenException
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.JaxenException
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath:找不到引用的类org.jaxen.JaxenException
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath$NSContext:找不到引用的类org.jaxen.SimpleNamespaceContext
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath$NSContext:找不到引用的类org.jaxen.SimpleNamespaceContext
[2013-07-02 19:52:56-]警告:org.jdom.xpath.JaxenXPath$NSContext:找不到引用的类org.jaxen.SimpleNamespaceContext
[2013-07-0219:52:56-]您应该检查是否需要指定其他程序JAR。
[2013-07-02 19:52:56-]警告:有25个未解析的类或接口引用。
[2013-07-02 19:52:56-]您可能需要指定其他库jar(使用“-libraryjars”)。
[2013-07-02 19:52:56-]java.io.IOException:请先更正上述警告。
[2013-07-0219:52:56-]at proguard.Initializer.execute(Initializer.java:321)
[2013-07-0219:52:56-]在proguard.proguard.initialize(proguard.java:211)
[2013-07-0219:52:56-]在proguard.proguard.execute(proguard.java:86)
[2013-07-0219:52:56-]在proguard.proguard.main(proguard.java:492)

JDOM版本1.x在Android上不受官方支持(尽管它们可能可以工作)。(有一些限制)

你的问题是,你没有移植到你的android系统。您需要确保您的项目包含jazenjar,否则您对jdomxpath的类依赖将无法工作


请注意,在JDOM 2.x中有一个问题。

JDOM 1.x版在Android上不受正式支持(尽管它们可能可以工作)。(有一些限制)

你的问题是,你没有移植到你的android系统。您需要确保您的项目包含jazenjar,否则您对jdomxpath的类依赖将无法工作

请注意,在JDOM2.x中有一个