➜ /tmp $ flutter --version
Flutter 3.44.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 559ffa3f75 (2 weeks ago) • 2026-05-15 14:13:13 -0700
Engine • hash fcf463a2242790d1fdcd9d044f533080f5022e18 (revision 4c525dac5e) (15 days ago) • 2026-05-15 19:00:04.000Z
Tools • Dart 3.12.0 • DevTools 2.57.0
➜ /tmp $ flutter create cronetbug
Creating project cronetbug...
Resolving dependencies in `cronetbug`...
Downloading packages...
Got dependencies in `cronetbug`.
Wrote 131 files.
All done!
You can find general documentation for Flutter at: https://docs.flutter.dev/
Detailed API documentation is available at: https://api.flutter.dev/
If you prefer video documentation, consider: https://www.youtube.com/c/flutterdev
In order to run your application, type:
$ cd cronetbug
$ flutter run
Your application code is in cronetbug/lib/main.dart.
➜ /tmp $ cd cronetbug
➜ cronetbug $ flutter pub add cronet_http
Resolving dependencies...
Downloading packages...
+ args 2.7.0
+ cronet_http 1.8.0
+ ffi 2.2.0
+ http 1.6.0
+ http_parser 4.1.2
+ http_profile 0.1.0
+ jni 0.15.2 (1.0.0 available)
matcher 0.12.19 (0.12.20 available)
meta 1.18.0 (1.18.2 available)
+ package_config 2.2.0
+ plugin_platform_interface 2.1.8
test_api 0.7.11 (0.7.12 available)
+ typed_data 1.4.0
vector_math 2.2.0 (2.3.0 available)
+ web 1.1.1
Changed 11 dependencies!
5 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
➜ cronetbug $ flutter build apk --dart-define=cronetHttpNoPlay=true
Resolving dependencies...
Downloading packages...
jni 0.15.2 (1.0.0 available)
matcher 0.12.19 (0.12.20 available)
meta 1.18.0 (1.18.2 available)
test_api 0.7.11 (0.7.12 available)
vector_math 2.2.0 (2.3.0 available)
Got dependencies!
5 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
WARNING: Your app uses the following plugins that apply Kotlin Gradle Plugin (KGP): cronet_http
Future versions of Flutter will fail to build if your app uses plugins that apply KGP.
Please check the changelogs of these plugins and upgrade to a version that supports Built-in Kotlin.
If no such version exists, report the issue to the plugin. If necessary, here is a guide on filing
an issue against a plugin: https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers#report-incompatible-kotlin-gradle-plugin-usage-to-plugin-authors
If you are a plugin author, please migrate your plugin to Built-in Kotlin using this guide: https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 1368 bytes (99.9% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
[org.chromium.net:cronet-embedded:141.7340.3] ~/.gradle/caches/9.1.0/transforms/2e5c6e1ae32483156f8fb1f259ac32ce/transformed/cronet-embedded-141.7340.3/AndroidManifest.xml Error:
Namespace 'org.chromium.net' is used in multiple modules and/or libraries: org.chromium.net:cronet-embedded:141.7340.3, org.chromium.net:httpengine-native-provider:141.7340.3, org.chromium.net:cronet-common:141.7340.3, org.chromium.net:cronet-api:141.7340.3, org.chromium.net:cronet-shared:141.7340.3. Please ensure that all modules and libraries have a unique namespace. For more information, See https://developer.android.com/studio/build/configure-app-module#set-namespace
/private/tmp/cronetbug/android/app/src/main/AndroidManifest.xml Error:
Validation failed, exiting
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processReleaseMainManifest'.
> Manifest merger failed with multiple errors, see logs
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.
BUILD FAILED in 26s
Running Gradle task 'assembleRelease'... 26.6s
Gradle task assembleRelease failed with exit code 1
➜ cronetbug $ flutter build apk
Resolving dependencies...
Downloading packages...
jni 0.15.2 (1.0.0 available)
matcher 0.12.19 (0.12.20 available)
meta 1.18.0 (1.18.2 available)
test_api 0.7.11 (0.7.12 available)
vector_math 2.2.0 (2.3.0 available)
Got dependencies!
5 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
WARNING: Your app uses the following plugins that apply Kotlin Gradle Plugin (KGP): cronet_http
Future versions of Flutter will fail to build if your app uses plugins that apply KGP.
Please check the changelogs of these plugins and upgrade to a version that supports Built-in Kotlin.
If no such version exists, report the issue to the plugin. If necessary, here is a guide on filing
an issue against a plugin: https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers#report-incompatible-kotlin-gradle-plugin-usage-to-plugin-authors
If you are a plugin author, please migrate your plugin to Built-in Kotlin using this guide: https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 1368 bytes (99.9% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Running Gradle task 'assembleRelease'... 52.9s
✓ Built build/app/outputs/flutter-apk/app-release.apk (43.9MB)
Hi,
building an apk with
--dart-define=cronetHttpNoPlay=trueis broken with the new Gradle version in Flutter 3.44.0. Building without that option (so, native cronet) works fine.Error message:
[org.chromium.net:cronet-embedded:141.7340.3] ~/.gradle/caches/9.1.0/transforms/2e5c6e1ae32483156f8fb1f259ac32ce/transformed/cronet-embedded-141.7340.3/AndroidManifest.xml Error: Namespace 'org.chromium.net' is used in multiple modules and/or libraries: org.chromium.net:cronet-embedded:141.7340.3, org.chromium.net:httpengine-native-provider:141.7340.3, org.chromium.net:cronet-common:141.7340.3, org.chromium.net:cronet-api:141.7340.3, org.chromium.net:cronet-shared:141.7340.3. Please ensure that all modules and libraries have a unique namespace. For more information, See https://developer.android.com/studio/build/configure-app-module#set-namespaceMinimal example:
Minimal example with output on my machine (including the working run without that option)
Any further required information please let me know!