SDK Manager: fix NPE in AVD > Start when there's no skin name.
Also log missing config.ini path. SDK BUG 2223760 Change-Id: I4517005e03e90c0b5a52bcb40b0d32eddd03c1f3
This commit is contained in:
@@ -1044,7 +1044,13 @@ public final class AvdManager {
|
||||
}
|
||||
|
||||
if (configIniFile != null) {
|
||||
properties = SdkManager.parsePropertyFile(configIniFile, log);
|
||||
if (!configIniFile.isFile()) {
|
||||
if (log != null) {
|
||||
log.warning("Missing file '%1$s'.", configIniFile.getPath());
|
||||
}
|
||||
} else {
|
||||
properties = SdkManager.parsePropertyFile(configIniFile, log);
|
||||
}
|
||||
}
|
||||
|
||||
// get name
|
||||
|
||||
Reference in New Issue
Block a user