我试图将 LogCollector 包含到我的应用程序中,并使用了这个站点的集成示例
但是当我尝试在我的应用程序中使用它时,它正确显示它没有安装
但是在尝试打开市场时它崩溃了,这是日志输出
01-10 20:38:04.309: E/AndroidRuntime(3265): FATAL EXCEPTION: main
01-10 20:38:04.309: E/AndroidRuntime(3265): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=market://search?q=pname:com.xtralogic.android.logcollector flg=0x10000000 }
01-10 20:38:04.309: E/AndroidRuntime(3265): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
01-10 20:38:04.309: E/AndroidRuntime(3265): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
01-10 20:38:04.309: E/AndroidRuntime(3265): at android.app.Activity.startActivityForResult(Activity.java:2817)
01-10 20:38:04.309: E/AndroidRuntime(3265): at android.app.Activity.startActivity(Activity.java:2923)
01-10 20:38:04.309: E/AndroidRuntime(3265): at de.srs.android.pdixuploader.activies.SettingsActivity$1.onClick(SettingsActivity.java:102)
01-10 20:38:04.309: E/AndroidRuntime(3265): at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:158)
01-10 20:38:04.309: E/AndroidRuntime(3265): at android.os.Handler.dispatchMessage(Handler.java:99)
01-10 20:38:04.309: E/AndroidRuntime(3265): at android.os.Looper.loop(Looper.java:123)
01-10 20:38:04.309: E/AndroidRuntime(3265): at android.app.ActivityThread.main(ActivityThread.java:4627)
01-10 20:38:04.309: E/AndroidRuntime(3265): at java.lang.reflect.Method.invokeNative(Native Method)
01-10 20:38:04.309: E/AndroidRuntime(3265): at java.lang.reflect.Method.invoke(Method.java:521)
01-10 20:38:04.309: E/AndroidRuntime(3265): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
01-10 20:38:04.309: E/AndroidRuntime(3265): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
01-10 20:38:04.309: E/AndroidRuntime(3265): at dalvik.system.NativeStart.main(Native Method)
这可能是什么原因?我正在模拟器上测试这个。
谢谢