You may have tried to set a resolution it didn't support. This error only occurs when you set a resolution that a device doesn't support (even though it 's support to just fail instead of actually crash, the crash itself is a bug but if you entered a custom resolution then that was the cause of the crash)