Android如何检查我的应用程序第三方sdk适用于棉花糖

时间:2016-03-02 05:38:13

标签: android sdk

请帮助。我正在使用marshmallow模拟器测试我的应用程序。当我使用相机时,应用程序崩溃了。     如何查看我们的应用程序第三方Sdk适用于棉花糖

// Logcat错误

E/Surface: getSlotFromBufferLocked: unknown buffer: 0xe81c38f0
03-02 00:32:50.804 3199-3199/com.hirewire.hirewire E/AndroidRuntime: FATAL EXCEPTION: main
                                                                     Process: com.hirewire.hirewire, PID: 3199
                                                                     java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.android.camera2/com.android.camera.CaptureActivity clip={text/uri-list U:file:///storage/emulated/0/sample.jpg} (has extras) } from ProcessRecord{cd5f9bb 3199:com.hirewire.hirewire/u0a62} (pid=3199, uid=10062) with revoked permission android.permission.CAMERA
                                                                         at android.os.Parcel.readException(Parcel.java:1599)
                                                                         at android.os.Parcel.readException(Parcel.java:1552)
                                                                         at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:2658)
                                                                         at android.app.Instrumentation.execStartActivity(Instrumentation.java:1507)
                                                                         at android.app.Activity.startActivityForResult(Activity.java:3917)
                                                                         at android.app.Activity.startActivityForResult(Activity.java:3877)
                                                                         at android.support.v4.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:855)
                                                                         at android.support.v4.app.FragmentActivity$HostCallbacks.onStartActivityFromFragment(FragmentActivity.java:907)
                                                                         at android.support.v4.app.Fragment.startActivityForResult(Fragment.java:927)

0 个答案:

没有答案