java.lang.RuntimeException: Unable to start activity ComponentInfo{com.kd7uiy.hamfinder/com.kd7uiy.hamfinder.MainSettingsActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by PearsonArtPhoto
, 1 year ago
Unable to start activity ComponentInfo{com.kd7uiy.hamfinder/com.kd7uiy.hamfinder.MainSettingsActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
via Stack Overflow by mattcoker
, 2 years ago
Unable to start activity ComponentInfo{com.barjinx.barjinx/com.barjinx.barjinx.EventsActivity}: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
via Stack Overflow by N3CAT1
, 2 years ago
Unable to start activity ComponentInfo{com.tufan.liveprices/com.tufan.liveprices.ActivityPreferences}: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
via Stack Overflow by Isuru
, 2 years ago
Unable to start activity ComponentInfo{uk.co.andromedatech.digitalclock/uk.co.andromedatech.digitalclock.MainActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
via GitHub by N3CAT1
, 2 years ago
Unable to start activity ComponentInfo{com.tufan.liveprices/com.tufan.liveprices.ActivityPreferences}: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
via Stack Overflow by Mr2uang
, 1 year ago
Unable to start activity ComponentInfo{com.begood.earthquake/com.begood.earthquake.UserPreferences}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
at android.app.SharedPreferencesImpl.getString(SharedPreferencesImpl.java:224)
at com.kd7uiy.hamfinder.MainSettingsActivity.bindPreferenceSummaryToValue(MainSettingsActivity.java:194)

Users with the same issue

3 times, 1 year ago
2 times, 1 year ago
2 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.