[英]I changed my package name, but it only changed the gen folder name, not the src
I changed my package name, but it only changed the gen folder name, not the src. 我更改了我的包名,但它只更改了gen文件夹名,而不是src。 when I go to change the src folder it warns me that there is already a folder with this name... 当我去更改src文件夹时,它警告我已经有一个具有此名称的文件夹...
Edit: I found I had errors in my manifest file! 编辑:我发现我的清单文件中有错误! fixed those and everything was fine 固定那些,一切都很好
是的,这是我讨厌日食的众多事情之一...你应该重启eclipse,这应该可以解决问题。
The real answer is there was a problem in my manifest file, causing everything not to compile. 真正的答案是我的清单文件中存在问题,导致所有内容都无法编译。 if you see crazy errors that seem not reasonable, try this solution. 如果您看到似乎不合理的疯狂错误,请尝试此解决方案。 there is probably something wrong with your manifest file. 您的清单文件可能有问题。 for me it was a wrong package name in the manifest after changing the package name. 对我来说,更改包名后,清单中的包名是错误的。
Try doing a Project > Clean. 尝试做项目>清洁。 That helps in most cases if restarting doesn't. 在大多数情况下,如果不重新启动,这有助于。
Eclipse is such a bad utility. Eclipse是如此糟糕的实用程序。 Anyhow, you could either restart the whole thing or start over. 无论如何,你可以重新启动整个事情或重新开始。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.