Can't install org.microg.gms alongside google's com.google.android.gms due to permission conflict
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 3.2k
- Avg merge
- 12d 11h
- Merged PRs (30d)
- 4
Description
Hi
When trying to install a user build of microG on device with google services installed I got this
# pm install /data/local/tmp/org.microg.gms.apk
Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package org.microg.gms attempting to redeclare permission com.google.android.gms.nearby.exposurenotification.EXPOSURE_CALLBACK already owned by com.google.android.gms]
I have only one device with google services, so I can't check if this is error on my side or it is a problem that needs to be solved.
Android 13 (CrDroid) + mindthegapps package (recommended by lineageos Devs)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported pm install command on Android 13 with Google services and the user-built org.microg.gms package. Inspect the declarations for com.google.android.gms.nearby.exposurenotification.EXPOSURE_CALLBACK and verify that the two packages can be installed together without INSTALL_FAILED_DUPLICATE_PERMISSION.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100