New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support app bundles with 32-bit and 64-bit binaries within them #31922
Comments
no |
I had the same warning. Could someone from the Flutter team care to comment on, or explain the same, and what can we do to ensure that the appbundle generated with |
I'm also seeing this. Here's a screenshot: And the "learn more" documentation is here: https://developer.android.com/distribute/best-practices/develop/64-bit I'm looking forward to a reply from the Flutter team. |
I got this warning message today too. |
Same issue here. |
me too |
1 similar comment
me too |
Is there a solution for this yet? |
Look at this: #18494 (comment) It worked for me. |
the [start rollout to internal test] button is disabled in app releases page of Google Play Console (the screen where the above 64bit warning message appears) the 64bit bundle requirement is now a show stopper for flutter projects. |
It appears the play store has started issuing a warning which is triggered if using the default release instructions from Flutter. It is possible to submit APKs for both 32 and 64-bit ARM with Flutter, it just currently requires a couple extra steps. Various approaches to solving such are discussed in: We're also looking right now to see how best we should update the default template/tools/release steps to avoid this warning. Thanks for your patience. |
@eseidelGoogle Correct me if I am wrong, however, I thought that the whole point of an app bundle was to pack everything into a single file and let the Play Store only ship the necessary apk to each user. As I pointed out in my original question, I am using |
We tried flutter build appbundle yesterday and were getting error messages from the play store that it was a debug build ... of course it also needs to work in add2app scenarios where instructions from flutter.dev are not used but instead android studio build->Generate Signed APK is used Thank you for labeling it critical |
We just discussed this in person. @tvolkert is going to find someone to help drive this to closure. |
I am also getting this warning, is there a way to default to 64bit ? |
Small modification to |
For googles sake, please give us visibility in how many phones out there still use 32bit. I have a non-flutter project, where I split the APK by ABI, so I have separate apks for 32bit and 64bit to reduce the size. Now this step seems to force me to increase the apk size moving forward. I don't have stats on how many 32bit only phones are out there in India/Africa ... I am certain it's next to nothing in Europe, the US, and parts of Asia. |
@VarolOkan Use AAB and let google generate APK's for all ABI & screen dpi combinations it needs. |
@eseidelGoogle or anyone - can anyone confirm if this is Also - very useful to know if in fact there are approximately no 32bit machines and using a single line abiFilter for 64bit arm is a viable option to support 99.5% of users or something; I saw somebody cleaning a full year ago "all phones on market" were 64bit... perhaps that means there are lots of old phones? |
My understanding is this is not a show stopper, but rather a common warning. We've asked @blasten to take a look at what we can do here to make the default Flutter setup avoid this warning. I expect we'll have some updates in the next few days. |
As @eseidelGoogle said, I will be taking care of this issue. In the meanwhile, have you tried to follow these steps #18494 (comment)? |
Is this not a problem anymore? #18494 (comment) |
@matthewlloyd This is what showed up in the Play Store crash log:
That might show up in some of your (old) crash logs if any of your users opted in to sharing stats. The device was an HP Chromebook x360. |
I'm sorry this isn't working on 100% of the configurations. We are working to get better test coverage on a variety of SDKs and devices. In the meanwhile, I'm going to set up some tests on Firebase test lab. |
At this point I think the most effective way for us to get all these fixed is probably to file new issues and link back to this one. @tvolkert and I will make sure each gets looked at, but it would help us if we could sort these into separate buckets and track their fixes individually. It's very possible we need to make small adjustments to the Dart compiler, we have in the past for CPUs or emulators which have have specific processor quirks. Without testing on an x86 Chromebook myself (which I haven't yet) I can't say for sure. Would those experiencing issues please help us sort out the remaining troubles by filing new issues for each? That would be of great help to making sure we address each one. Thank you! |
@wreppun Thanks - I checked my app's crash reports and neither of the affected Asus ZenFone 2 users sent anything. @blasten No worries, that's great. If someone can show the new appbundles work on an Asus ZenFone 2 device that would be enough to get me moving forward. Unfortunately I don't have access to one, but I'm hoping Google's mobile testing labs do. |
@matthewlloyd no "Asus ZenFone" on Firebase test lab. What SDK version? Most of the time, the issue can be reproduced by just running a specific version of the Android SDK. |
😂 |
Hello Flutter team,
Considering the above two issues, I would like to suggest following contingency plan, which IMO would best serve us as developers:
I can speak on my behalf only, but I have clients with contracts and I decided to move from React Native to Flutter, since I believed, Google would provide better support for their own products. I have projects in progress and applications to support. Anyone - please vote on this, and hopefully we will have our voice heard! |
I also agree to this... But as a contingency plan I would suggest not to rollback to previous release, but rather switch to From my personal experience, I was also not comfortable using The situation is something which shouldn't occur as both are Google product... What I presented is just a simpler workaround, because you can start pushing updates using |
@angel1st same issue, same problems, same shoes |
@sulaysumaria - it is not as simple as it looks, believe me... Also re switching to dev channel seems to lead to some complications with third party packages and plugins which will lead to different set of issues. |
@campioncino I think yes because I have never faced that issue.... I simply build the release appbundle and upload it to play store... It never shows any warnings.... and app works fine when installed from play store (at least what my client is using so far...) @angel1st, I can understand.. in that case rolling back is the only option... But that dependencies need to be upgraded or else you can never upgrade to a newer version... I also faced that kind of issue with one plugin I was using, fortunately they released a newer version in beta to support newer version of flutter... Maybe if the plugin is not maintained, we should not use it.. |
@sulaysumaria I have never faced this problem too ... up to the last build. For example on Samsung Galaxy Tab 2 7.0 P3110, Android 4.2.2, and on some other old tablet with android 4.1.2 |
Ohhh... My app is not for tablets thats for sure... It would be better if you test it once... |
Hi all, Here's the current status:
|
@tvolkert - thanks for the feedback. Just to make sure we are on the same page - rolling back to previous Flutter version does not make sense until August 1st deadline is postponed, since Google Play won't allow me to upload 32 app version only after August 1st. |
@angel1st would this option be suitable for your case?
I know it's a workaround, but at least it solves both the stability problem and "warning" one. |
@truongsinh - thanks for the suggestion - it is worth to consider. Would you be so kind to confirm step 2 from your suggestion above will not require changes as in previous suggestion e.g. |
@angel1st as long as you have the whole app in flutter (i.e. not https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps), and you haven't modify any thing in Gradle files (i.e. vanilla files from You can do the quick check yourself (assuming version "3.4.5", following #31922 (comment), my personal choice of format for "build number" is
I include the 2 APKs here. They work with my Pixel 2. Also looking at the APK analysis, we can clearly see that each APK has different |
Just a note for when uploading two apks... Google does not allow to upload multiple files having same build number, so you might want to change the build number before creating apk for 64 bit. |
Ah, true that (ref https://developer.android.com/google/play/publishing/multiple-apks#Rules) . Just make sure for every version, build number of 64-bit is higher than 32-bit (I updated my previous example #31922 (comment)). |
Hey, I get an error message when I try to build with The output of running
Sadly the error message is not really helpful. Also the output of flutter doctor:
Edit |
Even I am facing issue wit Asus Zenfone. When I am running using Any solution ?? |
I tryed to compile and release one new version of one of my application (app) in "Play Store", but i had some troublems. 1-) When i upload 32 and 64 bits, the site recuses, becouse of 32 bits version. 2-) When i upload just 32 bits, the site recuses, becouse i need the 64 bits. 3-) When i upload just 64 bits, the site works, but my customers maybe don't have the 64 bits Android. In my cellphone by example, i use this same app, but in my cellphone just works when i use the apk 32 bits. When i intall the apk 64 bits in my cellphone it stop in splash screen. How i must to do now to release?? |
Tigerclaw1980 use flutter appbundle option |
I used Delphi Beta to make apk files for 32 and 64 bits. I don't know if this option is available |
@Tigerclaw1980 did you fix this error? |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
This warning appears when trying to publish an
aab
created byflutter build appbundle
to the Play Store since today.Is this something that I need to worry about or will Flutter automatically resolve this, i.e. is this already planned to be resolved in time?
The text was updated successfully, but these errors were encountered: