Add link to more detailed multidex information. (#104558)

This commit is contained in:
Gary Qian 2022-05-26 13:05:08 -07:00 committed by GitHub
parent 91836d6a62
commit cc733660ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -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,
);

View file

@ -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'