Titanium Community Questions & Answer Archive

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

Kitchen Sink app does not work in Android emulator (debug enclosed)

Hi, I'm trying to run the KitchenSink (and my own app) in the emulator but it never works. The output of Titanium says: [INFO] Deployed KitchenSink … Application should be running.

… But it never is … in the debug logs I get this error (near the bottom):

[TRACE] emulator-5560 device
[TRACE]
[TRACE]
[DEBUG] Device connected…
[DEBUG] waited 0.047000 seconds on emulator to get ready
[INFO] Installing application on device
[DEBUG] C:\AndroidSDK\android-sdk-windows\tools\adb.exe -e install -r C:\dev\Android\KitchenSink\build\android\bin\app.apk
[TRACE] D/AndroidRuntime( 233):
[TRACE] D/AndroidRuntime( 233): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
[TRACE] D/AndroidRuntime( 233): CheckJNI is ON
[TRACE] D/AndroidRuntime( 233): — registering native functions —
[TRACE] D/PackageParser( 48): Scanning package: /data/app/vmdl50567.tmp
[TRACE] W/PackageParser( 48): /data/app/vmdl50567.tmp (at Binary XML file line #7): Requires newer sdk version #4 (current version is #2)
[TRACE] I/installd( 28): unlink /data/dalvik-cache/data@app@vmdl50567.tmp@classes.dex
[TRACE] D/AndroidRuntime( 233): Shutting down VM
[TRACE] D/dalvikvm( 233): DestroyJavaVM waiting for non-daemon threads to exit
[TRACE] I/dalvikvm( 233): DestroyJavaVM shutting VM down
[TRACE] D/dalvikvm( 233): HeapWorker thread shutting down
[TRACE] D/dalvikvm( 233): HeapWorker thread has shut down
[TRACE] D/jdwp ( 233): JDWP shutting down net…
[TRACE] D/dalvikvm( 233): VM cleaning up
[TRACE] D/dalvikvm( 233): LinearAlloc 0x0 used 527764 of 4194304 (12%)
[TRACE] output: pkg: /data/local/tmp/app.apk
[TRACE] Failure [-12]
[TRACE]
[DEBUG] C:\AndroidSDK\android-sdk-windows\tools\adb.exe -e push C:\dev\Android\KitchenSink\Resources /sdcard/Ti.debug/com.nolanwright.kitchensink/Resources
[TRACE] D/dalvikvm( 48): GC freed 877 objects / 43544 bytes in 361ms
[TRACE] sdcard output:
[INFO] Launching application … KitchenSink
[DEBUG] C:\AndroidSDK\android-sdk-windows\tools\adb.exe -e shell am start -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -n com.nolanwright.kitchensink/.KitchensinkActivity
[TRACE] D/AndroidRuntime( 245):
[TRACE] D/AndroidRuntime( 245): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
[TRACE] D/AndroidRuntime( 245): CheckJNI is ON
[TRACE] D/AndroidRuntime( 245): — registering native functions —
[TRACE] I/ActivityManager( 48): Starting activity: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} flags=0x10000000 comp={com.nolanwright.kitchensink/com.nolanwright.kitchensink.KitchensinkActivity} }
[TRACE] D/AndroidRuntime( 245): Shutting down VM
[TRACE] D/dalvikvm( 245): DestroyJavaVM waiting for non-daemon threads to exit
[TRACE] I/dalvikvm( 245): DestroyJavaVM shutting VM down
[TRACE] D/dalvikvm( 245): HeapWorker thread shutting down
[TRACE] D/dalvikvm( 245): HeapWorker thread has shut down
[TRACE] D/jdwp ( 245): JDWP shutting down net…
[TRACE] D/dalvikvm( 245): VM cleaning up
[TRACE] D/dalvikvm( 245): LinearAlloc 0x0 used 539556 of 4194304 (12%)
[TRACE] Launch output: Starting: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} comp={com.nolanwright.kitchensink/com.nolanwright.kitchensink.KitchensinkActivity} }
[TRACE] Error type 3
[TRACE] Error: Activity class {com.nolanwright.kitchensink/com.nolanwright.kitchensink.KitchensinkActivity} does not exist.
[TRACE]
[INFO] Deployed KitchenSink … Application should be running.

Any ideas?

thanks

— asked October 26th 2010 by Stuart Whitaker
0 Comments

4 Answers

  • Never has, never will, and you wont get a reply from a developer on it.

    — answered October 26th 2010 by Josh Lewis
    permalink
    0 Comments
  • Never has, never will, and you wont get a reply from a developer on it.

    — answered October 26th 2010 by Josh Lewis
    permalink
    0 Comments
  • any reason why this is the case? I thought the kitchen sink was to showcase all of the possibilities and functionality of the code e.g. example apps - is this not the case? Is it iPhone only?

    thanks

    — answered October 26th 2010 by Stuart Whitaker
    permalink
    0 Comments
  • What a great way to waste a whole morning huh!

    — answered January 18th 2011 by John Pelsang
    permalink
    1 Comment
    • Post your own question, John, and then someone can help you.

      — commented January 18th 2011 by Paul Dowsett
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.