getAndroidSdkRoot static method
Implementation
static String getAndroidSdkRoot() {
final envVar = Platform.environment['ANDROID_SDK_ROOT'];
if (envVar == null) {
throw SdkNotFoundException('Android SDK not found. Please set '
'ANDROID_SDK_ROOT environment variable or specify through command '
'line override.');
}
return envVar;
}