Page 1 of 2

App Bundle & Dynamic Delivery

Posted: Mon May 20, 2019 4:10 pm
by Jellobus
I found there is Android App Bundle & Dynamic delivery, a new APK uploading option. This option reduces APK size significantly. Is it possible to use this option with the APK built with LC?

Thanks a lot in advance,

Louis

Re: App Bundle & Dynamic Delivery

Posted: Mon Jun 24, 2019 11:22 am
by sphere
Hi Louis,

good question of which i also don't know the answer.
Perhaps it is only applicable when the app is made with Android Studio or pure Java/Kotlin.
I' m not using it, i also opted out for Google Signing.

I'd like to know too.

Regards,
Jerry

Re: App Bundle & Dynamic Delivery

Posted: Fri Jun 28, 2019 11:27 pm
by cusinger3
Any more info on this?

Re: App Bundle & Dynamic Delivery

Posted: Fri Oct 11, 2019 12:08 am
by Jellobus
Now, Without using the App Bundle feature, you can't even publish a new app to Google Play. I got the warning message below during the uploading process. The "Next" button is disabled except for an optimized apk. It seems that there are no other choices available. I hope this issue get fixed ASAP.

Re: App Bundle & Dynamic Delivery

Posted: Fri Oct 11, 2019 1:34 pm
by sphere
It is just a warning.
You can go thru and publish your app.

Only thing is which i noticed, in the frontend of the store there will be a message that "this app is not optimized for your app".
Maybe causing people not downloading your app.
So actually they are forcing you to use it, so the message goes away.

edit: also read the last sentence of the message...but even then it will say not optimized

Re: App Bundle & Dynamic Delivery

Posted: Fri Oct 11, 2019 4:09 pm
by Jellobus
Hi, sphere

I read the last sentence but it can't go further anymore. The button is disabled and there is no way to publish. It seems like it's mandatory now to use it if an app accommodates multiple architectures. I set to build for armv7 and arm64 in the standalone settings.

I was advised by the support that I should build and upload each version separately. If it's the case, Will I have two separate apps with the same contents? ( In this case, two identical apps will be searched by users.) or Does Google Play accommodate uploading two APKs in a single Store listing?

Re: App Bundle & Dynamic Delivery

Posted: Fri Oct 11, 2019 5:20 pm
by sphere
You can create 1 big app with all 4 in. Or 4 separate builds. Or 1 build for 2x arm and 1 build for 2xX86.
But this discussion was also on the list. X86 and x86_64 are almost not used, still you have to provide them.
So last time i did 2 separate builds for armv7 and arm64 & a single build for x86 and x86_64.
So upload 3x apk for your app. Google will push the correct one to the users phone/tablet.
Note that each version must be higher.
So armv7 will be 1
Arm64 will be 2
The x86s in one build will be 3
Next time increase
So armv7 will be 4
Arm64 will be 5
X86s will 6
Etcetera, it's ab9it cumbersome, but that's how it works

Re: App Bundle & Dynamic Delivery

Posted: Fri Oct 11, 2019 5:36 pm
by Jellobus
Great advice!

I have two questions to confirm that I got it right:
So armv7 will be 1
Arm64 will be 2
The x86s in one build will be 3
1. Do three APKs have an identical Identifier, Version name but different version code in the standalone settings?
2. Do they have the same app URL? (of course they would be same if a single store listing accommodates multiple APKs)

Re: App Bundle & Dynamic Delivery

Posted: Fri Oct 11, 2019 6:26 pm
by sphere
1. Do three APKs have an identical Identifier, Version name but different version code in the standalone settings?
Yes that all stays the same, except the version code changes indeed
a.png
2. Do they have the same app URL? (of course they would be same if a single store listing accommodates multiple APKs)
Yes they keep the same URL in the Play Store.
Visitors in the Play Store just see one instance of your app, and according to the architecture of their mobile, the correct build apk will be pushed to it.
The IDE now also works similair when pushing a test to a real device.
Just add each build apk or bundled apk to your app project (when you create an app release)
b.png
Have fun!

Re: App Bundle & Dynamic Delivery

Posted: Fri Oct 11, 2019 6:37 pm
by Jellobus
Fantastic! That's very detailed explanation. I really appreciate your help!

Have a great weekend! :D

Re: App Bundle & Dynamic Delivery

Posted: Fri Oct 11, 2019 9:51 pm
by sphere
No problem :)
Same to you!

nb. with your next release of the same app, the version name needs also to increase of course

Re: App Bundle & Dynamic Delivery

Posted: Sat Oct 12, 2019 12:16 am
by Jellobus
Again :cry:

Unfortunately, uploading multiple APKs is not allowed anymore. I created 4 separate APKs for each system structure; armv7, arm64, x86, x86_64. and I uploaded the first APK but I got 1 error message & 1 warning sign. There is no next button available but only go back or discard buttons appear.

Even if It was targeting a single system structure, it shows the same warning message I got previously. It seems that Google made the App Bundle mandatory for developers.

I attached two messages I got.

Re: App Bundle & Dynamic Delivery

Posted: Sat Oct 12, 2019 8:57 am
by sphere
Hi Jellobus, i've not seen that error before. And i uploaded/updated last week.
Will check today and come back to this. As far as i remember my 64bits apps are seen as native.
I will check the notices at the apks in the dev console.
Seeing this error looks like your 64bits versions have 32bit code in them.

Re: App Bundle & Dynamic Delivery

Posted: Sat Oct 12, 2019 2:24 pm
by Jellobus
The error was shown for the armv7 app that is made for the 32bit system. It's possible that new guidelines applied for new apps while current apps able to upload without App Bundle.

Re: App Bundle & Dynamic Delivery

Posted: Sat Oct 12, 2019 2:39 pm
by sphere
I don't know. Normally Google will warn before such a change, so that's why i doubt that this is the case.

I see at one of my releases that all 4 are seen as Native.
So with every build you made with LC950stable(i assume you use that) you increased the version code right?

It's strange because for each release you need to provide 4 separate apk's 32 and 64bit, or a bundle of which you can decide how many there are in.
But it have to be 4 APK's (1x ARMv7, 1x ARMv8_64, 1x X86, 1x X86_64).
So if that is the case i don't know what's happening. So either then you can ask Google or ask the LC dev team.

Or that someone else can jump in who knows some details if Google have changed another thing.

Sorry i can't be of more help.