GmsCore icon indicating copy to clipboard operation
GmsCore copied to clipboard

Some apps fail to render sign-in panes or crash with latest GMScore

Open joshbowyer opened this issue 7 months ago • 9 comments

How can I confirm if this is the root of the issue I am having?

Only with a logcat.

Ok I have found the error via logcat:

Image

Originally posted by @joshbowyer in #2727

joshbowyer avatar May 11 '25 20:05 joshbowyer

After neutralizing the ads trackers via Warden, the error has now changed to various instances of "java.security.cert.CertPathValidatorException: Trust anchor for certification path not found"

The header for these log events is Amplitude

Originally posted by @joshbowyer in #2727

joshbowyer avatar May 11 '25 20:05 joshbowyer

After disabling adaway (this has not been an issue on my other, older devices) it seems fine for a few seconds but then crashes, and logcat says under log event GAv4: Successfully bound to service but never got onServiceConnected callback

If this stuff has nothing to do with MicroG please let me know and I will close.

It looks like the root cause may be the "writable dex file" thing.

joshbowyer avatar May 11 '25 20:05 joshbowyer

Ok I updated it to the latest version (I was trying a few versions older during testing) and it seems the error causing it to crash is :BillingClient: Billing Unavailable, Google Play In-app Billing API version is less than 3"

joshbowyer avatar May 11 '25 20:05 joshbowyer

They are probably 2 separate bugs.

ale5000-git avatar May 11 '25 21:05 ale5000-git

The crash of myfitnesspal looks like it is unrelated to microG, are you using the latest version of myfitnesspal?

The crash is either caused by the version of myfitnesspal using a version of Google's ads SDK that is incompatible with Android 14+ or by broken file permissions due to the upgrade.

As a first, you can try clearing the cache of myfitnesspal via system settings.

If there's no newer version of myfitnesspal, you can try to manually fix the file permission and remove the writable flag by:

  1. Enable root for adb in developer settings
  2. Run in terminal: adb root followed by adb shell chmod -w <full path of offending file from the log above>
  3. Disable root for adb again from the developer settings.

mar-v-in avatar May 12 '25 07:05 mar-v-in

The offending .jar in the errors never shows as existing, even with a find command... however upon trying an older version of the app, it is showing the WebView already initialized error as in the other issue. I will keep tinkering with this stuff, but it looks like once that milestone issue is fixed and 0.3.8 is released I may be fine using an older version.

joshbowyer avatar May 12 '25 14:05 joshbowyer

Had this issue myself (#2666) some time ago, reinstalling such apps helped. Now MicroG Companion crash instead of said apps, but I live with it: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Configuration android.content.res.Resources.getConfiguration()' on a null object reference

MugoSquero avatar May 12 '25 20:05 MugoSquero

I have reinstalled many times, even trying a bunch of versions. My guess is that recent versions on the new api/sdk (MyFitnessPal 25.x.x) might require SafetyNet or something? And 24.x.x have the WebView error. But Im no expert at debugging apps and libraries, so once microg 0.3.8 is released Ill hopefully just use the old MFP app and be done with it.

joshbowyer avatar May 13 '25 13:05 joshbowyer

I am not able to sign in my account , when I try to sign it it says couldn't communicate with server

I tried reinstalling change few settings but couldn't get any output please help me

Darkgamer4846 avatar May 21 '25 18:05 Darkgamer4846

Maybe retry with microG v0.3.8, there may be some imrovements.

ale5000-git avatar Jul 14 '25 21:07 ale5000-git