microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.5k stars 1.71k forks source link

GMail crashes with MicroG saying `Unsupported method call get_accounts` #1078

Closed yeshwanthvshenoy closed 4 years ago

yeshwanthvshenoy commented 4 years ago

For a lot of reasons, I am comfortable with the Gmail app. Infact this is the only Google app that I am using.

I have a Mi A1 (tissot) with clean install of RevengeOS (Android 10). Installed Magisk, Nanodroid based MicroG and FDroid. Using Aurora Store for installing apps.

All checkboxes show tick under Self Check of MicroG Settings. Whenever I fire up Gmail, it just crashes with the generic "Gmail keeps crashing" error message. I did a logcat to understand what the issue was and found this:

06-25 00:34:45.426 10588 10645 E AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-3
06-25 00:34:45.426 10588 10645 E AndroidRuntime: Process: com.google.android.gm, PID: 10588
06-25 00:34:45.426 10588 10645 E AndroidRuntime: android.os.RemoteException: Accounts ContentProvider failed: Unsupported method call get_accounts(com.google.android.gm.exchange).

Is this because com.google.android.gm is not present as part of the KNOWN_GOOGLE_PACKAGES map here in https://github.com/microg/android_packages_apps_GmsCore/blob/master/play-services-core/src/main/java/org/microg/gms/common/PackageUtils.java#L51?

If so, how can I get the signature from the apk? Any links and I can provide a PR to fix this thing.

Can you help me out here @mar-v-in ?

yeshwanthvshenoy commented 4 years ago

Current issue is duplicate of #1052 , closing it.