- add null check on executable file to android SDK execution
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8211 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
6d728615a3
commit
5d79274363
@ -129,7 +129,11 @@ public class AndroidSdkTool {
|
||||
} else {
|
||||
executable = folder.getFileObject("tools/android");
|
||||
}
|
||||
return FileUtil.toFile(executable).getPath();
|
||||
if (executable != null) {
|
||||
return FileUtil.toFile(executable).getPath();
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user