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

查看:106
本文介绍了当我尝试添加外部jar时,转换为dalvik格式失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Zend Studio 7.2作为我的主IDE。我开发Android应用程序我想和html解析器一起工作,但是添加外部jar我总是遇到同样的问题转换为dalvik格式失败,eclipse需要很多时间来构建工作空间。



任何想法?

解决方案

解决问题,这里有用的链接
链接文本



以下步骤帮助


  1. 右键单击Eclipse中的项目,选择构建路径 - >添加库...

  2. 从列表中选择用户库,然后单击下一步。

  3. 单击用户库按钮。

  4. 在用户库对话框中单击新建...。

  5. 给用户库一个名称,并选择系统库复选框,然后单击确定

  6. 突出显示列表中新添加的用户库,然后单击e添加JAR ...按钮并添加所需的jar文件。

  7. 在用户库对话框中单击确定。

  8. 确保新的用户库在添加库对话框中选中...


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 …

这篇关于当我尝试添加外部jar时,转换为dalvik格式失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆