Skip to content

Commit 2c209e6

Browse files
committed
added warning warning users against using AGP 9 for add-to-app android projects
1 parent a2d2990 commit 2c209e6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/content/add-to-app/android/project-setup.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ subproject or as AARs.
1111
The integration flow can be done using the Android Studio
1212
IDE with the [Flutter plugin][] or manually.
1313

14+
:::warning **Do not update to AGP 9 if you are using Add-to-app.**
15+
16+
The host app and Flutter module cannot properly sync when using AGP 9.
17+
For more details, see [Issue #180502][]. :::
18+
1419
:::warning
1520
Your existing Android app might support architectures
1621
such as `mips` or `x86`. Flutter currently [only supports][]
@@ -509,3 +514,4 @@ Continue to the [Adding a Flutter screen to an Android app][] guide.
509514
[local repository]: https://docs.gradle.org/current/userguide/declaring_repositories.html#sub:maven_local
510515
[only supports]: /resources/faq#what-devices-and-os-versions-does-flutter-run-on
511516
[Using Flutter in China]: /community/china
517+
[Issue #180502]: {{site.github}}/flutter/flutter/issues/180502

src/content/release/breaking-changes/migrate-to-agp-9.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ to the new AGP DSL, you can remove `android.newDsl=false` from your
152152
`gradle.properties` file. The documentation will be updated to
153153
reflect that change.
154154

155-
- **Full Add-to-app Support:** Full support for Add-to-app on AGP 9
155+
- **Full Add-to-app Support:** Full support for Add-to-app on AGP 9
156156
will be enabled upon completion of the DSL migration
157157
and potentially additional updates.
158158

@@ -175,4 +175,4 @@ in your app's directory.
175175
[Issue #179914]: {{site.github}}/flutter/flutter/issues/179914
176176
[Issue #175688]: {{site.github}}/flutter/flutter/issues/175688
177177
[Issue #180137]: {{site.github}}/flutter/flutter/issues/180137
178-
[Issue #180502]: {{site.github}}/flutter/flutter/issues/180502
178+
[Issue #180502]: {{site.github}}/flutter/flutter/issues/180502

0 commit comments

Comments
 (0)