I used the Google Drive API to transfer files on device to Google Drive, but following error occurred after updated to new version.(android 4.4)

java.lang.IllegalStateException: A required meta-data tag in your app's AndroidManifest.xml does not exist. 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" />

Added following code in AndroidManifest.xml

meta-data android:name="com.google.android.gms.version" android:value="4030500" />

After modifying AndroidManifest.xml and clicking the file transfer button, Play Store will be launched and theGoogle Play Service app page will be displayed.

I don't know, what's wrong?

有帮助吗?

解决方案

Update Drive API new version (drive-v2r106lv1.15.0-rc)

其他提示

This is google-play-service.jar revision mismatch problem. Downgrade google-play-server revision 13 under.

http://www.mediafire.com/download/5w6x1u2xmpgq8fy/google-play-services.jar

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top