When I run my app the normal way, everything works fine. The problem is when I debug, the app crashes. This is the error: Click here to see, please! Do you know what may be causing this?
These are the error's first two lines:
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...
In this code:
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() {
- this is the line I can't debug!