问题
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