创建新的Android项目时,src文件夹为空 [英] src folder empty on creating new Android project

查看:141
本文介绍了创建新的Android项目时,src文件夹为空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Eclipse中创建了一个新的Android应用程序。但是,在创建项目时, src 文件夹为空。在创建项目时,我提到的 src 文件夹中没有包或活动。此外,在布局文件夹中没有添加布局。 mainfest 文件没有Activity的信息。

我也尝试导入一个现有的项目,该项目被导入但空的文件夹。

请帮助!

解决方案

尝试这个



帮助 - >安装新的软件,并从这个
url安装(这将更新它): https://dl-ssl.google.com/android/eclipse/

 使用https:// 
不要使用http://

有关更多详情,请通过 Adt不会创建默认的hello world但是命令line does


I am creating a new Android application in Eclipse. However on creating the project, src folder is empty. There is no package or Activity in src folder which I mentioned while creating the project. Also, there is no layout added in layout folder. The mainfest file has no information of Activity.
I also tried importing an existing project, the project gets imported but with empty folders.
Please help !!

解决方案

Try this

"Help" -> "Install new software" and install (this will update it) from this url: https://dl-ssl.google.com/android/eclipse/

use https://
don't use http://

For any more detail please go through Adt doesn't create default hello world but command line does

这篇关于创建新的Android项目时,src文件夹为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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