安卓开发--android library projects cannot be launched错误

最新因为学习,问技术友要了几个源代码,导入源代码的时候无法进行真机或者虚拟机测试。

原因:android library projects cannot be launched

百度了一下,解决方法很简答

  1. 点击运行的工程右键出现Properties

    android library projects cannot be launched
    android library projects cannot be launched
  2.  

    点击Properties,进入

     

    android library projects cannot be launched
  3.  

    把is library 前的对勾去掉

  4.  

    返回自己的project,右键点击Run As 的第一项Android Application

    android library projects cannot be launched
  5.  

    选择虚拟机或者真机就可以运行了

    android library projects cannot be launched
  6.  

    如果出现如图所示就运行成功了

    android library projects cannot be launched
  7.  

posted @ 2015-05-15 08:50  听着music睡  阅读(320)  评论(0编辑  收藏  举报