在Android项目和Src的Java文件夹为空 [英] Java folder in android project and the src is empty
问题描述
我发现的git库。 https://github.com/flavienlaurent/NotBoringActionBar
I found a library on git. https://github.com/flavienlaurent/NotBoringActionBar
导入到月食后,我注意到src文件夹是空的,有一个叫做java文件夹。试着想运行它,但它给了我一个错误。
after imported to the eclipse, I noticed that the src folder is empty and there is a folder called java. Tried to run it anyway but it gave me an error.
我必须在运行它之前做一些改变?
Do I have to make some changes before running it?
推荐答案
您尝试导入与Android的开发工作室,所以在它的一些额外的文件的项目。
The project you are trying to import is developed with Android studio, so there is some extra files in it.
-
要导入它在Eclipse需要导入它作为正常的Android项目。现在你的src文件夹为空,你有一个额外的命名java文件夹
To import it in your eclipse you need to import it as normal android project. now your src folder is empty and you have an extra folder named java
复制COM从java文件夹包,并将其粘贴到src文件夹
copy com package from java folder and paste it in src folder
删除Java和bin文件夹
Delete java and bin folder
清理并生成项目
在模拟器或设备运行
这篇关于在Android项目和Src的Java文件夹为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!