Commit 0c18d296 authored by Luke's avatar Luke Committed by Todd Volkert

Adds Java EE module to SDK manager environment to stop missing xml library...

Adds Java EE module to SDK manager environment to stop missing xml library exception when checking for licenses. (#16035)
parent 78434580
......@@ -332,6 +332,7 @@ class AndroidSdk {
if (_sdkManagerEnv == null) {
// If we can locate Java, then add it to the path used to run the Android SDK manager.
_sdkManagerEnv = <String, String>{};
_sdkManagerEnv['SDKMANAGER_OPTS'] = '--add-modules java.se.ee';
final String javaBinary = findJavaBinary();
if (javaBinary != null) {
_sdkManagerEnv['PATH'] =
......
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