Android development in IntelliJ IDEA causes computer to freeze

我们两清 提交于 2019-12-09 15:23:18

问题


I am using IntelliJ IDEA (10.5) for Android development with latest Google USB Driver (version 4) for debugging. After some time of development in IntelliJ IDEA when Android device (Nexus One) is connected via USB, the computer (with Windows 7, 32 bit) freezes. No blue screen just freeze. Everything is visible but screen is not updating. I have to restart the computer.

Is anyone experiencing similar issues? Any solutions?


回答1:


Sorry, not sure how to comment on your original post (the field is not displayed).

I'm experiencing the same issue and I'd love to determine a solution. It's very annoying!

I use Eclipse (Windows 7 64-bit) with a Nexus One (2.2) and my PC will randomly, completely freeze. The mouse pointer locks up, Caps Lock button (and others) don't toggle, touch pad doesn't react, etc. No blue screen and nothing is ever written to the system's event log. I have to physically shut down the machine and restart it each time.

At first, it happened in the same manner for me -- developing within Eclipse. I noticed it didn't happen on compile or debug launch, more during development (again, randomly). Then I noticed it started happening when Eclipse wasn't open at all. That's when I started to suspect a driver or similar issue. But I'm not sure how to troubleshoot further from here.

If anyone has ANY insight into this issue, it would be greatly appreciated.

UPDATE: Incorrectly reported N1 version as 2.1 -- corrected to 2.2




回答2:


Idea is known to have long GC pauses sometimes - it may freeze completely for some time. And it takes even longer if it goes into swap - in this case, whole system may become unresponsive. See this issue and discussion in forums.

So, if it is indeed your case, try using statically-compiled version from here - it's proven to work faster.




回答3:


It sounds like OS/Hardware problem



来源:https://stackoverflow.com/questions/6265519/android-development-in-intellij-idea-causes-computer-to-freeze

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!