Someone help me with this error with startapp !!

Some of my users (not all) have reported that the app is crashing at the start. When i checked the error in my developer console i saw this :

java.lang.NoSuchMethodError: android.content.SharedPreferences$Editor.putStringSet
at Source)
at Source)
at Source)
at android.os.AsyncTask.finish(
at android.os.AsyncTask.access$300(
at android.os.AsyncTask$InternalHandler.handleMessage(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(
at dalvik.system.NativeStart.main(Native Method)

Is anyone else having this problem. Have i implemented the code wrong?

Hi Akshay,

I have forward this to our tech team to take a closer look.

At any point, you may contact [email protected] for help on everything.


setStringSet is available from API Level 11. You should use this method if you are setting your minSdkVersion to 11 or higher so these users probably use older version of Android than Honeycomb.

Sorry for my bad English :wink:

Hi Rafal,

A new version of the SDK is available in the portal which fixed this issue.

Thanks, and sorry for the issue.


No it didn’t. I tried the latest sdk as well, still its crashing on the EULA screen. Problem is only with Android 2.3.x.