谷歌戏称:"你需要使用不同的包名" - 为什么? [英] Google play says: "You need to use a different package name" - why?

查看:666
本文介绍了谷歌戏称:"你需要使用不同的包名" - 为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经出版了名为com.mycompany.mygame在谷歌播放的应用程序。

I have already published an app called com.mycompany.mygame on google play.

然后我决定出版它的一个广告的免费版本。我没有改变的包名的日食,因为我注意到,在出口过程中,你有机会拥有最终的apk文件设置为任何你喜欢的。所以,我在此设置为com.mycompany.mygameaf - 注意,最终在附加AF。但是当试图将其上传到市场,谷歌说:

I then decided to publish an ad free version of it. I did not change the package name in eclipse because I noticed that in the "export" process you have the opportunity to have the final apk set as anything you like. So I set it there as com.mycompany.mygameaf - note the additional "af" on the end. But then when tried to upload it to the market, google said:

您需要使用不同的包名,因为com.mycompany.mygame已经由您的其他应用程序之一

所以现在我很困惑。是投诉,因为我不能有一个APK即它是一个名和扩展名的previous应用程序?抑或是最后的apk某种方式的知识是什么原始的名字是?

So now I'm confused. Is the complaint because I'm not allowed to have an apk that is a name which is and extension of a previous app? Or does the final apk somehow have knowledge of what the original name was?

什么是解决最简单的方法是什么?

What is the easiest way to resolve this?

推荐答案

不管的.apk文件的名称中,它里面的应用程序的内容包的名称必须是唯一的。

Regardless of the name of the .apk file, the package name of the Application contents inside it must be unique.

您可以使用重构,重新命名为改变这一状况,但确保了变化渗透到清单文件,ProGuard的配置等。

You can use refactor-rename to change this, though make sure that the change penetrates to the manifest file, proguard configuration, etc.

这篇关于谷歌戏称:"你需要使用不同的包名" - 为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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