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 9e8185010..95509644b 100644 --- a/sdk/jme3-android/src/com/jme3/gde/android/AndroidSdkTool.java +++ b/sdk/jme3-android/src/com/jme3/gde/android/AndroidSdkTool.java @@ -293,6 +293,13 @@ public class AndroidSdkTool { private int revision; private String skins; + public AndroidTarget() { + } + + public AndroidTarget(String name) { + this.name = name; + } + public int getId() { return id; } @@ -353,5 +360,14 @@ public class AndroidSdkTool { public String toString() { return getTitle(); } + + @Override + public boolean equals(Object obj) { + if (obj instanceof String && getName() != null) { + return getName().equals(obj); + } else { + return super.equals(obj); + } + } } }