Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/398.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/233.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 Android编程HtmlUnit_Java_Android_Httpclient - Fatal编程技术网

Java Android编程HtmlUnit

Java Android编程HtmlUnit,java,android,httpclient,Java,Android,Httpclient,我在android上使用httpclient,我已经将所有外部JAR添加到我的类路径中。然而,当我启动eclipse时,它给了我java堆空间错误,所以我进入了.ini文件,我“增加”了数字,它成功了。然而,当我尝试在android emulator上启动应用程序时,它不会启动,当我尝试在手机上加载它时,它会说它无法安装,即使我在手机上打开了未设置场景的源。有没有可能我的android项目中有太多的.jar文件?我的项目在构建工作区时也会出错,请看下面 非常感谢 [2011-09-05 22:3

我在android上使用httpclient,我已经将所有外部JAR添加到我的类路径中。然而,当我启动eclipse时,它给了我java堆空间错误,所以我进入了.ini文件,我“增加”了数字,它成功了。然而,当我尝试在android emulator上启动应用程序时,它不会启动,当我尝试在手机上加载它时,它会说它无法安装,即使我在手机上打开了未设置场景的源。有没有可能我的android项目中有太多的.jar文件?我的项目在构建工作区时也会出错,请看下面

非常感谢

[2011-09-05 22:30:39 - AndroidTest] Dx warning: Ignoring InnerClasses attribute for an      
anonymous inner class
(org.apache.xalan.lib.sql.SecuritySupport12$8) 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.

HttpClient内置于Android框架中。使用HttpClient不需要添加另一个.jar文件


我还在看httpclient,谢谢。事实证明我在我的程序中使用了htmlunit。我觉得自己像个白痴:对不起。但我正在研究这个apache库