I'm trying to launch the Titanium Studio emulator, and I get the error below.
At this site (http://cimientosprevios.com/?r=true&p=11), it asks us to change the Android SDK directory from 'C:\Program Files\Android\android-sdk' to 'C:\PROGRA~1\Android\android-sdk,' but it does not work for me.
[INFO] logfile = C:\Developer\Mobile\build.log [DEBUG] C:\ProgramData\Titanium\mobilesdk\win32\1.7.1\android\builder.py emulator Mobile C:\Program Files\Android\android-sdk C:\Developer\Mobile com.step.arlogo 4 HVGA [TRACE] app property, ti.android.debug : false [TRACE] app property, ti.android.google.map.api.key.development : 0ZnKXkWA2dIAu2EM-OV4ZD2lJY3sEWE5TSgjJNg [TRACE] app property, ti.android.google.map.api.key.production : GET_ME_FROM_GOOGLE [INFO] Launching Android emulator...one moment [DEBUG] From: C:\Program Files\Android\android-sdk\tools\emulator.exe [DEBUG] SDCard: C:\Users\LLPadmin\.titanium\android2.sdcard [DEBUG] AVD ID: 4 [DEBUG] AVD Skin: HVGA [DEBUG] SDK: C:\Program Files\Android\android-sdk [DEBUG] "C:\Program Files\Android\android-sdk\platform-tools\adb.exe" start-server [DEBUG] C:\Program Files\Android\android-sdk\tools\emulator.exe -avd titanium_4_HVGA -port 5560 -sdcard C:\Users\LLPadmin\.titanium\android2.sdcard -logcat '*:d *' -no-boot-anim -partition-size 128 invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe. Hint: use '@foo' to launch a virtual device named 'foo'. please use -help for more information [DEBUG] signal caught: 3 [DEBUG] calling emulator kill on 844 ERROR: The process "844" not found.
Maybe if you have installed the SDK into "C:\Program Files(x86)\Android\android-sdk" instead of "C:\Program Files\Android\android-sdk", 'C:\PROGRA~1\Android\android-sdk' will no longer work. Instead, use : 'C:\PROGRA~2\Android\android-sdk'. Hope this helps!
Problem was solved.
First, I uninstalled the SDK's, then reinstalled them directly to my C:\drive.
The second part involved a bug in the code file: C:\ProgramData\Titanium\mobilesdk\win32\1.7.1\android\builder.py. I found the answer here: Titanium Emulator Launch error.
Hanna: Did you install to C:\Program Files(x86)\Android\android-sdk ? and then fix builder.py
Titanium seems to have two problems: one is that it doesn't like having spaces in the directory to its Android SDK's, such as the space in "Program Files." This led me to uninstall and reinstall the Android SDK's to the C drive: C:\Android\android-sdk.
After I did that, I discovered that there was a bug in the builder.py code, so I fixed that.
Maybe it was not necessary to reinstall the SDK's. Typing "C:\PROGRA~2\Android\android-sdk" when setting up the preferences of Titanium would probably work. PROGRA~2 seems to be some sort of short hand for Program Files, so Windows should understand it. I reinstalled mine because I didn't realize builder.py had a problem also, so I assumed that PROGRA~ was not working either.
hello everyone I am facing the same problem with Android when executing the emulator, and i found a solution right now: plz do these steps:
1 unistall the SDK that u have already installed
2 create a folder in disc C
3 name it like ANdroid
4 open it and create inside it a new folder, for me i named it PROGRA~1
5 exute the installation of ur SDK to be installed in the folder created PROGRA~1
THANK YOU :) and enjoy it
In eclipse Go to bold
In eclipse Go to Windows > Show View > Package Explorer. U will see your project. Right click on project : Run As > Run Configurations > in Lunch action select on middle middle redio box like Lanch : <com.android.FirstProject> - Note : here select your activity.- now go to second tab on Target select Automatic : Select Avd : remove text from Additional Emulator Command Linne options . … and run
Hello I just run the AVD manually, after i realized that the command line cannot resolve the path to the program that runs the avd. It is named emulator-arm.exe and it is located in "C:\Program Files\Android\android-sdk\tools". So just open command line console,then navigate the console in to that directory using "cd <dir>" and then type emulator-arm.exe - avd <nameoftheavd>