0

http://tools.android.com/recent/dealingwithdependenciesinandroidprojectsの最初のセクションでは、

With no other setup needed than adding Library Projects as a dependency in 
project.properties, a project’s classpath is automatically populated with:   
The content of the project’s libs/*.jar   
The output of the Library Projects.  
The Library Projects’ libs/*.jar

何らかの理由で、それは私にとってはうまくいきません。私はandroid-eclipse bundleを使用しています。

問題は、Android Dependenciesフォルダを見ると、ライブラリ プロジェクトの libs フォルダから jar がインポートされていないことです。手動で追加しようとすると、すべてがコンパイルされますが、実行時に戻ってきて、jar に対して classDefinitionNotFound と言って (ここではJSONArray fromjson-simple-1.1.1.jar`.

これを修正する方法について何か考えはありますか?

4

0 に答える 0