简体   繁体   English

我更改了我的包名,但它只更改了gen文件夹名,而不是src

[英]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.

相关问题 检查软件包名称是否更改 - Check if package name changed Android套件名称已更改 - Android package name changed Android项目名称包已更改 - Android project name package changed 更改了包裹名称,现在我的Google地图显示为白色屏幕,该如何解决? - Changed my package name and now my google maps show as a white screen, how do I fix this? 我更改了包名,更改了 app_name 但安装程序仍然覆盖以前的版本 - I changed package name, changed the app_name but installer still overwrites previous version 我已经更改了我的应用程序的软件包名称,但是在Firebase上,它仍然是前一个。 请查看详细信息 - I have changed the package name of my app but on Firebase, it is still the previous one. Please see details Android Studio,我更改了文件夹名称,项目无法加载 - Android Studio, I changed the folder name, project won't load Google Play android软件包名称已更改 - Google Play android package name changed 变更的套件名称无法正常运作 - Changed package name doesn't work properly 我已经更改了项目的程序包名称,但是当我创建apk时,它在android studio中显示了不同的程序包名称 - I have changed package name of the project but when i am creating apk it shows the package name different in android studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM