In this guide, we will walk you through how to solve Google Play Services error on CyanogenMod 14.1 ROM. Google Play Services error usually take place during the initial setup of the phone. Even if flashed the correct Gapps package, some users encounter Google Play Services error when first setting up their phone after installing the CM14.1 or any AOSP custom ROM. Thanks to the XDA contributor hostagedead for discovering the root cause of Google Play Services error on CM13, CM14 and other custom ROMs. The reason is improper working of Google Webview or totally missing this function. If you are facing the Google Play Services error on your phone after installing a custom ROM like CM14.1, checkout the guide the guide.
How to Fix Google Play Services Error on CM14.1 and any other ROM
Install CyanogenMod 14.1 or CyanogenMod 13, but Do NOT flash Gapps package
Reboot your phone and setup it without using any account.
Enable ‘Developer options’ on your phone (Settings > About Device > Build number and then tap on ‘Build number’ seven times to enable Developer Options)
Now, go to Settings > Developer options > WebView Implementation > select Google WebView.
If ‘WebView Implementation’ option is not there, download WebView APK that support your device’s architecture from here and install it.
Once done, set ‘WebView’ under ‘Developer options’ as described in above steps.
Finally, reboot your phone and flash the appropriate Gapps package or use this app to flash Gapps package. The above guide should fix Google Play Services error on your phone. Any question? Leave it in the comment section below.(Source – XDA)