- 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
3.0
nor..67 14 years ago
parent 6d728615a3
commit 5d79274363
  1. 6
      sdk/jme3-android/src/com/jme3/gde/android/AndroidSdkTool.java

@ -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…
Cancel
Save