当我尝试添加外部Jars时,转换为dalvik格式失败了[英] Converting to dalvik format failed when I try to add external Jars

本文是小编为大家收集整理的关于当我尝试添加外部Jars时,转换为dalvik格式失败了的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

我使用Zend Studio 7.2作为我的主要IDE.我开发Android应用程序.我想与HTML解析器一起工作,但是添加外部罐子,我总是会遇到相同的问题转换为dalvik格式失败和Eclipse需要大量时间来构建工作空间.

.

有什么想法?

推荐答案

解决了问题,这里有一个有用的链接 android.com/tips-for-and android-developer-conversion-to-dalvik-format-format-format---------------------------------------------------------------链接文本

以下步骤帮助

  1. 右键单击Eclipse项目,然后选择"构建路径 - >添加库……".
  2. 列表中选择用户库,然后单击下一步.
  3. 单击"用户库…"按钮.
  4. 在"用户库对话框"中单击"新…".
  5. 给用户库一个名称,然后选择系统库复选框,然后单击"确定".
  6. 突出显示列表中新添加的用户库,然后单击"添加罐子…"按钮并添加所需的jar文件.
  7. 单击"用户库"对话框.
  8. 确保在"添加库"对话框和…
  9. 中检查了新的用户库

本文地址:https://www.itbaoku.cn/post/102741.html

问题描述

I am using Zend Studio 7.2 as my main IDE. I develope android apps. I wanted to work with html parsers, however adding external jars I get always the same problem Converting to dalvik format failed and eclipse needs a lot of time to build workspace.

any ideas?

推荐答案

solved the problem, here a useful link link text

following steps helped

  1. Right-click the project in Eclipse and select “Build Path -> Add Libraries…”.
  2. Select User Library from the list and click Next.
  3. Click the “User Libraries…” button.
  4. Click “New…” in the User Libraries dialog.
  5. Give the user library a name and select the System library checkbox and click OK.
  6. Highlight the newly added user library in the list and click the “Add JARs…” button and add the desired jar files.
  7. Click OK on the User Libraries dialog.
  8. Make sure the new user library is checked in the Add Library dialog and …