How to install applications with the same package name in android?

Is it possible to install two different applications with the same package name in my real device or Android Emulator.

+4
source share
3 answers

There is no way. Think of a package as a unique identifier or primary key in SQL tables.

+4
source

The short answer is no. This is also a long answer.

+9
source

No, no application with the same package name can exist on any device. The name of the package defines your application and is one of the things that can never change:

http://android-developers.blogspot.com/2011/06/things-that-cannot-change.html

Naturally, you can have different applications with package names "sibling", so they have a common root. For example, you might have one application with the package name com.example.foo and another application with the package name com.example.bar.

+5
source

Source: https://habr.com/ru/post/1379698/


All Articles