2011-09-06 44 views
0

我在android上使用httpclient,並且已將所有外部jar添加到我的類路徑中。然而,當我啓動eclipse時,它給了我java堆空間的錯誤,所以我進入了.ini文件,並且「增加了」數字,並且它工作正常。但是,當我嘗試在我的android模擬器上啓動應用程序時,無法啓動,當我嘗試在手機上加載應用程序時,即使我的手機上打開了unliscenced來源,也無法安裝它。是否有可能我的android項目中有「太多」.jar文件?另外,當我建立工作區時,我的項目中出現錯誤,請看下面的波紋管Android編程HtmlUnit

非常感謝!

[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. 

回答