Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Can't get Android emulator working

Accidental double post, see http://developer.appcelerator.com/question/43411/cant-get-android-emulator-working

— asked July 15th 2010 by Dan Hammond
  • android
  • emulator
  • kitchensink
1 Comment
  • I am using Ubuntu 12.04: And this is what I get trying to use the emulator for android.
    webpage opens well.

    Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version 3.2.2.GA
    Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved.
    Please report bugs to http://jira.appcelerator.org/
    [DEBUG] : Detecting plugins in /home/user/Titanium_Studio_Workspace/hello/plugins
    [DEBUG] : Detected plugin: ti.alloy @ /home/user/Titanium_Studio_Workspace/hello/plugins/ti.alloy
    [DEBUG] : Looking for Titanium plugin id=ti.alloy version=1.0
    [INFO] : Found Titanium plugin id=ti.alloy version=1.0
    [DEBUG] : Loaded plugin hooks:
    [DEBUG] : /usr/local/lib/node_modules/titanium/hooks/tisdk3fixes.js
    [DEBUG] : /home/user/.titanium/mobilesdk/linux/3.2.2.GA/android/cli/hooks/package.js
    [DEBUG] : /home/user/.titanium/mobilesdk/linux/3.2.2.GA/android/cli/hooks/run.js
    [DEBUG] : /home/user/Titanium_Studio_Workspace/hello/plugins/ti.alloy/hooks/alloy.js
    [DEBUG] : Titanium SDK Android directory: /home/user/.titanium/mobilesdk/linux/3.2.2.GA/android
    [INFO] : Deploy type: development
    [INFO] : Building for target: emulator
    [INFO] : Building for emulator: Galaxy Nexus
    [INFO] : Targeting Android SDK: 19
    [INFO] : Building for the following architectures: armeabi, armeabi-v7a, x86
    [INFO] : Signing with keystore: /home/user/.titanium/mobilesdk/linux/3.2.2.GA/android/dev_keystore (tidev)
    [DEBUG] : App ID: com.app.hello
    [DEBUG] : Classname: Hello
    [INFO] : Debugging disabled
    [INFO] : Profiler disabled
    [INFO] : Forcing rebuild: /home/user/Titanium_Studio_Workspace/hello/build/android/build-manifest.json does not exist
    [INFO] : Found Alloy app in /home/user/Titanium_Studio_Workspace/hello/app
    [INFO] : Executing Alloy compile: /usr/local/bin/node /usr/local/bin/alloy compile /home/user/Titanium_StudioWorkspace/hello/app –config platform=android,version=0,simtype=none,devicefamily=none,deploytype=development
    [DEBUG] : . .
    [DEBUG] : __
    | | | | _ ..
    [DEBUG] : \
    \ | | | | / < | |
    [DEBUG] : / __ | |
    | |( <> )_ |
    [DEBUG] : (__
    ///__// __|
    [DEBUG] : \/ \/
    [DEBUG] : Alloy 1.3.1 by Appcelerator. The MVC app framework for Titanium.
    [DEBUG] :
    [DEBUG] : —– CONFIGURATION —–
    [DEBUG] : raw config = "platform=android,version=0,simtype=none,devicefamily=none,deploytype=development"
    [DEBUG] : platform = android
    [DEBUG] : version = 0
    [DEBUG] : simtype = none
    [DEBUG] : devicefamily = none
    [DEBUG] : deploytype = development
    [DEBUG] : project path = /home/user/Titanium_Studio_Workspace/hello
    [DEBUG] : app path = /home/user/Titanium_Studio_Workspace/hello/app
    [DEBUG] :
    [DEBUG] : —– CONFIG.JSON —–
    [DEBUG] : {
    [DEBUG] : "dependencies": {},
    [DEBUG] : "sourcemap": true,
    [DEBUG] : "autoStyle": false,
    [DEBUG] : "adapters": [
    [DEBUG] : "localStorage",
    [DEBUG] : "properties",
    [DEBUG] : "sql"
    [DEBUG] : ]
    [DEBUG] : }
    [DEBUG] :
    [DEBUG] : —– CLEANING RESOURCES —–
    [DEBUG] : Removing orphaned controllers…
    [DEBUG] : Removing orphaned models…
    [DEBUG] : Removing orphaned styles…
    [DEBUG] : Removing orphaned sync adapters…
    [DEBUG] : Removing orphaned assets and libs…
    [DEBUG] :
    [DEBUG] : —– BASE RUNTIME FILES —–
    [TRACE] : SRC_DIR=/usr/local/lib/node_modules/alloy/Alloy/lib
    [TRACE] : Copying SRC_DIR/alloy/sync/sql.js –> Resources/android/alloy/sync/sql.js
    [TRACE] : Copying SRC_DIR/alloy/sync/properties.js –> Resources/android/alloy/sync/properties.js
    [TRACE] : Copying SRC_DIR/alloy/sync/localStorage.js –> Resources/android/alloy/sync/localStorage.js
    [TRACE] : Copying SRC_DIR/alloy/controllers/BaseController.js –> Resources/android/alloy/controllers/BaseController.js
    [TRACE] : Copying SRC_DIR/alloy/widget.js –> Resources/android/alloy/widget.js
    [TRACE] : Copying SRC_DIR/alloy/underscore.js –> Resources/android/alloy/underscore.js
    [TRACE] : Copying SRC_DIR/alloy/backbone.js –> Resources/android/alloy/backbone.js
    [TRACE] : Copying SRC_DIR/alloy.js –> Resources/android/alloy.js
    [TRACE] :
    [TRACE] : SRC_DIR=/usr/local/lib/node_modules/alloy/Alloy/common
    [TRACE] : Copying SRC_DIR/constants.js –> Resources/android/alloy/constants.js
    [TRACE] :
    [TRACE] : SRC_DIR=/home/user/Titanium_Studio_Workspace/hello/app/assets
    [TRACE] :
    [DEBUG] :
    [INFO] : —– MVC GENERATION —–
    [INFO] : [global style] loading from cache…
    [INFO] : [index.xml] view processing…
    [INFO] : style: "index.tss"
    [INFO] : view: "index.xml"
    [INFO] : controller: "index.js"
    [TRACE] : - Processing "builtins" module…
    [TRACE] : - Processing "optimizer" module…
    [TRACE] : - Processing "compress" module…
    [INFO] : created: "Resources/android/alloy/controllers/index.js"
    [DEBUG] : map: "build/map/Resources/android/alloy/controllers/index.js.map"
    [INFO] : created: "Resources/android/alloy/styles/index.js"
    [INFO] :
    [INFO] : [app.js] using cached app.js…
    [INFO] :
    [INFO] : —– OPTIMIZING —–
    [INFO] : - android/alloy.js
    [TRACE] : processing "builtins" module…
    [TRACE] : processing "optimizer" module…
    [TRACE] : processing "compress" module…
    [INFO] : - android/alloy/sync/localStorage.js
    [TRACE] : processing "builtins" module…
    [TRACE] : processing "optimizer" module…
    [TRACE] : processing "compress" module…
    [INFO] : - android/alloy/sync/properties.js
    [TRACE] : processing "builtins" module…
    [TRACE] : processing "optimizer" module…
    [TRACE] : processing "compress" module…
    [INFO] : - android/alloy/sync/sql.js
    [TRACE] : processing "builtins" module…
    [TRACE] : processing "optimizer" module…
    [TRACE] : processing "compress" module…
    [TRACE] :
    [TRACE] : Benchmarking
    [TRACE] : ————
    [TRACE] : [0.7191s] TOTAL
    [INFO] :
    [INFO] : Alloy compiled in 0.7191s
    [INFO] : Alloy compiler completed successfully
    [INFO] : Launching emulator: Galaxy Nexus
    [INFO] : Running: /opt/adt-bundle-linux-x86_64-20131030/sdk/tools/emulator "-avd" "Galaxy Nexus" "-port" "5554" "-no-boot-anim" "-partition-size" "128"
    [DEBUG] : Ignoring /home/user/Titanium_Studio_Workspace/hello/Resources/android
    [DEBUG] : Ignoring /home/user/Titanium_Studio_Workspace/hello/Resources/mobileweb
    [DEBUG] : Symlinking /home/user/Titanium_Studio_Workspace/hello/Resources/android/MarketplaceArtwork.png => /home/user/Titanium_Studio_Workspace/hello/build/android/bin/assets/Resources/MarketplaceArtwork.png
    [DEBUG] : Symlinking /home/user/Titanium_Studio_Workspace/hello/Resources/android/appicon.png => /home/user/Titanium_Studio_Workspace/hello/build/android/bin/assets/Resources/appicon.png
    [ERROR] : Emulator exited with error: 1
    [ERROR] : PANIC: Could not open: Galaxy Nexus
    [ERROR] Application Installer abnormal process termination. Process exit value was 1

    — commented March 20th 2014 by mika koistinen

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.