nift4 / microg_installer_revived

Install microG GmsCore, GsfProxy, FakeStore (or Play Store if you want so) and MapsV1 to /system/
GNU General Public License v3.0
783 stars 44 forks source link

Can't install real play store (Didn't find class "androidx.startup.InitializationProvider") #159

Closed LeVraiRoiDHyrule closed 2 months ago

LeVraiRoiDHyrule commented 2 months ago

Hi,

I am trying to use this installer with real play store, using the method explained in the Readme. I've correctly added a play store apk, renamed it Phonesky.apk, and installed the addon. It correctly finds it and install it.

But then, regularly, the real play store crashes with the following logs: https://paste.crdroid.net/LFyvmP

The error is the following: Didn't find class "androidx.startup.InitializationProvider"

Would you have an idea of what could be wrong? I would really appreciate some help because I need the real play store to get play integrity to work, and this is required since a few weeks for my bank app so it could become a big problem.

Thanks in advance for any answer and have a nice day

nift4 commented 2 months ago

This is caused by applying root hiding (Magisk Hide, DenyList, SafetyNet fix / Play Integrity fix and many other things) to Play Store. It creates a chicken egg problem: APK is added by Magisk, but Play Store can't see Magisk changes => Play Store can't see it's own APK. The easiest fix is to install the apk as user apk in addition, and system will see apk on partition and is happy and Play Store won't crash because it has userdata APK.

nift4 commented 2 months ago

should be fixed by https://github.com/nift4/microg_installer_revived/releases/tag/v4.0.0-0