diff --git a/sdk/jme3-android/src/com/jme3/gde/android/AndroidSdkTool.java b/sdk/jme3-android/src/com/jme3/gde/android/AndroidSdkTool.java index 95509644b..cfcd26565 100644 --- a/sdk/jme3-android/src/com/jme3/gde/android/AndroidSdkTool.java +++ b/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; + } } /**