I was having the same problem today on an HTC Hero running 1.5. Copied from adb command line as suggest in Android Documentation, and I first get a "can't dispatch DDM chunk..." error when trying to load Development.apk onto the phone (but it still says it copies successfully). When I launch, it crashes on entry into 'Development Settings".
I just came across this thread: http://groups.google.com/group/android-developers/browse_thread/thread/1f07012e74bf14ef/29d20be627de87d7?lnk=gst&q=can%27t+dispatch+ddm+chunk#29d20be627de87d7 I didn't need the software updates, so then I made sure that I exited out of both Eclipse and DDMS before trying to call adb load, and it worked! Hope this helps, Brad On Feb 1, 1:33 am, Dan S <danstow...@gmail.com> wrote: > Hi - > > On a HTC Tattoo (android 1.6) I install the Dev Tools app by copying > it out of an emulated 1.6 machine. Opening the app works, but then > when I go into the Development Settings menu it crashes with > > The application Dev Tools (process com.android.development) has > stopped unexpectedly. Please try again. > > Using "adb logcat" I got the stack trace given below, suggesting a > security restriction. Is this fixable? > > Thanks > Dan > > D/WindowManager( 81): interceptKeyTq > event=android.view.rawinputev...@437f08f0 keycode=0 screenIsOn=true > keyguardShowing=false > D/KeyInputQueue( 81): DebugMonitor keycode=0 value=1 > D/WindowManager( 81): interceptKeyTq > event=android.view.rawinputev...@437f08f0 keycode=0 screenIsOn=true > keyguardShowing=false > D/KeyInputQueue( 81): DebugMonitor keycode=0 value=0 > I/ActivityManager( 81): Starting activity: Intent > { act=android.intent.action.MAIN cat=[android.intent.category.TEST] > flg=0x10000000 cmp=com.android.development/.DevelopmentSettings } > W/ServiceManager( 81): Permission failure: > android.permission.HARDWARE_TEST from uid=10049 pid=436 > E/SurfaceFlinger( 81): Permission Denial: pid=436, uid=10049 > D/AndroidRuntime( 436): Shutting down VM > W/dalvikvm( 436): threadid=3: thread exiting with uncaught exception > (group=0x4001db88) > E/AndroidRuntime( 436): Uncaught handler: thread main exiting due to > uncaught exception > E/AndroidRuntime( 436): java.lang.RuntimeException: Unable to resume > activity {com.android.development/ > com.android.development.DevelopmentSettings}: > java.lang.SecurityException > E/AndroidRuntime( 436): at > android.app.ActivityThread.performResumeActivity(ActivityThread.java: > 2931) > E/AndroidRuntime( 436): at > android.app.ActivityThread.handleResumeActivity(ActivityThread.java: > 2953) > E/AndroidRuntime( 436): at > android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: > 2489) > E/AndroidRuntime( 436): at android.app.ActivityThread.access > $2100(ActivityThread.java:123) > E/AndroidRuntime( 436): at android.app.ActivityThread > $H.handleMessage(ActivityThread.java:1843) > E/AndroidRuntime( 436): at android.os.Handler.dispatchMessage > (Handler.java:99) > E/AndroidRuntime( 436): at android.os.Looper.loop(Looper.java: > 123) > E/AndroidRuntime( 436): at android.app.ActivityThread.main > (ActivityThread.java:4321) > E/AndroidRuntime( 436): at > java.lang.reflect.Method.invokeNative(Native Method) > E/AndroidRuntime( 436): at java.lang.reflect.Method.invoke > (Method.java:521) > E/AndroidRuntime( 436): at com.android.internal.os.ZygoteInit > $MethodAndArgsCaller.run(ZygoteInit.java:791) > E/AndroidRuntime( 436): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) > E/AndroidRuntime( 436): at dalvik.system.NativeStart.main > (Native Method) > E/AndroidRuntime( 436): Caused by: java.lang.SecurityException > E/AndroidRuntime( 436): at android.os.BinderProxy.transact > (Native Method) > E/AndroidRuntime( 436): at > com.android.development.DevelopmentSettings.updateFlingerOptions > (DevelopmentSettings.java:246) > E/AndroidRuntime( 436): at > com.android.development.DevelopmentSettings.onResume > (DevelopmentSettings.java:169) > E/AndroidRuntime( 436): at > android.app.Instrumentation.callActivityOnResume(Instrumentation.java: > 1225) > E/AndroidRuntime( 436): at android.app.Activity.performResume > (Activity.java:3559) > E/AndroidRuntime( 436): at > android.app.ActivityThread.performResumeActivity(ActivityThread.java: > 2917) > E/AndroidRuntime( 436): ... 12 more -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en