I am going to use maps in my android application and I should use google play services. I read lots of q\a here like this. In the mentioned question, the accepted answers suggets using older version of google play services lib, like the one for Froyo. I downloaded google play services r10 and used it in my app, but I got errors.
If I exclude this line of code from manifest:
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
and run the app in my device (current version of google playe services in my device is 3.2.66 ), it throws error:
java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected 4030500 but found 0. You must have the following declaration within the <application> element: <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
and if I include it with android:value=4030500 the app runs but says that I should update my "google play services".
So what should I put android:value or Is my way correct at all ?
Regards