Install yet can't run emulator

You must Login before you can answer or comment on any questions.

I install on Windows7 64bit. Everything work fine until I run android emulator.

[ERROR] Application Installer abnormal process termination. Process exit value was 1
[INFO] logfile = C:\Users\Kai\Titanium_Studio_Workspace\Todo List\build.log
[DEBUG] C:\Users\Kai\AppData\Roaming\Titanium\mobilesdk\win32\2.1.1.GA\android\builder.py simulator Sample.Todo C:\Android C:\Users\Kai\Titanium_Studio_Workspace\Todo List com.appcelerator.sample.todo 6 WVGA854
Traceback (most recent call last):
  File "C:\Users\Kai\AppData\Roaming\Titanium\mobilesdk\win32\2.1.1.GA\android\builder.py", line 2187, in <module>
    s = Builder(project_name,sdk_dir,project_dir,template_dir,app_id)
  File "C:\Users\Kai\AppData\Roaming\Titanium\mobilesdk\win32\2.1.1.GA\android\builder.py", line 234, in __init__
    self.sdk = AndroidSDK(sdk, self.tool_api_level)
  File "C:\Users\Kai\AppData\Roaming\Titanium\mobilesdk\win32\2.1.1.GA\android\androidsdk.py", line 50, in __init__
    self.find_platform_dir()
  File "C:\Users\Kai\AppData\Roaming\Titanium\mobilesdk\win32\2.1.1.GA\android\androidsdk.py", line 90, in find_platform_dir
    raise Exception("No \"%s\" or \"%s\" in the Android SDK" % ('android-%s' % self.api_level, android_api_levels[self.api_level]))
Exception: No "android-8" or "android-2.2" in the Android SDK
and I check, my android ok
c:\Android>android list target
Available Android targets:
----------
id: 1 or "android-7"
     Name: Android 2.1
     Type: Platform
     API level: 7
     Revision: 3
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854
     ABIs : armeabi
----------
id: 2 or "Google Inc.:Google APIs:7"
     Name: Google APIs
     Type: Add-On
     Vendor: Google Inc.
     Revision: 1
     Description: Android + Google APIs
     Based on Android 2.1 (API level 7)
     Libraries:
      * com.google.android.maps (maps.jar)
          API for Google Maps
     Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA
     ABIs : armeabi
----------
id: 3 or "android-8"
     Name: Android 2.2
     Type: Platform
     API level: 8
     Revision: 3
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854
     ABIs : armeabi
----------
id: 4 or "Google Inc.:Google APIs:8"
     Name: Google APIs
     Type: Add-On
     Vendor: Google Inc.
     Revision: 2
     Description: Android + Google APIs
     Based on Android 2.2 (API level 8)
     Libraries:
      * com.google.android.maps (maps.jar)
          API for Google Maps
     Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA
     ABIs : armeabi
----------
id: 5 or "KYOCERA Corporation:DTS Add-On:8"
     Name: DTS Add-On
     Type: Add-On
     Vendor: KYOCERA Corporation
     Revision: 1
     Description: DTS Add-On
     Based on Android 2.2 (API level 8)
     Libraries:
      * com.kyocera.dualscreen (dualscreen.jar)
          Dual Screen optional platform library
     Skins: DTS400 (default), WVGA854, WQVGA400, HVGA, DTS800, WQVGA432, WVGA800
, QVGA
     ABIs : armeabi
----------
id: 6 or "LGE:Real3D Add-On:8"
     Name: Real3D Add-On
     Type: Add-On
     Vendor: LGE
     Revision: 1
     Description: Real3D add-on
     Based on Android 2.2 (API level 8)
     Libraries:
      * com.lge.real3d (real3d.jar)
          Real3D library
     Skins: WVGA854, WQVGA400, Optimus3D (default), HVGA, WQVGA432, WVGA800, QVG
A
     ABIs : armeabi
----------
id: 7 or "Samsung Electronics Co., Ltd.:GALAXY Tab Addon:8"
     Name: GALAXY Tab Addon
     Type: Add-On
     Vendor: Samsung Electronics Co., Ltd.
     Revision: 1
     Based on Android 2.2 (API level 8)
     Skins: WVGA854, WQVGA400, GALAXY Tab (default), HVGA, WQVGA432, WVGA800, QV
GA
     ABIs : armeabi
 
c:\Android>android list target
Available Android targets:
----------
id: 1 or "android-7"
     Name: Android 2.1
     Type: Platform
     API level: 7
     Revision: 3
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854
     ABIs : armeabi
----------
id: 2 or "Google Inc.:Google APIs:7"
     Name: Google APIs
     Type: Add-On
     Vendor: Google Inc.
     Revision: 1
     Description: Android + Google APIs
     Based on Android 2.1 (API level 7)
     Libraries:
      * com.google.android.maps (maps.jar)
          API for Google Maps
     Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA
     ABIs : armeabi
----------
id: 3 or "android-8"
     Name: Android 2.2
     Type: Platform
     API level: 8
     Revision: 3
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854
     ABIs : armeabi
----------
id: 4 or "Google Inc.:Google APIs:8"
     Name: Google APIs
     Type: Add-On
     Vendor: Google Inc.
     Revision: 2
     Description: Android + Google APIs
     Based on Android 2.2 (API level 8)
     Libraries:
      * com.google.android.maps (maps.jar)
          API for Google Maps
     Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA
     ABIs : armeabi
----------
id: 5 or "KYOCERA Corporation:DTS Add-On:8"
     Name: DTS Add-On
     Type: Add-On
     Vendor: KYOCERA Corporation
     Revision: 1
     Description: DTS Add-On
     Based on Android 2.2 (API level 8)
     Libraries:
      * com.kyocera.dualscreen (dualscreen.jar)
          Dual Screen optional platform library
     Skins: DTS400 (default), WVGA854, WQVGA400, HVGA, DTS800, WQVGA432, WVGA800
, QVGA
     ABIs : armeabi
----------
id: 6 or "LGE:Real3D Add-On:8"
     Name: Real3D Add-On
     Type: Add-On
     Vendor: LGE
     Revision: 1
     Description: Real3D add-on
     Based on Android 2.2 (API level 8)
     Libraries:
      * com.lge.real3d (real3d.jar)
          Real3D library
     Skins: WVGA854, WQVGA400, Optimus3D (default), HVGA, WQVGA432, WVGA800, QVG
A
     ABIs : armeabi
----------
id: 7 or "Samsung Electronics Co., Ltd.:GALAXY Tab Addon:8"
     Name: GALAXY Tab Addon
     Type: Add-On
     Vendor: Samsung Electronics Co., Ltd.
     Revision: 1
     Based on Android 2.2 (API level 8)
     Skins: WVGA854, WQVGA400, GALAXY Tab (default), HVGA, WQVGA432, WVGA800, QV
GA
     ABIs : armeabi
You know? It's quite a bad impression since every SDK try never have this idiot issue. It's clearly androidsdk.py script mistake.

— asked 9 months ago by Thosapol Sangkasub
1 Comment
  • Best way to not get help, is to show up on the support forums being nasty:

    It's quite a bad impression since every SDK try never have this idiot issue.

    That being said, I am sorry that you are stuck developing on the Windows platform. This puts you at a great disadvantage.

    Now, Missing from your question are a number of important pieces of information. I suggest you take a look at the Using Questions and Answers article, specifically the Q&A Question Checklist. The missing information is critical to reproducing problems in a test environment and often indicates other factors that cause the undesirable outcome you are experiencing.

    Because of the uniquely unreliable Windows 7 development environment, there is a neat little script you can run on your system, that will tell us a bit more about the unique and disturbing problem you are experiencing https://wiki.appcelerator.org/display/guides/Install+Diagnostics+Script+Output

    — commented 9 months ago by Stephen Feather

1 Answer

I update Appcelerator and now it work without doing anything. You learn something right? I learn too, whoever has loud voice got what he want.

Your Answer

Think you can help? Login to answer this question!