Do apks overwrite each other during installation?
Good evening, I have the following problem and unfortunately have not found anything about it, so I hope for a constructive answer.
I created two apps for myself using Apache Cordova and Android Studio and have already generated the two APKs. Now I have a problem: when I have both on my phone and want to install them, they update each other. If I install one, everything is as it should be; if I install two, App 1 is now App 2.
I'm assuming it's something to do with the Apache Cordova files, since they were probably generated the same way, but can anyone tell me which file this could be and what I need to change? Maybe it's just an ID that needs to be changed…
I have already changed the widget id in the config.xml and the respective apks also have different names.
I look forward to your kind answers
Best regards
APKs always have a package name you set when creating the project. Maybe you assigned both APKs to the same Packetname when creating Intern.
Well, I started with the project via VS Code and installed via the Cordova terminal. When completing the project, I entered the cordova Run Android command via the terminal and then opened the folder via Android Studio.
Does Cordova automatically assign the same package name for each project?
I don’t know myself with Cordova, but it can be that if you don’t forget it, it’ll be a fixed one. You can try it here with: https://stackoverflow.com/questions/48029421/change-cordova-project-android-package-name
This has worked great thanks to 👍
I’ll try it later and give you a feedback.