ClassCastException in PreferenceActivity

前端 未结 3 1404
野的像风
野的像风 2020-12-20 20:07

I am trying to get an example from the Android 2 Application Development book by Reto Meier to work (page 202). As per the instructions I have created a userpreferences.xml

3条回答
  •  时光说笑
    2020-12-20 20:33

    Perhaps you are running into this? http://code.google.com/p/android/issues/detail?id=2096.

    [update] Per the comment, yes make all of your arrays of type string-array and you should be good.

提交回复
热议问题