什么是 com.google.android.gms.version?

What is com.google.android.gms.version?

我在一个旧项目中工作,该项目有此片段可用于 google 播放服务:

<meta-data android:name="com.google.android.gms.version"
    android:value="@integer/google_play_services_version" />

我找不到关于此的任何官方文档,但我知道它用于设备位置,我想知道它的用途是什么,因为我遇到异常,我认为它可能是相关的:

[AppCertManager] IOException while requesting key:                                   
java.io.IOException: Invalid device key response.                                                                              
at evk.a(:com.google.android.gms:274)                                                                              
at evk.a(:com.google.android.gms:4238)                                                                              
at evj.a(:com.google.android.gms:45)                                                                              
at evd.a(:com.google.android.gms:50)                                                                              
at evc.a(:com.google.android.gms:104)                                                                              
at com.google.android.gms.auth.account.be.legacy.AuthCronChimeraService.b(:com.google.android.gms:4049)                                                                              
at ecm.call(:com.google.android.gms:2041)                                                                              
at java.util.concurrent.FutureTask.run(FutureTask.java:237)                                                                              
at llt.run(:com.google.android.gms:450)                                                                              
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)                                                                              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)                                                                              at lqc.run(:com.google.android.gms:17)                                                                              at java.lang.Thread.run(Thread.java:818)

干杯!

也就是Google Play Services Version Number.

This may help you with your error,虽然我不确定抛出它的代码。