Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 android 应用程序,我有另一个包名称的相同应用程序,但我无法在同一设备上安装两者。即使包名称不同。尝试安装时显示冲突消息,例如无法安装具有相同版本的应用程序。如何解决这个问题
如果您有“相同”但具有不同的包名称,那么您可能与内容提供者 URI 有冲突,这些 URI 也必须是唯一的。更改这些以反映您修改后的包名称。
您可能在两个包中都有相同的提供程序。例如文件提供者
标签