1

According to this post, GCM is supported for Android 2.2. However when I add com.google.android.gms:play-services:4+ to my Gradle build file, I get a compilation error from Gradle stating:

Information:Gradle: [c:\path\AndroidManifest.xml:3,     C:\path\build\exploded-aar\com.google.android.gms\play-services\4.3.23\AndroidManifest.xml:3] 
Main manifest has <uses-sdk android:minSdkVersion='8'>    
but library uses minSdkVersion='9'

How do I get around this?

Community
  • 1
  • 1
Nilzor
  • 18,082
  • 22
  • 100
  • 167

1 Answers1

1

There's a special Google Play Services version for Android 2.2 (Froyo). You should try it instead of the regular library.

Google Play Services for Froyo

Eran
  • 387,369
  • 54
  • 702
  • 768
  • Do you have any insight on whether or not Play services for froyo is added to the Maven repo? Ref http://stackoverflow.com/questions/21455328/play-services-for-froyo-not-to-be-found-on-gradle – Nilzor Jun 06 '14 at 13:27