Android OnePlus phone, missing com.google.android.gsf package

风流意气都作罢 提交于 2019-12-25 03:29:32

问题


I recently got the new "1 plus" phone. it has CyanogenMod 11 based on Android 4.4.4.

It does not have any google app, so no Play Store nor Google Play Services nor any other service.

I just need to confirm that the following error is due to those missing packages, and whether or not I'm able to fix it.

Here is the error thrown for GCM initiation:

java.lang.UnsupportedOperationException: 
Device does not have package com.google.android.gsf

Thank you!


回答1:


Yes, that error is because of the missing services.

com.google.android.gsf - > (google services framework).

Here you can find the Google play services APK latest version http://www.apkmirror.com/apk/google-inc/google-play-services/




回答2:


CM doesn't come with Gapps. See here: http://wiki.cyanogenmod.org/w/Google_Apps



来源:https://stackoverflow.com/questions/28566360/android-oneplus-phone-missing-com-google-android-gsf-package

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