无法运行Android项目 [英] Cannot run Android project
问题描述
我一直在构建我的Android应用程序2年,而且我从来没有遇到这个问题。
I have been building my Android application for 2 years and I have never once had this problem until now.
当我加载Eclipse时,有一点进度条在Android图书馆更新窗口的右下角。如果您单击它,将打开一个名为进度的选项卡,并显示正在发生的情况。
When I load Eclipse, there is a little progress bar in the bottom right corner of the window which says "Android Library Update." If you click on it, a tab opens up called "Progress" and shows you what is going on.
这一直坐在这里不动,最后20分钟。如果我尝试运行该项目,Eclipse将冻结,我必须强制退出。如果我什么都不做,什么也没有。我完全陷入困境,无法工作。
This has been sitting here not moving for the last 20 minutes. If I attempt to run the project, Eclipse freezes and I have to force quit it. If I do nothing, nothing happens. I am completely stuck and cannot work.
我可以想到的唯一可能是相关的是,今天早上我正在使用没有互联网连接(我在某个地方否则无wifi)。我显然有一个连接(我正在写这篇文章)。
The only thing I can think of which may be relevant is that earlier this morning I was working with no internet connection (I was somewhere else without wifi). I obviously have a connection now (I am writing this post).
如果我关闭wifi并启动没有互联网连接的Eclipse,一切都正常。
If I turn off wifi and launch Eclipse with no internet connection, everything works fine.
想法?
推荐答案
据我所知,这解决了问题:
As far as I could tell, this solved the problem:
- 禁用互联网连接。在我的情况下,这只是关闭无线。
- 启动Eclipse。
- 重新启用互联网。
- 关闭Eclipse。
- Disable internet connection. In my case, this simply meant turning off wireless.
- Launch Eclipse. Everything will load fine.
- Re-enable internet.
- Close Eclipse.
现在打开Eclipse是好的。
Now opening Eclipse is fine.
这篇关于无法运行Android项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!