After Google Play Service update to version 13 I got an error

后端 未结 8 1303
小蘑菇
小蘑菇 2020-11-22 06:02

How can I resolve this error?

Caused by: java.lang.illegalargumentexception 11-01 11:08:12.845: E/AndroidRuntime(28885): Caused by: java.lang.Illega

相关标签:
8条回答
  • 2020-11-22 06:43

    I did create a file "version.xml" in the res/values folder of the included copy of google services and pasted the code:

    <?xml version="1.0" encoding="UTF-8"?>
    <resources>
    <integer name="google_play_services_version">4030500</integer>
    </resources>
    

    the original copy missed the file and it did solve my problem

    0 讨论(0)
  • 2020-11-22 06:44

    If you still having error try this one.

    it worked for me

    <meta-data
        tools:replace="android:value"
        android:name="com.google.android.gms.version"
        android:value="@integer/google_play_services_version" />
    
    0 讨论(0)
提交回复
热议问题