#--no-enable-impeller is not recognized

1 messages · Page 1 of 1 (latest)

earnest portal
#

We are having problem with the impeller on Android and need to build without it but the flag is not recognized by shorebird.
shorebird release android --no-enable-impeller

#

I tried it with shorebird release android -- --no-enable-impeller but now I'm getting status code 70:

SHOREBIRD_TOKEN detected
SHOREBIRD_TOKEN successfully parsed
⠋ Downloading patch......
✓ Downloading patch... (0.1s)
⠋ Extracting patch......
✓ Extracting patch... (0.1s)
⠋ Downloading bundletool.jar......
✓ Downloading bundletool.jar... (0.6s)
⠋ Extracting bundletool.jar......
✓ Extracting bundletool.jar... (1.2s)
⠋ Downloading aot-tools.dill......
✓ Downloading aot-tools.dill... (0.2s)
⠋ Extracting aot-tools.dill......
✓ Extracting aot-tools.dill... (1.2s)
⠋ Fetching apps...
✓ Fetching apps (0.3s)
⠋ Building Android app bundle with Flutter 3.29.0 (2e1bcd18e2)...
✗ Failed to build (2.1s)
[ +6 ms] Could not find an option named "--no-enable-impeller".

[ ] Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and options.

If you aren't sure why this command failed, re-run with the --verbose flag to see more information.

You can also file an issue if you think this is a bug. Please include the following log file in your report:
/Users/builder/Library/Application Support/shorebird/logs/1739966724080_shorebird.log

Build failed 😐
Step 6 script Shorebird Release exited with status code 70

#

This is also strange: Building Android app bundle with Flutter 3.29.0 (2e1bcd18e2)
Because I'm building with flutter 3.27.4.

Installing SDK step output:

== Use Flutter version 3.27.4 ==

curl --fail --show-error --silent --output flutter_macos_arm64_3.27.4-stable.zip --connect-timeout 10.00 --max-time 120.00 https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_arm64_3.27.4-stable.zip

7z -bd x flutter_macos_arm64_3.27.4-stable.zip

7-Zip [64] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,12 CPUs LE)

Scanning the drive for archives:
1 file, 1493080238 bytes (1424 MiB)

Extracting archive: flutter_macos_arm64_3.27.4-stable.zip

Path = flutter_macos_arm64_3.27.4-stable.zip
Type = zip
Physical Size = 1493080238

Everything is Ok

Folders: 3083
Files: 11355
Size: 3769465316
Compressed: 1493080238

Flutter 3.27.4 • Dart 3.6.2

worthy fossil
#

I’ll take a look shortly 👍

worthy fossil
#

@earnest portal the --no-enable-impeller flag is only available when using flutter run.
shorebird release runs flutter build appbundle behind the scenes so if you wanted to disable impeller in release builds you'd need to add the following setting to your project's AndroidManifest.xml file under the <application> tag:

<meta-data
    android:name="io.flutter.embedding.android.EnableImpeller"
    android:value="false" />

See https://docs.flutter.dev/perf/impeller for more info.

What is Impeller and how to enable it?