当我正常运行我的应用程序时,一切正常。问题是当我调试时,应用程序崩溃了。这是错误:Click here to see, please! 你知道是什么原因造成的吗?
这些是错误的前两行:
A/art: art/runtime/jdwp/jdwp_event.cc:661] Check failed: Thread::Current() != GetDebugThread() (Thread::Current()=0xa5c0a400, GetDebugThread()=0xa5c0a400) Expected event thread
A/art: art/runtime/runtime.cc:422] Runtime aborting...
在此代码中:
Dexter.withActivity(getActivity())
.withPermissions(
android.Manifest.permission.WRITE_EXTERNAL_STORAGE,
android.Manifest.permission.READ_EXTERNAL_STORAGE
).withListener(new MultiplePermissionsListener() {
@Override public void onPermissionsChecked(MultiplePermissionsReport report) {
).withListener(new MultiplePermissionsListener() {
-这是我无法调试的行!