Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
cc733660
Unverified
Commit
cc733660
authored
May 26, 2022
by
Gary Qian
Committed by
GitHub
May 26, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add link to more detailed multidex information. (#104558)
parent
91836d6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
gradle_errors.dart
packages/flutter_tools/lib/src/android/gradle_errors.dart
+1
-0
gradle_errors_test.dart
..._tools/test/general.shard/android/gradle_errors_test.dart
+5
-0
No files found.
packages/flutter_tools/lib/src/android/gradle_errors.dart
View file @
cc733660
...
@@ -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
,
);
);
...
...
packages/flutter_tools/test/general.shard/android/gradle_errors_test.dart
View file @
cc733660
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment