GmsCore: [com.google.android.apps.maps] Google Maps crashes due to SettingsProvider

Affected app Name: Google Maps Package id: com.google.android.apps.maps

Describe the bug I updated microg to 0.2.20.212158 from fdroid because Maps has been crashing due to missing cronet. Now there is a new crash, see log below.

To Reproduce Steps to reproduce the behavior:

  1. Open google maps

Expected behavior No crash.

System Android Version: 10 Custom ROM: microg lineage build 17.1-20210328-microG-guacamole

microG microG Core version: 0.2.20.212158 microG Self-Check results: All ticked

Additional context Add any other context about the problem here.

FATAL EXCEPTION: DefaultPool5
Process: com.google.android.apps.maps, PID: 1937
java.lang.SecurityException: Permission Denial: reading org.microg.gms.settings.SettingsProvider uri content://org.microg.gms.settings/auth from pid=1937, uid=10356 requires the provider be exported, or grantUriPermission()
	at android.os.Parcel.createException(Parcel.java:2071)
	at android.os.Parcel.readException(Parcel.java:2039)
	at android.os.Parcel.readException(Parcel.java:1987)
	at cwm.xX(PG:3)
	at cmvj.g(PG:5)
	at comx.a(PG:5)
	at conc.i(PG:11)
	at conc.h(PG:23)
	at comw.a(PG:3)
	at buol.b(PG:1)
	at buol.c(PG:3)
	at bvby.d(PG:2)
	at bvca.a(PG:10)
	at bulg.e(PG:2)
	at bule.j(PG:1)
	at bule.k(PG:5)
	at bule.e(PG:14)
	at bvby.c(PG:5)
	at bvap.a(PG:25)
	at dfbl.a(PG:1)
	at dghm.c(PG:2)
	at dgho.run(PG:9)
	at bwkb.run(PG:1)
	at bwlm.run(PG:2)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at bwlc.run(PG:4)
	at java.lang.Thread.run(Thread.java:919)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Thx, everything is working again 😃

@s644 This seems to be some weirdness in Android. Can you try the following:

adb push core-nightly.apk /data/local/tmp/core-nightly.apk
adb shell pm install-create -r --staged # This returns a session id in brackets
adb shell pm install-write *session-id* base /data/local/tmp/core-nightly.apk
adb shell pm install-commit *session-id*
adb shell rm /data/local/tmp/core-nightly.apk
adb reboot

@s644: Why? The F-Droid version should have the same signature.