Here\'s my stack trace:
01-30 15:11:41.037 13010-13010/project.app E/AndroidRuntime: FATAL EXCEPTION: main
Process: project.app, PID: 13010
android.view.Window
Verify SYSTEM_ALERT_WINDOW Permission Or try to provide Overlay Permission Manually.
As @Fco P. said you can try to change
mRedBoxDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
**## If you are using Lenovo device. Please try with another one. This particular permission makes problem sometime in Lenovo device.****