android.os.Environment#getExternalStorageState() throws an java.lang.ArrayIndexOutOfBoundsException, and it caused the app to crash.
boolean sdCardExist = Env