Unverified Commit 85aac37c authored by Daco Harkes's avatar Daco Harkes Committed by GitHub

Add more debugging info to android_plugin_example_app_build_test (#101685)

parent 77756d3d
......@@ -91,11 +91,14 @@ void main() {
}
// Clean
processManager.runSync(<String>[
result = processManager.runSync(<String>[
flutterBin,
...getLocalEngineArguments(),
'clean',
], workingDirectory: exampleAppDir.path);
if (result.exitCode != 0) {
throw Exception('flutter clean failed: ${result.exitCode}\n${result.stderr}\n${result.stdout}');
}
// Remove Gradle wrapper
fileSystem
......@@ -115,13 +118,16 @@ android.enableJetifier=true
android.enableR8=true''');
// Run flutter build apk using AGP 3.3.0
processManager.runSync(<String>[
result = processManager.runSync(<String>[
flutterBin,
...getLocalEngineArguments(),
'build',
'apk',
'--target-platform=android-arm',
], workingDirectory: exampleAppDir.path);
if (result.exitCode != 0) {
throw Exception('flutter build failed: ${result.exitCode}\n${result.stderr}\n${result.stdout}');
}
expect(exampleApk, exists);
}
......
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