返回首页
当前位置: 主页 > 编程语言 > Android教程 >

android eclipse 开发中遇到 Cannot connect to VM

时间:2014-01-27 16:44来源:电脑教程学习网 www.etwiki.cn 编辑:admin

'Launching ????' has encountered a problem. Cannot connecto to VM

Socket operation on nonsocket: configureBlocking




It caused by having a "main" method.
Delete/rename the method and then go to the properties of the project.
Click "Run/Debug Settings" and delete the class (it may make eclipse to run the class after being compiled).


I had to change the Test Launcher being used.

Run->Debug Configurations->JUnit->*JUnit Test Class*Choose Select Other in the bottom left of the settings dialog, next to the menu list.

顶一下
(8)
100%
踩一下
(0)
0%
标签(Tag):Android android教程 android技巧 android软件 android开发教程
------分隔线----------------------------
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
验证码:点击我更换图片
推荐内容