googleworkspace / android-samples

Android samples for Google Workspace APIs
Apache License 2.0
635 stars 410 forks source link

Google Play Services issue #1

Closed kyleparker closed 10 years ago

kyleparker commented 10 years ago

I know the readme said this project is mainly to see the code, but I would like to run the example on a device, just to get a sense of the functionality. With that in mind, I've tried running this example on a Galaxy Nexus and Nexus 5, both of which have the latest Google Play Services installed - 4.1.32 (978161-36). In building the sample project, I included the new 4.1 library from the Android SDK.

However, I'm getting this error when running the app:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.gms.drive.sample.demo/com.google.android.gms.drive.sample.demo.HomeActivity}: java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected 4132500 but found 4130500. You must have the following declaration within the element:

What am I missing?

rakyll commented 10 years ago

I'm providing a fix soon.

rakyll commented 10 years ago

ab1f3a0f2 fixed the dependency issue. The sample was depending on a Play Services client version which was not released but internally used for testing.

kyleparker commented 10 years ago

Ah - didn't notice the version.xml file in the source project. Thank you!