Kitchen Sink app Emulator not showing
OK, so like a lot of people, I'm having trouble getting the Android Emulator to show for the Kitchen Sink Application. First problem was due to a space in the file path to the Android SDK - thanks to all the various people that have posted about it.
So I moved the SDK to a path without any spaces and got the next step down the path. Now I have this problem:
[DEBUG] C:\android-sdk\tools\emulator.exe -avd titanium_3_HVGA -port 5560 -sdcard C:\Users\Web03.titanium\android2.sdcard -logcat ':d ' -no-boot-anim -partition-size 128
invalid command-line parameter: *'.
Hint: use '@foo' to launch a virtual device named 'foo'.
please use -help for more information
[DEBUG] signal caught: 3
When I try to build the app, this appears, disappears and then I end up with the usual 0 devices found etc. and then timing out.
Any ideas would be most welcome!
4 Answers
-
I guess the previous answer was working for Titanium developper (old software). With Titanium Studio , there is no path like : C:\ProgramData\Titanium\mobilesdk\win32\1.7.1\android\builder.py
COuld you tell me where I could change the android builder command line in Titanium studio ?
-
Finally resolved this issue. Go to file:
C:\ProgramData\Titanium\mobilesdk\win32\1.7.1\android\builder.py
Open file and search for logcat
comment out (#) the switch and the parameter to look like below.# start the emulator emulator_cmd = [ self.sdk.get_emulator(), '-avd', avd_name, '-port', '5560', '-sdcard', self.sdcard, #'-logcat', #"'*:d *'", '-no-boot-anim', '-partition-size', '128' # in between nexusone and droid ]
-
Thanks a lot for that Victor, that at least gets the emulator up and running. I now have the next problem. Now what happens is that the emulator appears fine and Android loads on the phone. Titanium builds the app, starts installing the app on the emulator and then throws up this error:
[INFO] Installing application on device [DEBUG] C:\android-sdk\platform-tools\adb.exe -e install -r "C:\Users\Web03\Documents\Titanium Studio Workspace\appcelerator-KitchenSink-1.7.0\appcelerator-KitchenSink-c094fc2\build\android\bin\app.apk" [ERROR] Failed installing com.appcelerator.titanium: pkg: /data/local/tmp/app.apk Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Any ideas?
-
Pl try wid this URL.. C:\Users\Windows USER ID\AppData\Roaming\Titanium\mobilesdk\win32\2.0.1.GA2\android