首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Android项目正在相互覆盖

Android项目正在相互覆盖
EN

Stack Overflow用户
提问于 2013-06-28 15:59:10
回答 3查看 211关注 0票数 0

这里有谁有过两个相互覆盖的Android项目的经验?如果我想安装第二个,我就不能安装第一个,因为这会导致错误。我已经尝试创建一个新项目并复制其中第二个应用程序的源代码,但我遇到了同样的问题。我也试着用"-clean“命令清理我的工作区,但是没有帮助。有谁知道解决方案吗?

错误提示我的第一个活动的包(这是我的闪屏)没有退出。除了当我还没有安装第一个应用程序时,因为那样一切都很好……

提前谢谢。

@EDIT:

错误:

代码语言:javascript
复制
[2013-06-28 10:06:09 - KCStandaard] Starting activity com.android.standard.actSplash on device 1e0dc11e
[2013-06-28 10:06:09 - KCStandaard] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2013-06-28 10:06:12 - KCStandaard] Starting activity com.android.standard.actSplash on device 1e0dc11e
[2013-06-28 10:06:13 - KCStandaard] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2013-06-28 10:06:16 - KCStandaard] Starting activity com.android.standard.actSplash on device 1e0dc11e
[2013-06-28 10:06:17 - KCStandaard] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2013-06-28 10:06:20 - KCStandaard] Starting activity com.android.standard.actSplash on device 1e0dc11e
[2013-06-28 10:06:20 - KCStandaard] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]   cmp=com.koeriers.tools/com.android.standard.actSplash }
[2013-06-28 10:06:20 - KCStandaard] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2013-06-28 10:06:23 - KCStandaard] Starting activity com.android.standard.actSplash on device 1e0dc11e
[2013-06-28 10:06:24 - KCStandaard] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.koeriers.tools/com.android.standard.actSplash }
[2013-06-28 10:06:24 - KCStandaard] ActivityManager: Error type 3
[2013-06-28 10:06:24 - KCStandaard] ActivityManager: Error: Activity class {com.koeriers.tools/com.android.standard.actSplash} does not exist.

只有当第一个或第二个应用程序已经安装时,我才会收到这个错误。我正在试着运行另一个。

EN

回答 3

Stack Overflow用户

回答已采纳

发布于 2013-06-28 16:09:38

通过右键单击project>Android Tools>Rename应用程序包来重命名应用程序,希望这将为您工作。

票数 1
EN

Stack Overflow用户

发布于 2013-06-28 16:09:07

请勿将com.android用作包名的一部分。

我重复一遍,不要使用com.android作为包名的一部分。这是系统包名称,而不是您的包名称。

票数 3
EN

Stack Overflow用户

发布于 2013-06-28 16:03:33

如果在第二个项目中包含了第一个项目或其中的一部分,那么很可能在安装时会遇到问题。如果不是这样,请将代码粘贴到此处或提供一个链接,这样我们就可以看到问题所在。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/17359957

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档