Eclipse for Android运行的时候出现”Selection cannot be launched and there are no recent launches”错误的解决方案
此解决方案来源于StackOverflow的一个问题:
“Selection cannot be launched and there are no recent launches” when Eclipse for Android Project Dev
方案所在环境:Eclipse Juno
单击菜单栏中的Run->Run Configurations.
-
在Android Application下新建一个配置,(右键Android Application->New),
-
在Android标签下选择需要运行的工程.
-
在Target选择Always prompt to pick device 当然也可以选择automatic launch.
然后再次点击运行按钮即可。