且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将com.google.android.gms的版本更新为9.2.0

更新时间:2022-03-22 20:39:36

当我得到相同的错误消息,我看到以下朝向错误消息的结尾:

while i got the same error message, i saw the following towards the end of the error message also:

Found com.google.android.gms:play-services-auth:+, but version 9.2.0 is needed for the google-services plugin.
Found com.google.android.gms:play-services-identity:+, but version 9.2.0 is needed for the google-services plugin.

我通过更改文件修复了 platforms / android / project.properties 来自

i fixed the issues by changing the file platforms/android/project.properties contents from

cordova.system.library.1=com.google.android.gms:play-services-auth:+
cordova.system.library.2=com.google.android.gms:play-services-identity:+

cordova.system.library.1=com.google.android.gms:play-services-auth:9.2.0
cordova.system.library.2=com.google.android.gms:play-services-identity:9.2.0

检查您是否也看到有关上述特定 gms 服务的错误,然后相应的更改

check if you too are seeing errors about specific gms services like the above and then make corresponding changes