Android Question How can I prevent replacement of APP loaded onto device with new version?

TonyVerberne

Member
Licensed User
I have been using B4A bridge to load a test APP onto my device. When I do this the old version is lost even if I load a different APP? Can this be prevented.
 

JordiCP

Well-Known Member
Licensed User
This probably happens if you have a project based on a previous one. Even if you change the title, the package name is what defines an app in android.

So, you must change the package name if you want the previous one to remain. Otherwise, any existing apk with the same package name will be replaced.
 

DonManfred

Expert
Licensed User
Set a different package name in the 2nd app. Or better: give both other packagename than "B4A.Example". See Build configuration in the IDE
 

TonyVerberne

Member
Licensed User
This probably happens if you have a project based on a previous one. Even if you change the title, the package name is what defines an app in android.stion

So, you must change the package name if you want the previous one to remain. Otherwise, any existing apk with the same package name will be replaced.
Thanks very much for your suggestion
 
Top