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

后端 未结 8 1527
小蘑菇
小蘑菇 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:41

    @Benoit'a answer has exact solution i am answering with additional knowledge:

    1. one way as Benoit answered is add following inside application tag of AndroidManifest.xml

    
    

    2. we can directly add the version code like

    
    

    4030500 is version code which is stored inside

    google-play-services_lib>res>values>version.xml

    Like

    4030500
    

    Conclusion: Latest google play services requires a version name, which is to be mentioned using inside AndroidManifest.xml

    Note: I would strongly recommend to use 1st way

提交回复
热议问题