You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using capacitor with @ionic/react and after execute npx cap add android, open the project, and sync gradle, Android Studio gives me the following error when i try to run the app
Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
is also present at [androidx.core:core:1.2.0] AndroidManifest.xml:24:18-86 value=(androidx.core.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:5:5-43:19 to override.
Thanks for the issue. I am going to close this as a duplicate of ionic-team/capacitor#2744. You should update your Capacitor CLI to use v2 and then remove the Android platform/re-add it.
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 Ionic, please create a new issue and ensure the template is fully filled out.
I'm using capacitor with @ionic/react and after execute
npx cap add android
, open the project, and sync gradle, Android Studio gives me the following error when i try to run the appThis is a repo to reproduce
https://github.com/Alain00/IonicTestApp
The text was updated successfully, but these errors were encountered: