You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
The application crashes when I click OK on the translation option, even though I don't change the language, I just look and click OK then it crashes
I use the last commit application
What's the expected behavior?
fixed, even when the user does not change the language
What version of AndroidIDE you're using?
v2.6.0 (debug builds)
Relevant log output
AndroidIDE Crash Report
Version : v2.6.0-beta (260)
CI Build :true
Branch : dev
Commit : 5373698e8
Variant : arm64-v8a (debug)
SDK Version : 30
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : vivo
Device : vivo1901
Stacktrace:
java.lang.ArrayIndexOutOfBoundsException: length=13; index=-2
at com.itsaky.androidide.preferences.LocaleSelector.onChoiceConfirmed(general.kt:191)
at com.itsaky.androidide.preferences.SingleChoicePreference.onChoicesConfirmed(SingleChoicePreference.kt:76)
at com.itsaky.androidide.preferences.ChoiceBasedDialogPreference.onConfigureDialog$lambda$1(ChoiceBasedDialogPreference.kt:48)
at com.itsaky.androidide.preferences.ChoiceBasedDialogPreference.$r8$lambda$Z8_kzZIXzDw0jQFUdw51EsSjNMw(Unknown Source:0)
at com.itsaky.androidide.preferences.ChoiceBasedDialogPreference$$ExternalSyntheticLambda0.onClick(Unknown Source:4)
at androidx.appcompat.app.AlertController$ButtonHandler.handleMessage(AlertController.java:167)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:257)
at android.app.ActivityThread.main(ActivityThread.java:8192)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:626)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1015)
What happened?
The application crashes when I click OK on the translation option, even though I don't change the language, I just look and click OK then it crashes
I use the last commit application
What's the expected behavior?
fixed, even when the user does not change the language
What version of AndroidIDE you're using?
v2.6.0 (debug builds)
Relevant log output
Duplicate issues
Code of Conduct