我的应用程序试图取代我的另一个应用程序 [英] My application tries replace another my application

查看:124
本文介绍了我的应用程序试图取代我的另一个应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序试图取代另一个我的申请。

My application tries replace another my application.

我加上的git https://github.com/szalek/AndroidLevel1 aplication。

I add aplication on git https://github.com/szalek/AndroidLevel1.

当我安装应用程序黑胶和接下来的安装应用程序TeamLeader1 /'。
我看到消息您正在安装会替换其他应用程序中的应用。所有previous用户数据将被保存

When I install the application 'Vinyl' and next install the application 'TeamLeader1/'. I see message 'The application you are installing will replace another application. All previous user data will be saved'

推荐答案

这是因为这两个应用程序具有相同包名。如果这两个应用程序包的名称是不同的,你就不会得到这个消息。

This is because both applications have the same package name. If the package name of the two applications are different, you won't get this message.

事实上,如果在清单文件包的名称(在<清单> 标记),另一个安装的应用程序的包名相匹配,它将取代它。

In fact, if the package name in the Manifest file (in the <manifest> tag) matches the package name of another installed application, it will replace it.

这篇关于我的应用程序试图取代我的另一个应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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