Hello, I created a SD card image and mounted it to the emulator. I could see it mounted on the emulator.
Then, in my onCreate method, i made a call to Debug.startMethodTracing("myTrace"); When i install the application on the emulator, i get an error as shown below Am i doing something wrong ? ------- 10-07 11:36:32.671: ERROR/AndroidRuntime(925): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.client/com.client.MyClientActivity}: *java.lang.RuntimeException: file open failed* 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2401) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at android.app.ActivityThread.access$2100(ActivityThread.java:116) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at android.os.Handler.dispatchMessage(Handler.java:99) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at android.os.Looper.loop(Looper.java:123) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at android.app.ActivityThread.main(ActivityThread.java:4203) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at java.lang.reflect.Method.invokeNative(Native Method) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at java.lang.reflect.Method.invoke(Method.java:521) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at dalvik.system.NativeStart.main(Native Method) *10-07 11:36:32.671: ERROR/AndroidRuntime(925): Caused by: java.lang.RuntimeException: file open failed* 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at dalvik.system.VMDebug.startMethodTracing(Native Method) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at dalvik.system.VMDebug.startMethodTracing(VMDebug.java:155) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at android.os.Debug.startMethodTracing(Debug.java:378) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at android.os.Debug.startMethodTracing(Debug.java:326) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): * at com.client.MyClientActivity.onCreate(MyClientActivity.java:131)* 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364) 10-07 11:36:32.671: ERROR/AndroidRuntime(925): ... 11 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 -~----------~----~----~----~------~----~------~--~---