Skip to content

Commit

Permalink
Add link to more detailed multidex information. (#104558)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryQian authored May 26, 2022
1 parent 91836d6 commit cc73366
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/flutter_tools/lib/src/android/gradle_errors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ final GradleHandledError multidexErrorHandler = GradleHandledError(
if (multidexEnabled) {
globals.printStatus(
'Multidex support is required for your android app to build since the number of methods has exceeded 64k. '
'See https://docs.flutter.dev/deployment/android#enabling-multidex-support for more information. '
"You may pass the --no-multidex flag to skip Flutter's multidex support to use a manual solution.\n",
indent: 4,
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,11 @@ Execution failed for task ':app:mergeDexDebug'.
'Multidex support is required for your android app to build since the number of methods has exceeded 64k.'
)
);
expect(testLogger.statusText,
contains(
'See https://docs.flutter.dev/deployment/android#enabling-multidex-support for more information.'
)
);
expect(testLogger.statusText,
contains(
'Your `android/app/src/main/AndroidManifest.xml` does not contain'
Expand Down

0 comments on commit cc73366

Please sign in to comment.