I have a non-rooted Samsung phone that runs android version 9 as shown in the image below.
Some time ago I uninstalled Google Play Store from my phone because I thought that I could reinstall it if needed. I used the following command:
adb shell pm uninstall -k --user 0 com.android.vending
Now I want to install Google Play Store again. I downloaded an apk file for Google Play Store from apkmirror which can be found here. I tried to install Google Play Store again by issuing the adb install command with the name of the downloaded apk file:
adb -s 5200088af0785579 install com.android.vending_33.1.16-19_0_PR_487270566-83311600_minAPI19_maxAPI24\(armeabi-v7a\,x86\,x86_64\)\(nodpi\)_apkmirror.com.apk.
When the command is executed I get the message that the streamed install was successful as shown in the image below. After I searched my phone for Google Play Store, I couldn't find it anywhere, including my Google folder and Apps list. I also looked at disabled apps. If I try to uninstall the apk version of Google Play Store with
adb uninstall com.android.vending I get the message that the uninstall was successful, indicating that it was indeed installed on my phone. I just don't know how to access it. Issuing the uninstall command again gives an error as shown in the image below.
Is it even possible to install Google Play Store after uninstalling it? Am I using the correct apk file? Are there some additional steps I should take to make it work? Or is there an alternative method I could use to reinstall it?