错误启动第一个测试应用程序:Android包装问题? [英] Error launching first test application: Android Packaging Problem?

查看:102
本文介绍了错误启动第一个测试应用程序:Android包装问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Conversion to Dalvik format failed: Unable to execute dex: 
wrapper was not properly loaded first   
[project]       
Android Packaging Problem

之前我从来没有使用Java或eclipse,我遵循这个介绍指南,所有通过谷歌搜索没有任何有用的结果。我猜这个问题是我已经用eclipse正确构建了Android的东西,但是我不知道,我按照这个指南来写信,一切都按照它解释了。

I've never worked with Java or eclipse before, I'm following this introductory guide and all searches via google return no helpful results. I'm guessing the problem is I have built Android stuff with eclipse properly but I have no idea, I followed this guide to the letter and everything went as it explains it should.


任何想法是什么导致这个问题,还是具体指导?如果是这样,我会在他们的帮助页面上发布。

Any ideas what caused this problem, or is it specific to the guide? If so I'll post on their help page.

我已经尝试做项目 - >源 - >清理,但没有修复任何东西。

I have tried doing project -> source -> clean up, but that didn't fix anything.

编辑:

我去了项目 - > Android工具 - > Dex字节码,并报告: p>

I went to Project -> Android tools -> Dex bytecode and it reported:

DexDump: missing classex.dex for project. Please compile first.

所以我想这是我的问题!不知道如何解决。

So I guess that's my problem! Not sure how to solve though.

推荐答案

正如我所说,我有同样的问题,所以我尝试了所有不同的版本和
然后我停止填写SDK版本号
,最后没有抱怨包装器。
此后,在创建新项目时编写SDK版本是完全正确的。

As I said, I had the same problem so I tried all the different versions and then I stopped filling in the SDK-version number and finally it did not complain anymore about the wrapper. After that it was totally fine to write the SDK-version when I created new projects.

希望它也适用于您。

这篇关于错误启动第一个测试应用程序:Android包装问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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