This is pretty bad news for me - I'd really like to be able to debug on-device, monitor CPU usage etc. Is there any workaround (e.g. disable certain app functionality, use a different version)? I can't afford multiple devices.
If it emerges that the Dev Tools app simply cannot be run on this device then maybe we should build up a community list of devices which are known to work / not work with the app. Dan On Feb 13, 2:31 am, Dianne Hackborn <hack...@android.com> wrote: > The app uses private APIs, so may not be compatible with a particular > device. > > > > On Sun, Jan 31, 2010 at 11:33 PM, 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<android-developers%2bunsubscr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. -- 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