Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-2596

Fail to run Android Emulator on a Titanium project

    Details

      Description

      1. Create a Titanium project using the default template; the SDK could be either 2.1.3 or 3.0.0.
      2. Do Run > Android Emulator.

      The emulator will launch, but the app never gets installed. The Application Installer is shown to be terminated, and its console shows the following log:

      [INFO] logfile = /Users/mxia/Documents/Titanium_Studio_Workspace/mobile_default/build.log
      [INFO] Building mobile_default for Android ... one moment
      [INFO] Titanium SDK version: 2.1.3 (10/02/12 16:16 15997d0)
      [ERROR] Application Installer abnormal process termination. Process exit value was 1
      [ERROR] Timed out waiting for emulator to be ready, you may need to close the emulator and try again
      

      The Studio log shows:

      !ENTRY com.aptana.core 1 0 2012-10-21 15:18:01.392
      !MESSAGE (Build 3.0.0.201210201924) [INFO] com.aptana.core/debug/shell Searching for python in PATH locations: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin, /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin, /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin, /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin, /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin, /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin, /usr/bin, /bin, /usr/sbin, /sbin, /usr/local/bin, /usr/local/git/bin, /usr/local/MacGPG2/bin, /Applications/android-sdk-mac_86/tools/
       
      !ENTRY com.aptana.core 1 0 2012-10-21 15:18:01.414
      !MESSAGE (Build 3.0.0.201210201924) [INFO] com.aptana.core/debug/shell Found executable on PATH: /usr/bin/python
       
      !ENTRY com.aptana.core 1 0 2012-10-21 15:18:01.415
      !MESSAGE (Build 3.0.0.201210201924) [INFO] com.aptana.core/debug/shell Running process:
      Process: "/usr/bin/python" "/Users/mxia/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.GA/android/builder.py" "simulator" "mobile_default" "/Applications/android-sdk-mac_86" "/Users/mxia/Documents/Titanium_Studio_Workspace/mobile_default" "mobile.test" "7" "WVGA854" ""
      Working directory: null
      Environment: {ANALYTICS_SOURCE=studio, APTANA_VERSION=3.0.0.1346448223, Apple_PubSub_Socket_Render=/tmp/launch-lEsUVm/Render, Apple_Ubiquity_Message=/tmp/launch-dwNXin/Apple_Ubiquity_Message, COMMAND_MODE=unix2003, DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer, HOME=/Users/mxia, JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home, LANG=en_US.UTF-8, LOGNAME=mxia, PATH=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/Applications/android-sdk-mac_86/tools/, PWD=/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS, SHELL=/bin/bash, SHLVL=1, SSH_AUTH_SOCK=/tmp/launch-Y6KhWl/Listeners, TMPDIR=/var/folders/f_/syd0yymx7d3cq5sp7wg3tshw0000gp/T/, USER=mxia, __CF_USER_TEXT_ENCODING=0x1F6:0:0, com.apple.java.jvmTask=JNI}
      

        Attachments

          Activity

            People

            • Assignee:
              sgibly Shalom Gibly
              Reporter:
              mxia Michael Xia
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: