Android的 - 没有名为Android项目 [英] Android - There is no android project named

查看:399
本文介绍了Android的 - 没有名为Android项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

荡。对不起,我在这里问这么多不同的问题。所以,我有我导入到我的工作区中的Andr​​oid项目。然后,修复任何构建路径错误之类的东西后,我去将它导出。当我第一次进口的,它是自动命名MainActivity。所以,我想出口,但我得到的错误没有名为MainActivity Android项目。我查了一下文件夹在我的工作空间。我搜索,但没有找到工作的答案。我想日食认为这code以别的东西。我几乎可以肯定,当我导入它,我选择要导入已有的android应用项目...

Dang. I'm sorry for asking so many different questions here. So, I have an android project that I imported into my workspace. Then, after fixing any build path errors and stuff, I went to export it. When I first imported it, it was automatically name "MainActivity". So, I tried to export it but I get the error "There is no android project named MainActivity. I checked and the folder is in my workspace. I searched but couldn't find a working answer. I guess eclipse sees this code as something else. I'm almost positive when I imported it I selected to import exisiting android application project...

推荐答案

您正在尝试运行库项目,如果该项目不在库
右键单击该项目>>属性>>安卓>>在右侧面板向下滚动>>取消选中 isLibrary

You are trying to run your Library Project, if the project is not library
Right Click on the Project >> Properties >> Android >> In the right Panel Scroll down >> Uncheck isLibrary

这篇关于Android的 - 没有名为Android项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆