java.lang.ClassCastException: com.appcelerator.titanium.android.core.Device cannot be cast to java.lang.String

Appcelerator JIRA | Lokesh Choudhary | 3 years ago
  1. 0

    h5.Description: 1.Right click on the project then "Run as --> Run Configurations" & then to "Android application installer". 2.You will see a device drop down for the particular project you are building for. 3.Click the drop down. 4.You will see a random word. Select it. h5.Actual Result: 1.You will see some java null pointer exception errors in a dialog (refer screenshot). 2.Studio logs gives these errors: {code} !ENTRY org.eclipse.jface 4 2 2013-10-25 15:36:57.746 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". !STACK 0 java.lang.ClassCastException: com.appcelerator.titanium.android.core.Device cannot be cast to java.lang.String at com.appcelerator.titanium.android.ui.launching.AndroidLaunchConfigurationTab.updateAndroidConfiguration(AndroidLaunchConfigurationTab.java:165) at com.appcelerator.titanium.android.ui.launching.AndroidLaunchConfigurationTab$2.selectionChanged(AndroidLaunchConfigurationTab.java:150) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188) at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239) at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651) at org.eclipse.jface.window.Window.runEventLoop(Window.java:826) at org.eclipse.jface.window.Window.open(Window.java:802) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1134) at org.eclipse.debug.ui.DebugUITools$2.run(DebugUITools.java:604) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:612) at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:546) at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:81) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1284) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450) {code} 2.Running the command "ti info -t android -o json" gives this output: {code} LChoudharyMBP:~ lokeshchoudhary$ ti info -t android -o json { "android": { "linux64bit": null, "sdk": { "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx", "executables": { "adb": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platform-tools/adb", "android": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/tools/android", "emulator": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/tools/emulator", "mksdcard": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/tools/mksdcard", "zipalign": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/tools/zipalign", "aapt": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/build-tools/18.0.1/aapt", "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/build-tools/18.0.1/aidl", "dx": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/build-tools/18.0.1/dx" }, "dx": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/build-tools/18.0.1/lib/dx.jar", "proguard": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/tools/proguard/lib/proguard.jar", "tools": { "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/tools", "supported": true, "version": "22.2.1" }, "platformTools": { "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platform-tools", "supported": true, "version": "18.0.1" }, "buildTools": { "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/build-tools/18.0.1", "supported": true, "version": "18.0.1" } }, "ndk": { "path": "/Users/lokeshchoudhary/Desktop/android-ndk-r8b", "executables": { "ndkbuild": "/Users/lokeshchoudhary/Desktop/android-ndk-r8b/ndk-build" }, "version": "r8b" }, "home": "/Users/lokeshchoudhary/.android", "detectVersion": "2.0", "vendorDependencies": { "android sdk": ">=10 <=18", "android build tools": ">=17 <18.x", "android platform tools": ">=17 <=18.x", "android tools": "22.x", "android ndk": ">=r8e <=r9", "node": ">0.8.0 <=0.10.x", "java": "<=1.7.x" }, "targets": { "1": { "id": "android-8", "name": "Android 2.2", "type": "platform", "api-level": "8", "revision": "3", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WVGA800", "WVGA854" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-8", "version": "2.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-8/android.jar", "supported": false, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-8/framework.aidl" }, "2": { "id": "Google Inc.:Google APIs:8", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "2", "description": "Android + Google APIs", "based-on": { "android-version": "2.2", "api-level": "8" }, "libraries": { "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "HVGA", "WQVGA432", "WVGA800", "QVGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-8", "version": "2.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-8/android.jar", "supported": false, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-8/framework.aidl" }, "3": { "id": "android-10", "name": "Android 2.3.3", "type": "platform", "api-level": "10", "revision": "2", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WVGA800", "WVGA854" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10", "version": "2.3.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/framework.aidl" }, "4": { "id": "Google Inc.:Google APIs:10", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "2", "description": "Android + Google APIs", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "libraries": { "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "HVGA", "WQVGA432", "WVGA800", "QVGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-10", "version": "2.3.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/framework.aidl" }, "5": { "id": "Intel Corporation:Intel Atom x86 System Image:10", "name": "Intel Atom x86 System Image", "type": "add-on", "vendor": "Intel Corporation", "revision": "1", "description": "Intel Atom x86 System Image", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "skins": [ "WVGA854", "WQVGA400", "HVGA", "WQVGA432", "WVGA800", "QVGA" ], "abis": [ "x86" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-intel_atom_x86_system_image-intel_corporation-10", "version": "2.3.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/framework.aidl" }, "6": { "id": "KYOCERA Corporation:DTS Add-On:10", "name": "DTS Add-On", "type": "add-on", "vendor": "KYOCERA Corporation", "revision": "1", "description": "DTS Add-On", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "libraries": { "com.kyocera.dualscreen": { "jar": "dualscreen.jar", "description": "Dual Screen optional platform library" } }, "skins": [ "DTS400", "WVGA854", "WQVGA400", "HVGA", "DTS800", "WQVGA432", "WVGA800", "QVGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": null, "version": "2.3.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/framework.aidl" }, "7": { "id": "LGE:Real3D Add-On:10", "name": "Real3D Add-On", "type": "add-on", "vendor": "LGE", "revision": "1", "description": "Real3D add-on", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "libraries": { "com.lge.real3d": { "jar": "real3d.jar", "description": "Real3D library" } }, "skins": [ "WVGA854", "WQVGA400", "Optimus3D", "HVGA", "WQVGA432", "WVGA800", "QVGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": null, "version": "2.3.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/framework.aidl" }, "8": { "id": "Sony Mobile Communications AB:EDK 2.0:10", "name": "EDK 2.0", "type": "add-on", "vendor": "Sony Mobile Communications AB", "revision": "2", "description": "SDK for Xperia(TM) Open APIs: Timescape(TM), Music Infinite, SmartKey, and Smart Extension", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "libraries": { "com.sonyericsson.media.infinite.extension_1": { "jar": "com.sonyericsson.media.infinite.extension_1.jar", "description": "Library for Android Market filtering" }, "com.sonyericsson.eventstream_3": { "jar": "com.sonyericsson.eventstream.jar", "description": "Library for Android Market filtering" }, "com.sonyericsson.eventstream_1": { "jar": "com.sonyericsson.eventstream.jar", "description": "Library for Android Market filtering" }, "com.sonyericsson.eventstream_2": { "jar": "com.sonyericsson.eventstream.jar", "description": "Library for Android Market filtering" } }, "skins": [ "WVGA854", "WQVGA400", "HVGA", "WXGA_XPERIA", "WQVGA432", "WVGA800", "QVGA", "HVGA_XPERIA", "WVGA_XPERIA" ], "abis": [ "armeabi" ], "googleApis": false, "path": null, "version": "2.3.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/framework.aidl" }, "9": { "id": "android-11", "name": "Android 3.0", "type": "platform", "api-level": "11", "revision": "2", "skins": [ "WXGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-11", "version": "3.0", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-11/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-11/framework.aidl" }, "10": { "id": "Google Inc.:Google APIs:11", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "1", "description": "Android + Google APIs", "based-on": { "android-version": "3.0", "api-level": "11" }, "libraries": { "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WXGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-11", "version": "3.0", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-11/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-11/framework.aidl" }, "11": { "id": "android-12", "name": "Android 3.1", "type": "platform", "api-level": "12", "revision": "3", "skins": [ "WXGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-12", "version": "3.1", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-12/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-12/framework.aidl" }, "12": { "id": "Google Inc.:Google APIs:12", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "1", "description": "Android + Google APIs", "based-on": { "android-version": "3.1", "api-level": "12" }, "libraries": { "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WXGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-12", "version": "3.1", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-12/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-12/framework.aidl" }, "13": { "id": "android-13", "name": "Android 3.2", "type": "platform", "api-level": "13", "revision": "1", "skins": [ "WXGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-13", "version": "3.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-13/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-13/framework.aidl" }, "14": { "id": "Google Inc.:Google APIs:13", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "1", "description": "Android + Google APIs", "based-on": { "android-version": "3.2", "api-level": "13" }, "libraries": { "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WXGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-13", "version": "3.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-13/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-13/framework.aidl" }, "15": { "id": "android-14", "name": "Android 4.0", "type": "platform", "api-level": "14", "revision": "3", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14", "version": "4.0", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14/framework.aidl" }, "16": { "id": "Google Inc.:Google APIs:14", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "2", "description": "Android + Google APIs", "based-on": { "android-version": "4.0", "api-level": "14" }, "libraries": { "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "WSVGA", "WXGA720", "HVGA", "WQVGA432", "WVGA800", "QVGA", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-14", "version": "4.0", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14/framework.aidl" }, "17": { "id": "LGE:Real3D Add-On:14", "name": "Real3D Add-On", "type": "add-on", "vendor": "LGE", "revision": "1", "description": "Real3D add-on", "based-on": { "android-version": "4.0", "api-level": "14" }, "libraries": { "com.lge.real3d": { "jar": "real3d.jar", "description": "Real3D library" } }, "skins": [ "WVGA854", "WQVGA400", "WSVGA", "WXGA720", "Optimus3D", "HVGA", "WQVGA432", "WVGA800", "QVGA", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": null, "version": "4.0", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14/framework.aidl" }, "18": { "id": "android-15", "name": "Android 4.0.3", "type": "platform", "api-level": "15", "revision": "3", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800" ], "abis": [ "armeabi-v7a", "mips", "x86" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-15", "version": "4.0.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-15/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-15/framework.aidl" }, "19": { "id": "Google Inc.:Google APIs:15", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "2", "description": "Android + Google APIs", "based-on": { "android-version": "4.0.3", "api-level": "15" }, "libraries": { "com.google.android.media.effects": { "jar": "effects.jar", "description": "Collection of video effects" }, "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "WSVGA", "WXGA720", "HVGA", "WQVGA432", "WVGA800", "QVGA", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-15", "version": "4.0.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-15/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-15/framework.aidl" }, "20": { "id": "android-16", "name": "Android 4.1.2", "type": "platform", "api-level": "16", "revision": "4", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800", "WXGA800-7in" ], "abis": [ "armeabi-v7a", "mips", "x86" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-16", "version": "4.1.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-16/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-16/framework.aidl" }, "21": { "id": "Google Inc.:Google APIs:16", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "3", "description": "Android + Google APIs", "based-on": { "android-version": "4.1.2", "api-level": "16" }, "libraries": { "com.google.android.media.effects": { "jar": "effects.jar", "description": "Collection of video effects" }, "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "WSVGA", "WXGA800-7in", "WXGA720", "HVGA", "WQVGA432", "WVGA800", "QVGA", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-16", "version": "4.1.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-16/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-16/framework.aidl" }, "22": { "id": "android-17", "name": "Android 4.2.2", "type": "platform", "api-level": "17", "revision": "2", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800", "WXGA800-7in" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-17", "version": "4.2.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-17/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-17/framework.aidl" }, "23": { "id": "Google Inc.:Google APIs:17", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "3", "description": "Android + Google APIs", "based-on": { "android-version": "4.2.2", "api-level": "17" }, "libraries": { "com.google.android.media.effects": { "jar": "effects.jar", "description": "Collection of video effects" }, "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "WSVGA", "WXGA800-7in", "WXGA720", "HVGA", "WQVGA432", "WVGA800", "QVGA", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-17", "version": "4.2.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-17/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-17/framework.aidl" }, "24": { "id": "android-18", "name": "Android 4.3", "type": "platform", "api-level": "18", "revision": "2", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800", "WXGA800-7in" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-18", "version": "4.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-18/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-18/framework.aidl" }, "25": { "id": "Google Inc.:Google APIs:18", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "3", "description": "Android + Google APIs", "based-on": { "android-version": "4.3", "api-level": "18" }, "libraries": { "com.google.android.media.effects": { "jar": "effects.jar", "description": "Collection of video effects" }, "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "WSVGA", "WXGA800-7in", "WXGA720", "HVGA", "WQVGA432", "WVGA800", "QVGA", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-18", "version": "4.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-18/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-18/framework.aidl" } }, "issues": [ { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Android 2.2 (android-8)__ is too old and is no longer supported by Titanium SDK 3.2.0.\nThe minimum supported Android API level by Titanium SDK 3.2.0 is API level 10." }, { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Google APIs (Google Inc.:Google APIs:8)__ is too old and is no longer supported by Titanium SDK 3.2.0.\nThe minimum supported Android API level by Titanium SDK 3.2.0 is API level 10." } ], "title": "Android", "tisdk": "3.2.0", "devices": [ { "id": "0c1aaa71", "state": "device", "sdk": "17", "release": "4.2.2", "model": "SAMSUNG-SGH-I337", "brand": "samsung", "name": "jflteuc", "device": "jflteatt", "abi": [ "armeabi-v7a", "armeabi" ], "manufacturer": "samsung", "emulator": false } ], "emulators": [ { "type": "avd", "name": "titanium_12_WXGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_12_WXGA.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "3.0", "api-level": "11" }, "abi": "armeabi", "skin": "WXGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_12_WXGA.sdcard", "googleApis": true, "sdk-version": "3.0" }, { "type": "avd", "name": "titanium_13_WXGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_13_WXGA.avd", "target": "Android 3.2 (API level 13)", "abi": "armeabi", "skin": "WXGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_13_WXGA.sdcard", "googleApis": false, "sdk-version": "3.2" }, { "type": "avd", "name": "titanium_18_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_18_HVGA.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "4.0", "api-level": "14" }, "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_18_HVGA.sdcard", "googleApis": true, "sdk-version": "4.0" }, { "type": "avd", "name": "titanium_18_HVGA_armeabi-v7a", "path": "/Users/lokeshchoudhary/.android/avd/titanium_18_HVGA_armeabi-v7a.avd", "target": "Android 4.0.3 (API level 15)", "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_18_HVGA_armeabi-v7a.sdcard", "googleApis": false, "sdk-version": "4.0.3" }, { "type": "avd", "name": "titanium_19_WVGA854", "path": "/Users/lokeshchoudhary/.android/avd/titanium_19_WVGA854.avd", "target": "Real3D Add-On (LGE)", "based-on": { "android-version": "4.0", "api-level": "14" }, "abi": "armeabi-v7a", "skin": "WVGA854", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_19_WVGA854.sdcard", "googleApis": false, "sdk-version": "4.0" }, { "type": "avd", "name": "titanium_1_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_1_HVGA.avd", "target": "Android 2.2 (API level 8)", "abi": "armeabi", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_1_HVGA.sdcard", "googleApis": false, "sdk-version": "2.2" }, { "type": "avd", "name": "titanium_20_HVGA_armeabi-v7a", "path": "/Users/lokeshchoudhary/.android/avd/titanium_20_HVGA_armeabi-v7a.avd", "target": "Android 4.1.2 (API level 16)", "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_20_HVGA_armeabi-v7a.sdcard", "googleApis": false, "sdk-version": "4.1.2" }, { "type": "avd", "name": "titanium_21_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_21_HVGA.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "4.0.3", "api-level": "15" }, "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_21_HVGA.sdcard", "googleApis": true, "sdk-version": "4.0.3" }, { "type": "avd", "name": "titanium_22_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_22_HVGA.avd", "target": "Android 4.2.2 (API level 17)", "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_22_HVGA.sdcard", "googleApis": false, "sdk-version": "4.2.2" }, { "type": "avd", "name": "titanium_23_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_23_HVGA.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "4.1.2", "api-level": "16" }, "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_23_HVGA.sdcard", "googleApis": true, "sdk-version": "4.1.2" }, { "type": "avd", "name": "titanium_24_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_24_HVGA.avd", "target": "Android 4.3 (API level 18)", "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_24_HVGA.sdcard", "googleApis": false, "sdk-version": "4.3" }, { "type": "avd", "name": "titanium_26_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_26_HVGA.avd", "target": "Android 4.3 (API level 18)", "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_26_HVGA.sdcard", "googleApis": false, "sdk-version": "4.3" }, { "type": "avd", "name": "titanium_27_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_27_HVGA.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "4.3", "api-level": "18" }, "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_27_HVGA.sdcard", "googleApis": true, "sdk-version": "4.3" }, { "type": "avd", "name": "titanium_27_WVGA854", "path": "/Users/lokeshchoudhary/.android/avd/titanium_27_WVGA854.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "4.3", "api-level": "18" }, "abi": "armeabi-v7a", "skin": "WVGA854", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_27_WVGA854.sdcard", "googleApis": true, "sdk-version": "4.3" }, { "type": "avd", "name": "titanium_2_WVGA854", "path": "/Users/lokeshchoudhary/.android/avd/titanium_2_WVGA854.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "2.2", "api-level": "8" }, "abi": "armeabi", "skin": "WVGA854", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_2_WVGA854.sdcard", "googleApis": true, "sdk-version": "2.2" }, { "type": "avd", "name": "titanium_3_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_3_HVGA.avd", "target": "Android 2.3.3 (API level 10)", "abi": "armeabi", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_3_HVGA.sdcard", "googleApis": false, "sdk-version": "2.3.3" }, { "type": "avd", "name": "titanium_5_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_5_HVGA.avd", "target": "Android 2.3.3 (API level 10)", "abi": "armeabi", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_5_HVGA.sdcard", "googleApis": false, "sdk-version": "2.3.3" }, { "type": "avd", "name": "titanium_6_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_6_HVGA.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "abi": "armeabi", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_6_HVGA.sdcard", "googleApis": true, "sdk-version": "2.3.3" }, { "type": "avd", "name": "titanium_6_WVGA854", "path": "/Users/lokeshchoudhary/.android/avd/titanium_6_WVGA854.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "abi": "armeabi", "skin": "WVGA854", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_6_WVGA854.sdcard", "googleApis": true, "sdk-version": "2.3.3" }, { "type": "avd", "name": "titanium_9_WVGA800", "path": "/Users/lokeshchoudhary/.android/avd/titanium_9_WVGA800.avd", "target": "Real3D Add-On (LGE)", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "abi": "armeabi", "skin": "WVGA800", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_9_WVGA800.sdcard", "googleApis": false, "sdk-version": "2.3.3" }, { "type": "avd", "name": "titanium_9_WXGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_9_WXGA.avd", "target": "Android 3.0 (API level 11)", "abi": "armeabi", "skin": "WXGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_9_WXGA.sdcard", "googleApis": false, "sdk-version": "3.0" } ] } } {code} h5.Expected Result: 1.Selecting the device in the run configurations should not throw errors.

    Appcelerator JIRA | 3 years ago | Lokesh Choudhary
    java.lang.ClassCastException: com.appcelerator.titanium.android.core.Device cannot be cast to java.lang.String
  2. 0

    h5.Description: 1.Right click on the project then "Run as --> Run Configurations" & then to "Android application installer". 2.You will see a device drop down for the particular project you are building for. 3.Click the drop down. 4.You will see a random word. Select it. h5.Actual Result: 1.You will see some java null pointer exception errors in a dialog (refer screenshot). 2.Studio logs gives these errors: {code} !ENTRY org.eclipse.jface 4 2 2013-10-25 15:36:57.746 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". !STACK 0 java.lang.ClassCastException: com.appcelerator.titanium.android.core.Device cannot be cast to java.lang.String at com.appcelerator.titanium.android.ui.launching.AndroidLaunchConfigurationTab.updateAndroidConfiguration(AndroidLaunchConfigurationTab.java:165) at com.appcelerator.titanium.android.ui.launching.AndroidLaunchConfigurationTab$2.selectionChanged(AndroidLaunchConfigurationTab.java:150) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188) at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239) at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651) at org.eclipse.jface.window.Window.runEventLoop(Window.java:826) at org.eclipse.jface.window.Window.open(Window.java:802) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1134) at org.eclipse.debug.ui.DebugUITools$2.run(DebugUITools.java:604) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:612) at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:546) at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:81) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1284) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450) {code} 2.Running the command "ti info -t android -o json" gives this output: {code} LChoudharyMBP:~ lokeshchoudhary$ ti info -t android -o json { "android": { "linux64bit": null, "sdk": { "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx", "executables": { "adb": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platform-tools/adb", "android": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/tools/android", "emulator": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/tools/emulator", "mksdcard": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/tools/mksdcard", "zipalign": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/tools/zipalign", "aapt": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/build-tools/18.0.1/aapt", "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/build-tools/18.0.1/aidl", "dx": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/build-tools/18.0.1/dx" }, "dx": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/build-tools/18.0.1/lib/dx.jar", "proguard": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/tools/proguard/lib/proguard.jar", "tools": { "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/tools", "supported": true, "version": "22.2.1" }, "platformTools": { "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platform-tools", "supported": true, "version": "18.0.1" }, "buildTools": { "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/build-tools/18.0.1", "supported": true, "version": "18.0.1" } }, "ndk": { "path": "/Users/lokeshchoudhary/Desktop/android-ndk-r8b", "executables": { "ndkbuild": "/Users/lokeshchoudhary/Desktop/android-ndk-r8b/ndk-build" }, "version": "r8b" }, "home": "/Users/lokeshchoudhary/.android", "detectVersion": "2.0", "vendorDependencies": { "android sdk": ">=10 <=18", "android build tools": ">=17 <18.x", "android platform tools": ">=17 <=18.x", "android tools": "22.x", "android ndk": ">=r8e <=r9", "node": ">0.8.0 <=0.10.x", "java": "<=1.7.x" }, "targets": { "1": { "id": "android-8", "name": "Android 2.2", "type": "platform", "api-level": "8", "revision": "3", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WVGA800", "WVGA854" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-8", "version": "2.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-8/android.jar", "supported": false, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-8/framework.aidl" }, "2": { "id": "Google Inc.:Google APIs:8", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "2", "description": "Android + Google APIs", "based-on": { "android-version": "2.2", "api-level": "8" }, "libraries": { "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "HVGA", "WQVGA432", "WVGA800", "QVGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-8", "version": "2.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-8/android.jar", "supported": false, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-8/framework.aidl" }, "3": { "id": "android-10", "name": "Android 2.3.3", "type": "platform", "api-level": "10", "revision": "2", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WVGA800", "WVGA854" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10", "version": "2.3.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/framework.aidl" }, "4": { "id": "Google Inc.:Google APIs:10", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "2", "description": "Android + Google APIs", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "libraries": { "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "HVGA", "WQVGA432", "WVGA800", "QVGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-10", "version": "2.3.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/framework.aidl" }, "5": { "id": "Intel Corporation:Intel Atom x86 System Image:10", "name": "Intel Atom x86 System Image", "type": "add-on", "vendor": "Intel Corporation", "revision": "1", "description": "Intel Atom x86 System Image", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "skins": [ "WVGA854", "WQVGA400", "HVGA", "WQVGA432", "WVGA800", "QVGA" ], "abis": [ "x86" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-intel_atom_x86_system_image-intel_corporation-10", "version": "2.3.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/framework.aidl" }, "6": { "id": "KYOCERA Corporation:DTS Add-On:10", "name": "DTS Add-On", "type": "add-on", "vendor": "KYOCERA Corporation", "revision": "1", "description": "DTS Add-On", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "libraries": { "com.kyocera.dualscreen": { "jar": "dualscreen.jar", "description": "Dual Screen optional platform library" } }, "skins": [ "DTS400", "WVGA854", "WQVGA400", "HVGA", "DTS800", "WQVGA432", "WVGA800", "QVGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": null, "version": "2.3.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/framework.aidl" }, "7": { "id": "LGE:Real3D Add-On:10", "name": "Real3D Add-On", "type": "add-on", "vendor": "LGE", "revision": "1", "description": "Real3D add-on", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "libraries": { "com.lge.real3d": { "jar": "real3d.jar", "description": "Real3D library" } }, "skins": [ "WVGA854", "WQVGA400", "Optimus3D", "HVGA", "WQVGA432", "WVGA800", "QVGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": null, "version": "2.3.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/framework.aidl" }, "8": { "id": "Sony Mobile Communications AB:EDK 2.0:10", "name": "EDK 2.0", "type": "add-on", "vendor": "Sony Mobile Communications AB", "revision": "2", "description": "SDK for Xperia(TM) Open APIs: Timescape(TM), Music Infinite, SmartKey, and Smart Extension", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "libraries": { "com.sonyericsson.media.infinite.extension_1": { "jar": "com.sonyericsson.media.infinite.extension_1.jar", "description": "Library for Android Market filtering" }, "com.sonyericsson.eventstream_3": { "jar": "com.sonyericsson.eventstream.jar", "description": "Library for Android Market filtering" }, "com.sonyericsson.eventstream_1": { "jar": "com.sonyericsson.eventstream.jar", "description": "Library for Android Market filtering" }, "com.sonyericsson.eventstream_2": { "jar": "com.sonyericsson.eventstream.jar", "description": "Library for Android Market filtering" } }, "skins": [ "WVGA854", "WQVGA400", "HVGA", "WXGA_XPERIA", "WQVGA432", "WVGA800", "QVGA", "HVGA_XPERIA", "WVGA_XPERIA" ], "abis": [ "armeabi" ], "googleApis": false, "path": null, "version": "2.3.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-10/framework.aidl" }, "9": { "id": "android-11", "name": "Android 3.0", "type": "platform", "api-level": "11", "revision": "2", "skins": [ "WXGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-11", "version": "3.0", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-11/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-11/framework.aidl" }, "10": { "id": "Google Inc.:Google APIs:11", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "1", "description": "Android + Google APIs", "based-on": { "android-version": "3.0", "api-level": "11" }, "libraries": { "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WXGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-11", "version": "3.0", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-11/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-11/framework.aidl" }, "11": { "id": "android-12", "name": "Android 3.1", "type": "platform", "api-level": "12", "revision": "3", "skins": [ "WXGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-12", "version": "3.1", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-12/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-12/framework.aidl" }, "12": { "id": "Google Inc.:Google APIs:12", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "1", "description": "Android + Google APIs", "based-on": { "android-version": "3.1", "api-level": "12" }, "libraries": { "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WXGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-12", "version": "3.1", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-12/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-12/framework.aidl" }, "13": { "id": "android-13", "name": "Android 3.2", "type": "platform", "api-level": "13", "revision": "1", "skins": [ "WXGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-13", "version": "3.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-13/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-13/framework.aidl" }, "14": { "id": "Google Inc.:Google APIs:13", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "1", "description": "Android + Google APIs", "based-on": { "android-version": "3.2", "api-level": "13" }, "libraries": { "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WXGA" ], "abis": [ "armeabi" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-13", "version": "3.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-13/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-13/framework.aidl" }, "15": { "id": "android-14", "name": "Android 4.0", "type": "platform", "api-level": "14", "revision": "3", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14", "version": "4.0", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14/framework.aidl" }, "16": { "id": "Google Inc.:Google APIs:14", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "2", "description": "Android + Google APIs", "based-on": { "android-version": "4.0", "api-level": "14" }, "libraries": { "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "WSVGA", "WXGA720", "HVGA", "WQVGA432", "WVGA800", "QVGA", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-14", "version": "4.0", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14/framework.aidl" }, "17": { "id": "LGE:Real3D Add-On:14", "name": "Real3D Add-On", "type": "add-on", "vendor": "LGE", "revision": "1", "description": "Real3D add-on", "based-on": { "android-version": "4.0", "api-level": "14" }, "libraries": { "com.lge.real3d": { "jar": "real3d.jar", "description": "Real3D library" } }, "skins": [ "WVGA854", "WQVGA400", "WSVGA", "WXGA720", "Optimus3D", "HVGA", "WQVGA432", "WVGA800", "QVGA", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": null, "version": "4.0", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-14/framework.aidl" }, "18": { "id": "android-15", "name": "Android 4.0.3", "type": "platform", "api-level": "15", "revision": "3", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800" ], "abis": [ "armeabi-v7a", "mips", "x86" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-15", "version": "4.0.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-15/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-15/framework.aidl" }, "19": { "id": "Google Inc.:Google APIs:15", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "2", "description": "Android + Google APIs", "based-on": { "android-version": "4.0.3", "api-level": "15" }, "libraries": { "com.google.android.media.effects": { "jar": "effects.jar", "description": "Collection of video effects" }, "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "WSVGA", "WXGA720", "HVGA", "WQVGA432", "WVGA800", "QVGA", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-15", "version": "4.0.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-15/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-15/framework.aidl" }, "20": { "id": "android-16", "name": "Android 4.1.2", "type": "platform", "api-level": "16", "revision": "4", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800", "WXGA800-7in" ], "abis": [ "armeabi-v7a", "mips", "x86" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-16", "version": "4.1.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-16/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-16/framework.aidl" }, "21": { "id": "Google Inc.:Google APIs:16", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "3", "description": "Android + Google APIs", "based-on": { "android-version": "4.1.2", "api-level": "16" }, "libraries": { "com.google.android.media.effects": { "jar": "effects.jar", "description": "Collection of video effects" }, "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "WSVGA", "WXGA800-7in", "WXGA720", "HVGA", "WQVGA432", "WVGA800", "QVGA", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-16", "version": "4.1.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-16/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-16/framework.aidl" }, "22": { "id": "android-17", "name": "Android 4.2.2", "type": "platform", "api-level": "17", "revision": "2", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800", "WXGA800-7in" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-17", "version": "4.2.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-17/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-17/framework.aidl" }, "23": { "id": "Google Inc.:Google APIs:17", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "3", "description": "Android + Google APIs", "based-on": { "android-version": "4.2.2", "api-level": "17" }, "libraries": { "com.google.android.media.effects": { "jar": "effects.jar", "description": "Collection of video effects" }, "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "WSVGA", "WXGA800-7in", "WXGA720", "HVGA", "WQVGA432", "WVGA800", "QVGA", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-17", "version": "4.2.2", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-17/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-17/framework.aidl" }, "24": { "id": "android-18", "name": "Android 4.3", "type": "platform", "api-level": "18", "revision": "2", "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800", "WXGA800-7in" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-18", "version": "4.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-18/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-18/framework.aidl" }, "25": { "id": "Google Inc.:Google APIs:18", "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": "3", "description": "Android + Google APIs", "based-on": { "android-version": "4.3", "api-level": "18" }, "libraries": { "com.google.android.media.effects": { "jar": "effects.jar", "description": "Collection of video effects" }, "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "skins": [ "WVGA854", "WQVGA400", "WSVGA", "WXGA800-7in", "WXGA720", "HVGA", "WQVGA432", "WVGA800", "QVGA", "WXGA800" ], "abis": [ "armeabi-v7a" ], "googleApis": false, "path": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-18", "version": "4.3", "androidJar": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-18/android.jar", "supported": true, "aidl": "/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-18/framework.aidl" } }, "issues": [ { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Android 2.2 (android-8)__ is too old and is no longer supported by Titanium SDK 3.2.0.\nThe minimum supported Android API level by Titanium SDK 3.2.0 is API level 10." }, { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Google APIs (Google Inc.:Google APIs:8)__ is too old and is no longer supported by Titanium SDK 3.2.0.\nThe minimum supported Android API level by Titanium SDK 3.2.0 is API level 10." } ], "title": "Android", "tisdk": "3.2.0", "devices": [ { "id": "0c1aaa71", "state": "device", "sdk": "17", "release": "4.2.2", "model": "SAMSUNG-SGH-I337", "brand": "samsung", "name": "jflteuc", "device": "jflteatt", "abi": [ "armeabi-v7a", "armeabi" ], "manufacturer": "samsung", "emulator": false } ], "emulators": [ { "type": "avd", "name": "titanium_12_WXGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_12_WXGA.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "3.0", "api-level": "11" }, "abi": "armeabi", "skin": "WXGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_12_WXGA.sdcard", "googleApis": true, "sdk-version": "3.0" }, { "type": "avd", "name": "titanium_13_WXGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_13_WXGA.avd", "target": "Android 3.2 (API level 13)", "abi": "armeabi", "skin": "WXGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_13_WXGA.sdcard", "googleApis": false, "sdk-version": "3.2" }, { "type": "avd", "name": "titanium_18_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_18_HVGA.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "4.0", "api-level": "14" }, "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_18_HVGA.sdcard", "googleApis": true, "sdk-version": "4.0" }, { "type": "avd", "name": "titanium_18_HVGA_armeabi-v7a", "path": "/Users/lokeshchoudhary/.android/avd/titanium_18_HVGA_armeabi-v7a.avd", "target": "Android 4.0.3 (API level 15)", "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_18_HVGA_armeabi-v7a.sdcard", "googleApis": false, "sdk-version": "4.0.3" }, { "type": "avd", "name": "titanium_19_WVGA854", "path": "/Users/lokeshchoudhary/.android/avd/titanium_19_WVGA854.avd", "target": "Real3D Add-On (LGE)", "based-on": { "android-version": "4.0", "api-level": "14" }, "abi": "armeabi-v7a", "skin": "WVGA854", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_19_WVGA854.sdcard", "googleApis": false, "sdk-version": "4.0" }, { "type": "avd", "name": "titanium_1_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_1_HVGA.avd", "target": "Android 2.2 (API level 8)", "abi": "armeabi", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_1_HVGA.sdcard", "googleApis": false, "sdk-version": "2.2" }, { "type": "avd", "name": "titanium_20_HVGA_armeabi-v7a", "path": "/Users/lokeshchoudhary/.android/avd/titanium_20_HVGA_armeabi-v7a.avd", "target": "Android 4.1.2 (API level 16)", "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_20_HVGA_armeabi-v7a.sdcard", "googleApis": false, "sdk-version": "4.1.2" }, { "type": "avd", "name": "titanium_21_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_21_HVGA.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "4.0.3", "api-level": "15" }, "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_21_HVGA.sdcard", "googleApis": true, "sdk-version": "4.0.3" }, { "type": "avd", "name": "titanium_22_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_22_HVGA.avd", "target": "Android 4.2.2 (API level 17)", "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_22_HVGA.sdcard", "googleApis": false, "sdk-version": "4.2.2" }, { "type": "avd", "name": "titanium_23_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_23_HVGA.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "4.1.2", "api-level": "16" }, "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_23_HVGA.sdcard", "googleApis": true, "sdk-version": "4.1.2" }, { "type": "avd", "name": "titanium_24_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_24_HVGA.avd", "target": "Android 4.3 (API level 18)", "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_24_HVGA.sdcard", "googleApis": false, "sdk-version": "4.3" }, { "type": "avd", "name": "titanium_26_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_26_HVGA.avd", "target": "Android 4.3 (API level 18)", "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_26_HVGA.sdcard", "googleApis": false, "sdk-version": "4.3" }, { "type": "avd", "name": "titanium_27_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_27_HVGA.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "4.3", "api-level": "18" }, "abi": "armeabi-v7a", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_27_HVGA.sdcard", "googleApis": true, "sdk-version": "4.3" }, { "type": "avd", "name": "titanium_27_WVGA854", "path": "/Users/lokeshchoudhary/.android/avd/titanium_27_WVGA854.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "4.3", "api-level": "18" }, "abi": "armeabi-v7a", "skin": "WVGA854", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_27_WVGA854.sdcard", "googleApis": true, "sdk-version": "4.3" }, { "type": "avd", "name": "titanium_2_WVGA854", "path": "/Users/lokeshchoudhary/.android/avd/titanium_2_WVGA854.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "2.2", "api-level": "8" }, "abi": "armeabi", "skin": "WVGA854", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_2_WVGA854.sdcard", "googleApis": true, "sdk-version": "2.2" }, { "type": "avd", "name": "titanium_3_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_3_HVGA.avd", "target": "Android 2.3.3 (API level 10)", "abi": "armeabi", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_3_HVGA.sdcard", "googleApis": false, "sdk-version": "2.3.3" }, { "type": "avd", "name": "titanium_5_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_5_HVGA.avd", "target": "Android 2.3.3 (API level 10)", "abi": "armeabi", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_5_HVGA.sdcard", "googleApis": false, "sdk-version": "2.3.3" }, { "type": "avd", "name": "titanium_6_HVGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_6_HVGA.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "abi": "armeabi", "skin": "HVGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_6_HVGA.sdcard", "googleApis": true, "sdk-version": "2.3.3" }, { "type": "avd", "name": "titanium_6_WVGA854", "path": "/Users/lokeshchoudhary/.android/avd/titanium_6_WVGA854.avd", "target": "Google APIs (Google Inc.)", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "abi": "armeabi", "skin": "WVGA854", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_6_WVGA854.sdcard", "googleApis": true, "sdk-version": "2.3.3" }, { "type": "avd", "name": "titanium_9_WVGA800", "path": "/Users/lokeshchoudhary/.android/avd/titanium_9_WVGA800.avd", "target": "Real3D Add-On (LGE)", "based-on": { "android-version": "2.3.3", "api-level": "10" }, "abi": "armeabi", "skin": "WVGA800", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_9_WVGA800.sdcard", "googleApis": false, "sdk-version": "2.3.3" }, { "type": "avd", "name": "titanium_9_WXGA", "path": "/Users/lokeshchoudhary/.android/avd/titanium_9_WXGA.avd", "target": "Android 3.0 (API level 11)", "abi": "armeabi", "skin": "WXGA", "sdcard": "/Users/lokeshchoudhary/.titanium/titanium_9_WXGA.sdcard", "googleApis": false, "sdk-version": "3.0" } ] } } {code} h5.Expected Result: 1.Selecting the device in the run configurations should not throw errors.

    Appcelerator JIRA | 3 years ago | Lokesh Choudhary
    java.lang.ClassCastException: com.appcelerator.titanium.android.core.Device cannot be cast to java.lang.String
  3. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String
  6. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.appcelerator.titanium.android.core.Device cannot be cast to java.lang.String

      at com.appcelerator.titanium.android.ui.launching.AndroidLaunchConfigurationTab.updateAndroidConfiguration()
    2. com.appcelerator.titanium
      AndroidLaunchConfigurationTab$2.selectionChanged
      1. com.appcelerator.titanium.android.ui.launching.AndroidLaunchConfigurationTab.updateAndroidConfiguration(AndroidLaunchConfigurationTab.java:165)
      2. com.appcelerator.titanium.android.ui.launching.AndroidLaunchConfigurationTab$2.selectionChanged(AndroidLaunchConfigurationTab.java:150)
      2 frames
    3. JFace
      Viewer$2.run
      1. org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)
      1 frame
    4. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    5. Eclipse UI
      JFaceUtil$1.run
      1. org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
      1 frame
    6. JFace
      OpenStrategy$1.handleEvent
      1. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
      2. org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)
      3. org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188)
      4. org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211)
      5. org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241)
      6. org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239)
      7. org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233)
      8. org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403)
      8 frames
    7. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
      6. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      7. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
      8. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)
      8 frames
    8. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
      2. org.eclipse.jface.window.Window.open(Window.java:802)
      2 frames
    9. org.eclipse.debug
      DebugUITools$2.run
      1. org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1134)
      2. org.eclipse.debug.ui.DebugUITools$2.run(DebugUITools.java:604)
      2 frames
    10. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    11. org.eclipse.debug
      OpenLaunchDialogAction.run
      1. org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:612)
      2. org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:546)
      3. org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:81)
      3 frames
    12. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
      2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
      4 frames
    13. RWT
      Widget.notifyListeners
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
      6. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      6 frames
    14. JFace
      ActionContributionItem$9.handleEvent
      1. org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1284)
      1 frame
    15. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
      6. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      7. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
      8. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)
      8 frames
    16. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
      1 frame
    17. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    18. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
      1 frame
    19. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
      1 frame
    20. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
      1 frame
    21. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    22. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
      1 frame
    23. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    24. com.appcelerator.titanium
      IDEApplication.start
      1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      1 frame
    25. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    26. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
      4 frames
    27. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    28. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1450)
      3 frames