Page 1 of 1

Can't install a second apk

Posted: Mon Nov 25, 2024 10:40 am
by Reno-Muc
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.

Re: Can't install a second apk

Posted: Mon Nov 25, 2024 10:50 am
by Klaus
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
android_identifier.png

Re: Can't install a second apk

Posted: Mon Nov 25, 2024 4:09 pm
by Reno-Muc
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).

Re: Can't install a second apk

Posted: Mon Nov 25, 2024 10:05 pm
by SparkOut
You also need to update the Version code

Re: Can't install a second apk

Posted: Tue Nov 26, 2024 10:56 am
by Reno-Muc
Hi Klaus, I used a different identifier and it worked :D , 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 :roll:

Re: Can't install a second apk

Posted: Tue Nov 26, 2024 12:06 pm
by Klaus
Hi Reno-Muc,
Reno-Muc wrote:
Tue Nov 26, 2024 10:56 am
Hi Klaus, I used a different identifier and it worked :D , thank you very much.
great! :-)
Reno-Muc wrote:
Tue Nov 26, 2024 10:56 am
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 :roll:
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

Posted: Tue Nov 26, 2024 1:55 pm
by Reno-Muc
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?

Re: Can't install a second apk

Posted: Tue Nov 26, 2024 2:07 pm
by Klaus
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
icontype.png

Re: Can't install a second apk

Posted: Tue Nov 26, 2024 2:09 pm
by Klaus
Oh, just saw your screenshot, what version of LC are you using?
And how did you manage to add this attachments? :shock:

Re: Can't install a second apk

Posted: Tue Nov 26, 2024 3:45 pm
by Reno-Muc
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 ???

Re: Can't install a second apk

Posted: Tue Nov 26, 2024 3:58 pm
by Klaus
Reno-Muc wrote:
Tue Nov 26, 2024 3:45 pm
I'm using LC community 9point6point3. This row with Adaptive and Legacy ist not present.
Yes, that has chnged in later versions.
Reno-Muc wrote:
Tue Nov 26, 2024 3:45 pm
The attachement I could include after several approaches by adding it in the adequate size.
Congratulations!
This is actually not meant to happen! :-D
Reno-Muc wrote:
Tue Nov 26, 2024 3:45 pm
Why can't I use the sign point or other signs which are interpreted as url ???
You gave the answer yourself, because the VERY CLEVER forum software will see this an url. :-D

Re: Can't install a second apk

Posted: Thu Nov 28, 2024 1:19 pm
by Klaus
Sorry, I made a mistake, the restriction for users with < 7 postings is only for posting URLs.
Attachments can be erm. attached any time. :-)