安卓:转换到的Dalvik格式失败:无法执行DEX:空 [英] Android: Conversion to Dalvik format failed: Unable to execute dex: null

查看:173
本文介绍了安卓:转换到的Dalvik格式失败:无法执行DEX:空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用 SmugFig SmugMug的API在Android上。它是专为J2SE我会想象,所以我不知道它甚至会工作在Android,但我想这是值得一试,而不是试图创建自己的API。

I'm trying to use the SmugFig SmugMug API on Android. It was designed for J2SE I would imagine, so I'm not sure it will even work on Android, but I figured it was worth trying as opposed to trying to create my own API.

当我虽然加载项目,我得到以下错误:

When I load the project though, I get the following error:

Conversion to Dalvik format failed: Unable to execute dex: null

这并不是说失败是什么包,只是Android的包装问题,但它没有这样做之前,我加入SmugFig和它的依赖罐子构建路径。

It doesn't say what package it fails on, just "Android Packaging Problem", but it did not do this before I added SmugFig and it's dependency JARS to the build path.

我应该在哪里看?还是这主要是我,它只是不会与这些库的工作?

Where should I look? Or does this mainly me that it just won't work with those libraries?

推荐答案

我发现了一个博客文章,指出增加分配中的eclipse.ini此内存: -Xms128m -Xmx512m 或更高的东西,但是这并没有为我做。

I found a blog entry that says increase the memory allocated in eclipse.ini to this: -Xms128m -Xmx512m or something higher, but this didn't do it for me.

不过,我发现了另一个职位,建议做项目>清理和修复它为我。 我认为当你关闭Eclipse的W / O首先关闭模拟器下它发生。 pretty的跛脚错误。花了几个小时挖的解决方案今天上午... grrrrrrr: - (

However, I found another post that suggested doing Project > Clean and that fixed it for me. I think it happens when you shut down Eclipse w/o shutting the emulator down first. Pretty lame bug. Spent a few hours digging for the solution this morning...grrrrrrr :-(

这篇关于安卓:转换到的Dalvik格式失败:无法执行DEX:空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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