Why not check for the OS version in run time and change your code accordingly.
String androidOS = Build.VERSION.RELEASE; It is just a thought On Thu, Oct 3, 2013 at 5:19 PM, Davide Moriello <[email protected]>wrote: > Hi, I have found the bug, the code that make crahs on android 2.3 is this > > > Builder mGamesClienta = new GamesClient.Builder(context, this, this) > .setGravityForPopups(Gravity.TOP | Gravity.CENTER_HORIZONTAL) > .setScopes(mScopes); > > > Any idea on how to make it work on android 2.3? thank you =) > > > Il giorno giovedì 3 ottobre 2013 12:21:44 UTC+2, Davide Moriello ha > scritto: > >> Hi, some testers are reporting me this error on some smartphone and I >> really don't know what it is and how to fix it. Someone has an idea? >> >> Thank you >> >> >> java.lang.**IllegalStateException: A fatal developer error has occurred. >> Check the logs for further information. >> at com.google.android.gms.**internal.p$f.a(Unknown Source) >> at com.google.android.gms.**internal.p$f.a(Unknown Source) >> at com.google.android.gms.**internal.p$b.p(Unknown Source) >> at com.google.android.gms.**internal.p$a.handleMessage(**Unknown Source) >> at android.os.Handler.**dispatchMessage(Handler.java:**99) >> at android.os.Looper.loop(Looper.**java:130) >> at android.app.ActivityThread.**main(ActivityThread.java:3687) >> at java.lang.reflect.Method.**invokeNative(Native Method) >> at java.lang.reflect.Method.**invoke(Method.java:507) >> at com.android.internal.os.**ZygoteInit$**MethodAndArgsCaller.run(** >> ZygoteInit.java:867) >> at com.android.internal.os.**ZygoteInit.main(ZygoteInit.**java:625) >> at dalvik.system.NativeStart.**main(Native Method) >> >> -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

