你怎么不启动模拟器编译Android项目到Eclipse中的.apk文件? [英] How do you compile an Android project into an .apk file in Eclipse without launching the emulator?

查看:130
本文介绍了你怎么不启动模拟器编译Android项目到Eclipse中的.apk文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想知道,因为我已经通过我的Web服务器得到它在我的手机和仿真器越来越讨厌每次弹出我自己单独的方法。

解决方案

我有,它不会为我建立一个APK(不运行)问题

后,我安装了最新的SDK和最新的Eclipse(靛蓝371)。

试试这个:

转到Windows - > preferences - > Android的 - >生成,取消选择跳过包装和德兴出口前或启动,然后重新启动Eclipse。

现在,当您生成项目,你应该得到一个APK

I'm just wondering because I have my own seperate method of getting it on my phone via my web server and the emulator is getting annoying popping up every time.

解决方案

I had a problem that it would not build an APK for me (without Running) after I installed the latest SDK and latest Eclipse (Indigo 371).

Try this:

Go to Windows -> Preferences -> Android -> Build and uncheck "Skip packaging and dexing until export or launch" then restart Eclipse.

Now when you do Build Project you should get an APK

这篇关于你怎么不启动模拟器编译Android项目到Eclipse中的.apk文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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