Package conflict while publishing similar apps(发布类似应用时包冲突)
问题描述
我需要在 android 市场上发布两个功能相似且使用相似代码库的应用程序.这些应用程序唯一不同的地方是客户端特定的图标和一些字符串.
I need to publish two applications in android market which are similar in functionality and uses similar code base. The only places where these apps differ is client specific icons and some strings.
在尝试发布时,我的应用似乎遇到了包冲突.我应该怎么做才能避免包冲突.我在网上做了一些搜索,看起来我必须更改我的类的基本包,这听起来很奇怪.我还有其他选择吗?
When trying to publish, it looks like my apps are getting package conflict. What should I do to avoid package conflict. I did some search on net and it looks like I have to change base package of my classes which just sounds weird. Is there any other option that I am missing.
推荐答案
应用由包名标识.因此包名需要是唯一的.这就是为什么每个人都使用一些域名来创建一个独特的包(域也是唯一的).
The app is identified by the package name. Therefor the package name needs to be unique. Thats why everybody uses some domain names for that to create a unique package (domains are unique, too).
我的包裹看起来像:
org.shufflecity.android;
org.shufflecity.server;
您还可以为您拥有的每个客户端添加一个子包:
You can also add a subpackage for each client you have:
org.shufflecity.clientname.android
这应该可以解决问题...
That should do the trick...
这篇关于发布类似应用时包冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:发布类似应用时包冲突


基础教程推荐
- LocationClient 与 LocationManager 2022-01-01
- Android ViewPager:在 ViewPager 中更新屏幕外但缓存的片段 2022-01-01
- Android文本颜色不会改变颜色 2022-01-01
- 在 iOS 上默认是 char 签名还是 unsigned? 2022-01-01
- 如何使 UINavigationBar 背景透明? 2022-01-01
- “让"到底是怎么回事?关键字在 Swift 中的作用? 2022-01-01
- 使用 Ryzen 处理器同时运行 WSL2 和 Android Studio 2022-01-01
- 固定小数的Android Money Input 2022-01-01
- 如何使用 YouTube API V3? 2022-01-01
- :hover 状态不会在 iOS 上结束 2022-01-01