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
85aac37c
Unverified
Commit
85aac37c
authored
Apr 11, 2022
by
Daco Harkes
Committed by
GitHub
Apr 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more debugging info to android_plugin_example_app_build_test (#101685)
parent
77756d3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
android_plugin_example_app_build_test.dart
...egration.shard/android_plugin_example_app_build_test.dart
+8
-2
No files found.
packages/flutter_tools/test/integration.shard/android_plugin_example_app_build_test.dart
View file @
85aac37c
...
@@ -91,11 +91,14 @@ void main() {
...
@@ -91,11 +91,14 @@ void main() {
}
}
// Clean
// Clean
processManager
.
runSync
(<
String
>[
result
=
processManager
.
runSync
(<
String
>[
flutterBin
,
flutterBin
,
...
getLocalEngineArguments
(),
...
getLocalEngineArguments
(),
'clean'
,
'clean'
,
],
workingDirectory:
exampleAppDir
.
path
);
],
workingDirectory:
exampleAppDir
.
path
);
if
(
result
.
exitCode
!=
0
)
{
throw
Exception
(
'flutter clean failed:
${result.exitCode}
\n
${result.stderr}
\n
${result.stdout}
'
);
}
// Remove Gradle wrapper
// Remove Gradle wrapper
fileSystem
fileSystem
...
@@ -115,13 +118,16 @@ android.enableJetifier=true
...
@@ -115,13 +118,16 @@ android.enableJetifier=true
android.enableR8=true'''
);
android.enableR8=true'''
);
// Run flutter build apk using AGP 3.3.0
// Run flutter build apk using AGP 3.3.0
processManager
.
runSync
(<
String
>[
result
=
processManager
.
runSync
(<
String
>[
flutterBin
,
flutterBin
,
...
getLocalEngineArguments
(),
...
getLocalEngineArguments
(),
'build'
,
'build'
,
'apk'
,
'apk'
,
'--target-platform=android-arm'
,
'--target-platform=android-arm'
,
],
workingDirectory:
exampleAppDir
.
path
);
],
workingDirectory:
exampleAppDir
.
path
);
if
(
result
.
exitCode
!=
0
)
{
throw
Exception
(
'flutter build failed:
${result.exitCode}
\n
${result.stderr}
\n
${result.stdout}
'
);
}
expect
(
exampleApk
,
exists
);
expect
(
exampleApk
,
exists
);
}
}
...
...
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