|
@@ -129,7 +129,11 @@ public class AndroidSdkTool {
|
|
} else {
|
|
} else {
|
|
executable = folder.getFileObject("tools/android");
|
|
executable = folder.getFileObject("tools/android");
|
|
}
|
|
}
|
|
- return FileUtil.toFile(executable).getPath();
|
|
|
|
|
|
+ if (executable != null) {
|
|
|
|
+ return FileUtil.toFile(executable).getPath();
|
|
|
|
+ } else {
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|