Is the Appcelerator KitchenSink App Actually supposed to work?
I've been asking for help in these forums on and off for the last few months, trying to get the Kitchen sink app compiling or running.
Tried several versions of Appcelerator now.
Asked the same question multiple times.
I an unable to get the Kitchen Sink app compiling and running under Android either emulated or real.
Tried under out different machines. 2x Windows 7 - 1 x Windows 2008. 1xOSX
It either fails to compile - or when it does compile and run in the emulator or phone it immediately crashes.
My company might actually consider paying for this product if we could get some indication that it actually works.
–
[TRACE] Traceback (most recent call last):
[TRACE] File "C:\ProgramData\Titanium\mobilesdk\win32\1.3.0\android\builder.py", line 934, in <module>
[TRACE] s.build_and_run(False,avd_id)
[TRACE] File "C:\ProgramData\Titanium\mobilesdk\win32\1.3.0\android\builder.py", line 791, in build_and_run
[TRACE] compiler.compile()
[TRACE] File "C:\ProgramData\Titanium\mobilesdk\win32\1.3.0\android\compiler.py", line 167, in compile
[TRACE] self.compile_into_bytecode(self.js_files)
[TRACE] File "C:\ProgramData\Titanium\mobilesdk\win32\1.3.0\android\compiler.py", line 99, in compile_into_bytecode
[TRACE] if count > 0: run.run(args)
[TRACE] File "C:\ProgramData\Titanium\mobilesdk\win32\1.3.0\android\run.py", line 10, in run
[TRACE] (so,se) = subprocess.Popen(args, stderr=subprocess.PIPE, stdout=subprocess.PIPE).communicate()
[TRACE] File "C:\ProgramData\Titanium\modules\win32\python\1.0.0\lib\subprocess.py", line 594, in __init__
[TRACE] errread, errwrite)
[TRACE] File "C:\ProgramData\Titanium\modules\win32\python\1.0.0\lib\subprocess.py", line 822, in _execute_child
[TRACE] startupinfo)
[TRACE] WindowsError: [Error 87] The parameter is incorrect
[TRACE] D/SntpClient( 66): request time failed: java.net.SocketException: Address family not supported by protocol
[TRACE] I/ActivityManager( 66): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.spare_parts/.SpareParts }
[TRACE] I/ActivityManager( 66): Start proc com.android.spare_parts for activity com.android.spare_parts/.SpareParts: pid=331 uid=10005 gids={}
[TRACE] D/installd( 35): DexInv: --- BEGIN '/system/app/SpareParts.apk' ---
[TRACE] D/dalvikvm( 337): DexOpt: load 319ms, verify 78ms, opt 3ms
[TRACE] D/installd( 35): DexInv: --- END '/system/app/SpareParts.apk' (success) ---
[TRACE] W/WindowManager( 66): No window to dispatch pointer action 0
[TRACE] W/WindowManager( 66): No window to dispatch pointer action 1
[TRACE] I/ARMAssembler( 66): generated scanline__00000077:03545404_00000004_00000000 [ 47 ipp] (67 ins) at [0x328b50:0x328c5c] in 7508788 ns
[TRACE] I/ActivityManager( 66): Displayed activity com.android.spare_parts/.SpareParts: 3478 ms (total 1097428 ms)
[TRACE] I/ARMAssembler( 66): generated scanline__00000077:03515104_00000000_00000000 [ 33 ipp] (47 ins) at [0x329c70:0x329d2c] in 680224 ns
[TRACE] I/ARMAssembler( 66): generated scanline__00000177:03515104_00001001_00000000 [ 91 ipp] (114 ins) at [0x329eb8:0x32a080] in 1463203 ns
[TRACE] W/KeyCharacterMap( 331): No keyboard for id 0
[TRACE] W/KeyCharacterMap( 331): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
[TRACE] W/InputManagerService( 66): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@45225bb0
[TRACE] W/InputManagerService( 66): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@44ee35d0 (uid=10005 pid=331)
5 Answers
-
Are you able to create and run new Android projects? You might want to consider copying the Resources directory from the Kitchen Sink into a newly created Android project.
-
Hey, i got the same problem as you.
Did you solved the problem? Appreciated for any recommand!I tried on two os below:
1.winXP/64bit
Stopped on Resource Copying[TRACE] D/SntpClient( 62): request time failed: java.net.SocketException: Address family not supported by protocol
and keep recircle with no ending
2.win7/32bit
It's also stopped on Resource CopyingI also tried the new project just created,and got it either
Had tried MobileSDK 1.3.1 & 1.4
-
FWIW, it works for me on XP SP3 and Windows 7 x64.
Maybe use the file explorer in ddms to directly copy resources onto the emulator.
-
Same problem here, with Titanium developer 1.2.2 and SDK version: 1.5.1 (12/16/10 16:25 16bbb92), Android 2.2 phone.
I try to deploy the Kitchensink demo and get this:
INFO] Installing application on device
[DEBUG] D:\Work\Projects\Android-SDK\platform-tools\adb.exe -e install -r D:\Work\Projects\Appcelerator\KitchenSink\build\android\bin\app.apk
[ERROR] Failed installing com.appcelerator.kitchensink: pkg: /data/local/tmp/app.apkSo I check and the apk is compiles; I deploy it then manually, it shows a splash screen and then hangs with (I used adb logcat):
W/ActivityManager( 247): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 247): Activity idle timeout for HistoryRecord{46406eb8 com.appcelerator.kitchensink/.KitchensinkActi
vity}
W/WindowManager( 247): No window to dispatch pointer action 0witch furthers dies with:
I/dalvikvm( 1823): Wrote stack traces to '/data/anr/traces.txt'
E/ActivityManager( 247): ANR in com.appcelerator.kitchensink (com.appcelerator.kitchensink/.KitchensinkActivity)
E/ActivityManager( 247): Reason: keyDispatchingTimedOut
E/ActivityManager( 247): Load: 1.81 / 1.85 / 3.58Is there any way to have the apk and resources copied correctly via Appcelerator? Any step that I have missed?
-
Dear Alan:
Thank for your help, i found the file explorer on ddms, but there's no project dir in /data look as "com.appcelerator.kitchensink", and i think that the project still uncompiliar.There's a few puzzlement with the launch trace
1.the project wasn't compiling yet(because i can't find .apk in the project folder), why copy resource first,and where would copy to?
2.i can't create folder under "/data" like "com.appcelerator.kitchensink" on emulator, and should am i?(i don't think so)
[DEBUG] D:\android-sdk-windows\tools\adb.exe -e shell ls /data/app/com.appcelerator.kitchensink.apk [DEBUG] com.appcelerator.kitchensink installed? False [DEBUG] D:\android-sdk-windows\tools\adb.exe -e shell ls /sdcard/Ti.debug/com.appcelerator.kitchensink/Resources/app.js [DEBUG] com.appcelerator.kitchensink resources installed? False [INFO] Copying project resources.. [TRACE] D/SntpClient( 62): request time failed: java.net.SocketException: Address family not supported by protocol