Skip to content Skip to sidebar Skip to footer

Android Compoundbutton Switch Jumpdrawablestocurrentstate Null Crash

I have an app that successfully uses ToggleButton. I am converting the app for use on JELLY BEAN (4.1.1). 4.1.1 has Switch widget which is a better-looking ToggleButton widget.

Solution 1:

make sure your minSdkVersion is 14 on AndroidManifest.xml

Solution 2:

i had this error as well and solved it by setting theme for api 14 and above - as nandeesh commented.

Post a Comment for "Android Compoundbutton Switch Jumpdrawablestocurrentstate Null Crash"