包冲突而发布类似的应用程序 [英] Package conflict while publishing similar apps

查看:75
本文介绍了包冲突而发布类似的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在安卓市场,在功能上相似,并且使用类似code碱基发布两个应用程序。其中,这些应用程序的不同,唯一的地方是客户特定的图标和一些字符串。

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...

这篇关于包冲突而发布类似的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆