如何解决转换为Dalvik的格式在Android中失败,出现错误1? [英] How to resolve Conversion to Dalvik format failed with error 1 in Android?

查看:121
本文介绍了如何解决转换为Dalvik的格式在Android中失败,出现错误1?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了一个示例应用程序使用 TabHost 。我收到以下错误:

I have written a sample application on using TabHost. I am getting the following error:

转换到的Dalvik格式失败,出现错误1

Conversion to Dalvik format failed with error 1

我如何解决上述问题?

推荐答案

首先,更新到了最新的ADT。我有同样的问题,它是通过在工具中的错误引起的。

First, update to the very latest ADT. I had the identical issue and it was caused by a bug in the tools.

二,清理受影响的项目,然后重试。

Second, clean the affected project and try again.

这篇关于如何解决转换为Dalvik的格式在Android中失败,出现错误1?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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