Emulator Issues #13237
closedOpening emulator using Android file intent very often crashes
0%
Description
I open the emulator like this:
Intent launcher = context.getPackageManager().getLaunchIntentForPackage(EMULATOR_PACKAGE);
launcher.putExtra("AutoStartFiles", filePaths);
context.getApplicationContext().startActivity(launcher);
as a result the emulator crashes in more than 50% of the cases:
A/olphinemu.debu: java_vm_ext.cc:570] JNI DETECTED ERROR IN APPLICATION: can't call int android.view.InputDevice.getId() on null object
A/olphinemu.debu: java_vm_ext.cc:570] in call to CallIntMethodV
A/olphinemu.debu: java_vm_ext.cc:570] from boolean org.dolphinemu.dolphinemu.features.input.model.ControllerInterface.dispatchGenericMotionEvent(android.view.MotionEvent)
Files
Updated by pokechu22 over 1 year ago
- Operating system FreeBSD added
- Operating system deleted (
N/A)
Updated by pokechu22 over 1 year ago
- Operating system Android added
- Operating system deleted (
FreeBSD)
Updated by JosJuice over 1 year ago
- Status changed from New to Fix pending
I'm not sure why starting Dolphin using an intent would cause this to happen, but this PR should hopefully get rid of the crash: https://github.com/dolphin-emu/dolphin/pull/11819
Updated by JosJuice over 1 year ago
- Status changed from Fix pending to Fixed
- Fixed in set to 5.0-19459