3.9MB android build with no flutter so files

83 views
Skip to first unread message

Neil Warner

unread,
Jun 23, 2019, 7:25:03 PM6/23/19
to Flutter Development (flutter-dev)
I tried flutter build apk --release --target-platform android-arm and flutter build apk and flutter build bundle and i never could get a 64bit build.

I'm on  
• Flutter version 1.5.4-hotfix.2 at /Users/neil/flutter/flutter
    • Framework revision 7a4c33425d (8 weeks ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

Android Studio 3.4 preview, although i'm updating it now, i'll probably try 3.5 as well (i tried some different gradle stuff to no avail, i tried abiFilters..)

I have in 
- esys_flutter_share
- firebase_remote_config
- path_provider
- permission_handler

in build variants view
I tried a testfairy build and that won't install at this time with the 32bit variant, I tried a 32 bit build on the play store and I'm getting the 64bit warning causing the release button to be greyed out despite
- Internal track
- It's before August 1st
- I tried with and without java 1.8 compatibility specified.

Come to think of it, file new project was late April 2019 so it doesn't seem like this project should be too "rusty", but I'm planning to try file-new project and do small steps to see if anything passes, but I thought I'd ask if any thoughts while I'm taking a break and letting my machine do updates

I haven't tried beta channel or master channel yet... (I was a little reluctant to introduce potential risk into an app that is otherwise holding together)

I *did* do AndroidX migration as part of getting firebase remote config to work...

I had been keeping tabs on the issue and thought it was a solved problem, and documentation seemed updated and everything.
however, I also discover 
""android-arm-all" is not an allowed value for option "target-platform"." and copy and pasting the command for split abi didn't work, it complained similarly. I really expected fat apk to work... 

I used analyze apk tool and it wasn't there at all... I'm a bit lost...


Neil Warner

unread,
Jun 23, 2019, 8:51:09 PM6/23/19
to Flutter Development (flutter-dev)
OK, so my subject line was terrible, sorry.

Here's an update
-[✓] Flutter is fully installed. (Channel beta, v1.6.3, on Mac OS X 10.13.6 17G6030, locale en-US)
-flutter create test64
- flutter build apk
- analyze apk with Android Studio, still only has armeabi-v7a
-- skimmed docs to see if i'm going crazy

i also try the below and this is what i get - copy/pasting the flutter build apk --split-per-abi part. (sorry to la
➜  test64 /Users/neil/flutter/flutter/bin/flutter build apk --split-per-abi
Could not find an option named "split-per-abi".

Update: Sorry for multiple posts/updates
[✓] Flutter (Channel dev, v1.7.8, on Mac OS X 10.13.6 17G6030, locale en-US)
flutter build apk
Works, generates the lib I can find in Android Studio, leading me to believe it's not "just me"
--



Neil Warner

unread,
Jun 23, 2019, 8:54:34 PM6/23/19
to Flutter Development (flutter-dev)

Further update: Embarassed, I missed the 10 day old big orange warning at the top of the documentation page saying instructions apply to 1.7.4 in dev channel not beta channel
So sorry
Hope this helps someone.

Big thanks to flutter team for addressing such a huge issue ..
Reply all
Reply to author
Forward
0 new messages