慢上传到运行Android模拟器 [英] Slow uploads to running Android emulator

查看:150
本文介绍了慢上传到运行Android模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经搜查,但没有发现我的具体情况有任何疑问或解答。我有一个快速的新机有足够的内存运行Windows 7。我使用的是最新的Eclipse和Android SDK。

I have searched but not found any queries or answers for my specific circumstance. I have a fast new machine with plenty of memory running Windows 7. I'm using the latest Eclipse and Android SDK.

当我运行一个应用程序的仿真器从运行开始时间约45秒开始(仿真器极快!)来运行我的应用程序。

When I run an app the emulator takes about 45 seconds to start (blazingly fast for the emulator!) from run initiation to running my app.

如果我然后更改应用程序和仍在运行的模拟器再运行它,时间增加至70多秒!相对于其他所有投诉人都有,在我的情况下重新启动仿真器比使用现有的实例更快。我不喜欢这样。

If I then change the app and re-run it on the still-running emulator, the time increases to 70+ seconds! As opposed to all other complaints people have, in my case restarting the emulator is faster than using the existing instance. I don't like that.

下面是时代:

2011-09-29 13:07:13 - hello Uploading hello.apk onto device 'emulator-5554'
2011-09-29 13:07:18 - hello Installing hello.apk...
2011-09-29 13:07:37 - hello Success!

在改变应用程序来得到它重新加载后重新运行:

on rerunning after changing the app to get it to reload:

2011-09-29 13:08:18 - hello Uploading hello.apk onto device 'emulator-5554'
2011-09-29 13:09:16 - hello Installing hello.apk...
2011-09-29 13:09:24 - hello Success!

正如你所看到的,上传到模拟器需要仅5秒的时候仿真器刚开始。这需要将近一分钟与正在运行的模拟器!这是扩展再运行时间的原因。当我重新运行它之前卸载模拟器上的应用程序,这也不会改变。

As you can see, the upload to the emulator takes a mere 5 seconds when the emulator is freshly started. It takes nearly a minute with a running emulator! This is the cause of the extended re-running time. This doesn't change even when I uninstall the app on the emulator before re-running it.

什么我可以尝试解决这个任何想法?这似乎是某种形式的通信问题,可能与亚洲开发银行。

Any ideas on what I could try to solve this? It appears to be some kind of communication problem, possibly with adb.

推荐答案

正如其他人所发布,只需点击围绕在模拟器上载的同时大大提高了上传速度。我有一个答案同样的问题,Google搜索,并试图走出这一招帮我。我运行一个2.3.3 AVD。

As others have posted, just clicking around in the emulator while uploading drastically improves the upload speed. I had the same problem and Googled for an answer, and trying out this trick helped me. I'm running a 2.3.3 AVD.

这篇关于慢上传到运行Android模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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