Can't install a second apk
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Can't install a second apk
Hi, I'm trying to install one more apk on Android 14, but it overrides the existing one.
Why??? How to make it possible?
Any help ist appreciated.
Why??? How to make it possible?
Any help ist appreciated.
Re: Can't install a second apk
Hi Reno-Muc,
welcome to the forum!
Android does not care about the NAME of an APK, it checks the IDENTIFIER of the APK, see screenshot.
So if your second APK has the same identifier, it will probably be overwritten.
Maybe that is the problem? Change the identifier and try again.
Best
Klaus
welcome to the forum!
Android does not care about the NAME of an APK, it checks the IDENTIFIER of the APK, see screenshot.
So if your second APK has the same identifier, it will probably be overwritten.
Maybe that is the problem? Change the identifier and try again.
Best
Klaus
Re: Can't install a second apk
Thank You Klaus, I'll try.
The identifier is the same as in the template from which I derived my app (because I had basic problems to install my first try).
The identifier is the same as in the template from which I derived my app (because I had basic problems to install my first try).
Re: Can't install a second apk
You also need to update the Version code
Re: Can't install a second apk
Hi Klaus, I used a different identifier and it worked , thank you very much.
I don't know if I changed the version code too. Sometimes I did, but I had so many tries with my two small apps, that I lost the overwiew
I don't know if I changed the version code too. Sometimes I did, but I had so many tries with my two small apps, that I lost the overwiew
Re: Can't install a second apk
Hi Reno-Muc,
Best
Klaus
great!
Changing the version number will only be neccessary if you want to UPDATE the SAME app.
Best
Klaus
Re: Can't install a second apk
In context with the Standalone Settings I had another problem:
In my first tries had the Icon field empty and the app could not be installed (message with no more details).
I selected an 48x48-pixel icon type png, but without success.
Since I had a template from Lemuel Dizon, which I got running immediately, I found the icon entry as shown in the screenshot:
The entry is { /ICONS 48x48/48x48/app_48 png }
I could not find this file in any place of his distribution, but the app worked !!!
To get my apps running I used this workaround:
- load the template
- load my app
- delete cards and elements not needed
- copy and paste my cards into the template
- choose appropiate app names, save and build my standalone which now includes the icon entry of the template and IT WORKS TOO !!!
One last remark: perhaps I should open a new thread on this theme?
In my first tries had the Icon field empty and the app could not be installed (message with no more details).
I selected an 48x48-pixel icon type png, but without success.
Since I had a template from Lemuel Dizon, which I got running immediately, I found the icon entry as shown in the screenshot:
The entry is { /ICONS 48x48/48x48/app_48 png }
I could not find this file in any place of his distribution, but the app worked !!!
To get my apps running I used this workaround:
- load the template
- load my app
- delete cards and elements not needed
- copy and paste my cards into the template
- choose appropiate app names, save and build my standalone which now includes the icon entry of the template and IT WORKS TOO !!!
One last remark: perhaps I should open a new thread on this theme?
Re: Can't install a second apk
Hi Reno-Muc,
due to a lot of spammers, you need to have at least 7 postings before you can post screenshot and/or attachments here!
You can add any PNG file (I use a 512*512 px) as an icon for your app, but then you need to click "Legacy" for the icontype, see screenshot.
If you click "Adaptive", then LC (and Android) exspects a FOLDER with some XML and PNG files.
Best
Klaus
due to a lot of spammers, you need to have at least 7 postings before you can post screenshot and/or attachments here!
You can add any PNG file (I use a 512*512 px) as an icon for your app, but then you need to click "Legacy" for the icontype, see screenshot.
If you click "Adaptive", then LC (and Android) exspects a FOLDER with some XML and PNG files.
Best
Klaus
Re: Can't install a second apk
Oh, just saw your screenshot, what version of LC are you using?
And how did you manage to add this attachments?
And how did you manage to add this attachments?
Re: Can't install a second apk
I'm using LC community 9point6point3. This row with Adaptive and Legacy ist not present.
The attachement I could include after several approaches by adding it in the adequate size.
Why can't I use the sign point or other signs which are interpreted as url ???
The attachement I could include after several approaches by adding it in the adequate size.
Why can't I use the sign point or other signs which are interpreted as url ???
Re: Can't install a second apk
Yes, that has chnged in later versions.
Congratulations!
This is actually not meant to happen!
You gave the answer yourself, because the VERY CLEVER forum software will see this an url.
Re: Can't install a second apk
Sorry, I made a mistake, the restriction for users with < 7 postings is only for posting URLs.
Attachments can be erm. attached any time.
Attachments can be erm. attached any time.