Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2454] Android: Cannot launch Emulator with Ti Studio 3.1.0.201304151600

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2013-04-22T15:14:21.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
LabelsStudio, android, simulator
ReporterSaminathan
AssigneeDaniel Sefton
Created2013-04-19T13:58:09.000+0000
Updated2016-03-08T07:41:30.000+0000

Description

*Problem description* When I try to run the same app in the Android Emulator, it's opening some windows (looks like Command prompt, then it's closing it in next millisecond). *Console Log*
Titanium Command-Line Interface, CLI version 3.1.0, Titanium SDK version 3.1.0.GA
Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.
[INFO] :   Found Alloy app in C:\Users\ponnuss\Documents\Titanium_Studio_Workspace\Test\app
[INFO] :   Executing Alloy compile: alloy.cmd compile C:\Users\ponnuss\Documents\Titanium_Studio_Workspace\Test\app --config platform=android,version=0,simtype=none,devicefamily=none,deploytype=development
[INFO] :   ----- MVC GENERATION -----
[INFO] :   [index.xml] view processing...
[INFO] :     style:      "index.tss"
[INFO] :     view:       "index.xml"
[INFO] :     controller: "index.js"
[INFO] :     created:    "Resources\alloy\controllers\index.js"
[INFO] :   
[INFO] :   [app.js] Titanium entry point processing...
[INFO] :     created:    "Resources\app.js"
[INFO] :   
[INFO] :   ----- OPTIMIZING -----
[INFO] :   - alloy.js
[INFO] :   - alloy\backbone.js
[INFO] :   - alloy\CFG.js
[INFO] :   - alloy\underscore.js
[INFO] :   - alloy\widget.js
[INFO] :   - alloy\controllers\BaseController.js
[INFO] :   - alloy\controllers\index.js
[INFO] :   - alloy\sync\localStorage.js
[INFO] :   - alloy\sync\properties.js
[INFO] :   - alloy\sync\sql.js
[INFO] :   - alloy\sync\util.js
[INFO] :   
[INFO] :   Alloy compiled in 1.71093s
[INFO] :   Alloy compiler completed successfully
[INFO] :   Running emulator process: python "C:\Users\ponnuss\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\builder.py" "emulator" "Test" "C:\Saamy\SW\adt-bundle-windows-x86-20130219\adt-bundle-windows-x86-20130219\sdk" "C:\Users\ponnuss\Documents\Titanium_Studio_Workspace\Test" "com.test" "4" "HVGA" "armeabi"
[INFO] :   Running build process:  python "C:\Users\ponnuss\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\builder.py" "simulator" "Test" "C:\Saamy\SW\adt-bundle-windows-x86-20130219\adt-bundle-windows-x86-20130219\sdk" "C:\Users\ponnuss\Documents\Titanium_Studio_Workspace\Test" "com.test" "4" "HVGA"
[INFO] logfile = C:\Users\ponnuss\Documents\Titanium_Studio_Workspace\Test\build.log
[ERROR] :  Build process exited with code 1
[ERROR] :  Project failed to build after 5s 718ms
*Build Log*
Logfile initialized
[INFO] logfile = C:\Users\ponnuss\Documents\Titanium_Studio_Workspace\Test\build.log
[DEBUG] C:\Users\ponnuss\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\builder.py emulator Test C:\Saamy\SW\adt-bundle-windows-x86-20130219\adt-bundle-windows-x86-20130219\sdk C:\Users\ponnuss\Documents\Titanium_Studio_Workspace\Test com.test 4 HVGA armeabi
[INFO] logfile = C:\Users\ponnuss\Documents\Titanium_Studio_Workspace\Test\build.log
[DEBUG] C:\Users\ponnuss\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\builder.py simulator Test C:\Saamy\SW\adt-bundle-windows-x86-20130219\adt-bundle-windows-x86-20130219\sdk C:\Users\ponnuss\Documents\Titanium_Studio_Workspace\Test com.test 4 HVGA
[INFO] Launching Android emulator...one moment
[DEBUG] From: C:\Saamy\SW\adt-bundle-windows-x86-20130219\adt-bundle-windows-x86-20130219\sdk\tools\emulator.exe
[DEBUG] SDCard: C:\Users\ponnuss\.titanium\android2.sdcard
[DEBUG] AVD ID: 4
[DEBUG] AVD Skin: HVGA
[DEBUG] AVD ABI: armeabi
[DEBUG] SDK: C:\Saamy\SW\adt-bundle-windows-x86-20130219\adt-bundle-windows-x86-20130219\sdk

Comments

  1. Daniel Sefton 2013-04-19

    Hi Saminathan, Please can you verify which version of the Android emulator you're trying to run? (Found at Green Arrow -> Run Configurations...) Please can you attach your Studio log file and diagnostic? (Help -> Studio -> View Log File) and (Help -> Studio -> Run Diagnostic...) Thanks.
  2. Saminathan 2013-04-22

    Again Today (2nd time)I have re-installed Ti Studio, Alloy and CLI then restated my system. Now its working. So please close this ticket Thank You Saamy

JSON Source