问题描述
在我的Android项目我已经创建了一个名为额外的源 - $ C $文件夹C SRC-插件
。我把它添加到 build.properties
和建设项目的正常工作。
In my Android project I've created an additional source-code folder called src-plugins
. I added it to build.properties
and building the project works fine.
不过,现在,然后我的根
文件夹将不会再生,解决的办法是永远做一个Eclipse 项目>清洁...
。然而,这也将删除最深的子文件夹SRC-插件
- 包括其所有的文件
However, now and then my gen
folder won't regenerate and the solution is always to do an Eclipse Project > Clean...
. However, this also removes the deepest sub-folder of src-plugins
-- including all of its files.
问:有没有办法解决这个问题。
Question: Is there a way to fix this?
我要preemptively回答最有可能的评论:我不使用一个子包,因为我需要访问包私有类成员。但我还是觉得我需要将这些文件放在一个单独的文件夹。
I'll preemptively answer the most likely comment: I'm not using a subpackage because I need access to package-private class members. But I still feel I need to group these files in a separate folder.
推荐答案
在没有任何日志或布局文件,活动文件等,它甚至不同的被复制,但是这可能会涉及到同样的老问题R.java,当你有一些布局文件的问题。你说,这是零星的,但你必须追踪什么正常行为,该文件夹的dissapearing期间已被修改。这可能只是东西真的很小,就这么简单。
Without any logs or the layout files, activity files etc. it's even different to be reproduced, but this might be related to the same old R.java problem, when you have problems in some of the layout files. You said that it's sporadic, but you must trace what has been modified during the normal behaviour and the dissapearing of the folder. This might just be something really small and simple as that.
这篇关于Eclipse的项目>干净......“我删除额外的Android src文件夹。怎么修?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!