Unverified Commit cc733660 authored by Gary Qian's avatar Gary Qian Committed by GitHub

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

parent 91836d6a
...@@ -101,6 +101,7 @@ final GradleHandledError multidexErrorHandler = GradleHandledError( ...@@ -101,6 +101,7 @@ final GradleHandledError multidexErrorHandler = GradleHandledError(
if (multidexEnabled) { if (multidexEnabled) {
globals.printStatus( globals.printStatus(
'Multidex support is required for your android app to build since the number of methods has exceeded 64k. ' '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", "You may pass the --no-multidex flag to skip Flutter's multidex support to use a manual solution.\n",
indent: 4, indent: 4,
); );
......
...@@ -361,6 +361,11 @@ Execution failed for task ':app:mergeDexDebug'. ...@@ -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.' '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, expect(testLogger.statusText,
contains( contains(
'Your `android/app/src/main/AndroidManifest.xml` does not contain' 'Your `android/app/src/main/AndroidManifest.xml` does not contain'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment