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

TonyVerberne

Member
Licensed User
Longtime 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

Expert
Licensed User
Longtime 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.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime 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
 
Upvote 0

TonyVerberne

Member
Licensed User
Longtime 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
 
Upvote 0
Top