-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overriding an implementation version in app gradle leads to Manifest merger failed #1767
Comments
The problem is that version of play-services-analytics uses Android X but capacitor doesn't support Android X yet |
Ah... so I should use a version prior to June 17 2019 that AndroidX was introduced, like 16.0.1. |
Any idea when Capacitor will support Android X? Because this is also affecting the support of Firebase In-App Messaging Thanks |
Hi @masimplo How did you fix the Androidx situation? |
@masimplo could you please share your solution? |
He already said that using version 16.0.1 worked, so use |
Yes but I was asking a step by step but I figured it out just searching for all firebase dependencies and make sure they are in a version number that is previous of Jun with this link https://mvnrepository.com/artifact/com.google.firebase. |
What is the timeline for Capacitor supporting Android X? I am running into this same issue with other third-party SDKs. |
@jcesarmobile we are also blocked by this.... we are using MSAL for android (https://github.com/AzureAD/microsoft-authentication-library-for-android) and in the newest release they started using AndroidX. Therefor we cannot upgrade to the new (and first) stable version of the library. Is there any chance we can help to test or do something for this? Is there any workaround apart from using old versions the SDK's? Edit: If you guys thinks it's best to open a new issue for this, then I can also do that. |
I had the same problem, trying to figure out what the heck brings Big mistake. Keep it religiously at 18.0.0, and everything will be fine. |
So fresh out of the box, I'm seeing the same thing happen with no external libraries. Does that mean that Capacitor 1.5.x doesn't work with Android now? |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Description of the problem:
When adding an implementation override in build.gradle and try to run the app or produce an APK I get this error:
Affected platform
OS of the development machine
Other information:
Plugins I am using:
Capacitor version:
1.1.0
node version:
v10.15.3
npm version:
6.9.2
CocoaPods version:
Steps to reproduce:
implementation "com.google.android.gms:play-services-analytics:17.0.0"
AndroidManifest.xml:
Link to sample project:
The text was updated successfully, but these errors were encountered: