Google play out of date require 4452000 but found 4325034

左心房为你撑大大i 提交于 2019-12-11 18:53:00

问题


I am facing issue with google play service ads. I am using rev 17 version of play service in my app and using android 4.4.2 with installed play service version 4.8.20.

But getting a warning as below Google Play services out of date. Requires 4452000 but found 4325034. And ads are not displayed .

But works fine on Gingerbread device 2.3.x .

Earlier I was getting below error on kitkat and app was crashing.

java.lang.SecurityException: attempting to read gservices without permission: Neither user 10096 nor current process has com.google.android.providers.gsf.permission.READ_GSERVICES.

Than I added READ_GSERVICES permission, its not crashing but ads are not displayed because of above out of date issue.

Please suggest a solution.

Thanks.


回答1:


I solved it by adding permission to manifest file com.google.android.providers.gsf.permission.READ_GSERVICES.




回答2:


It could be an issue with your vending and gms files from the google services library.

I would suggest locating these files and then manually installing them via the adb like so:

adb -install "C:\...\...\...\com.android.vending-4452000.apk
adb -install "C:\...\...\...\com.google.android.gms-4452000.apk


来源:https://stackoverflow.com/questions/24297506/google-play-out-of-date-require-4452000-but-found-4325034

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!