日食没有运行模拟器第二次Android应用 [英] Eclipse not running Android app on emulator a second time

查看:126
本文介绍了日食没有运行模拟器第二次Android应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经决定要教我如何编程的Andr​​oid应用程序,因此得到了ADT到日食并打算通过Android开发页面上的教程。我碰到的一个问题,即Eclipse不启动模拟器来运行应用程序中的第二次。

I've decided to teach myself how to program android apps, and so got the ADT onto eclipse and going through the tutorials on the android development page. I've run into a problem where eclipse doesn't launch the emulator to run the app a second time.

我首先注意到的第二个教程中谈到不同的布局为一个应用程序的问题。我能够运行应用程序就好了第一次,弹出仿真器,我看到,我测试的布局。我然后关闭模拟器,使一个小的变化(或者没有变化),再运行它,日食卡在发射代表的一部分。在右下角它指出,它的加载到27%,但没有任何反应。我的CPU是不是被拉紧,你会想到用它发射模拟器的进程。我试着取消发射,但随后只是被取消发射的新头衔,仍然没有任何反应。如果我关闭并重新打开Eclipse中,我能够推出像正常了,但随后的第二个尝试做同样的事情。

I first noticed the problem on the second tutorial talking about different layouts for an app. I'm able to run the app just fine the first time, the emulator pops up and I see the layout that I'm testing. I then close the emulator, make a small change (or no change at all), run it again, and eclipse gets stuck in "launching delegate" part. In the bottom right hand corner it states that it's loaded to 27%, but then nothing happens. My CPU isn't being taken up by any processes that you'd expect with it launching an emulator. I've tried canceling the launch but then that just gets the new title of "canceling launch" and still nothing happens. If I close and reopen eclipse, I'm able to launch like normal again, but then the second try it does the same thing.

然后我又回到了第一个教程(你好Android的!),发现存在的问题,有作为。我试图杀死并重启在亚洲开发银行的服务器,并没有帮助。

I then went back to the first tutorial ("Hello Android!") and found the problem exists there as well. I've tried killing and restarting the server in adb and that didn't help.

我模仿的的Andr​​oid 2.2 Froyo在Windows XP上的日食。我安装了JAVA JDK 6u29。

I'm emulating for android 2.2 froyo on windows xp in eclipse. I have java JDK 6u29 installed.

更新:

重新运行该应用程序在仿真器没有关闭所述仿真器不工作 - 进度条仍然加载和事后没有变化停留在27%

Rerunning the app in the emulator without closing said emulator doesn't work - progress bar still loads and stops at 27% with no change afterwards.

更新2:

问题不解决,却发现周围的工作,只需保持模拟器中运行。

Problem not solved, but found a work around by just keeping the emulator running.

推荐答案

团队,

找到一些这方面的解决方案,希望它有助于

Found some solution for this, hope it helps

  1. 启动Eclipse
  2. 转到Windows的> AVD管理器 - >选择虚拟设备 - >点击启动
  3. 右键单击项目 - >选择AS-运行>运行配置和相同的虚拟设备
  4. 您的应用程序应该立即加载
  5. 不要关闭模拟器,你可以进行更改code,并按照第3步

到现在我没有问题,用这种方法,有什么想法就pciated高度AP $ P $

Till now i don't have problem with this method, any thoughts would be highly appreciated

这篇关于日食没有运行模拟器第二次Android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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