If your Play Store isn't opening or fails to download apps, follow these steps in order to restore functionality: Google Play Store Not Working / Not Opening - Quick Fix
This guide provides step-by-step troubleshooting and fixes for problems downloading or updating apps via the Google Play Store on devices running Android 7.1.2. Follow steps in order; stop when the issue is resolved. Google Play Store Apk Download Fix For Android 7.1.2
The native com.android.providers.downloads may be corrupted. Replace it with a Nougat-patched version from LineageOS 14.1. If your Play Store isn't opening or fails
Google officially ended support for Android 7.1.2 (API level 25) for Play Services updates several years ago. Google Play Store Apk Download Fix For Android 7.1.2