Skip to content
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

Task :app:processDebugMainManifest FAILED #147

Open
melihakalan opened this issue Jul 17, 2024 · 1 comment
Open

Task :app:processDebugMainManifest FAILED #147

melihakalan opened this issue Jul 17, 2024 · 1 comment

Comments

@melihakalan
Copy link

melihakalan commented Jul 17, 2024

It doesn't build on the latest Android Studio and gradle version. Might be due to the latest changes? Do you have an idea?
"Please ensure that all modules and libraries have a unique namespace."

> Task :app:processDebugMainManifest FAILED
[com.android.support:animated-vector-drawable:28.0.0] /Users/melihxdxd/.gradle/caches/transforms-4/b52657740091f12b38e51f14d2b83f7a/transformed/animated-vector-drawable-28.0.0/AndroidManifest.xml Warning:
	Namespace 'android.support.graphics.drawable' is used in multiple modules and/or libraries: com.android.support:animated-vector-drawable:28.0.0, com.android.support:support-vector-drawable:28.0.0. Please ensure that all modules and libraries have a unique namespace. For more information, See https://developer.android.com/studio/build/configure-app-module#set-namespace
[androidx.versionedparcelable:versionedparcelable:1.1.1] /Users/melihxdxd/.gradle/caches/transforms-4/45a6c6a3b060727ddf68da2ad9481a07/transformed/versionedparcelable-1.1.1/AndroidManifest.xml Warning:
	Namespace 'androidx.versionedparcelable' is used in multiple modules and/or libraries: androidx.versionedparcelable:versionedparcelable:1.1.1, com.android.support:versionedparcelable:28.0.0. Please ensure that all modules and libraries have a unique namespace. For more information, See https://developer.android.com/studio/build/configure-app-module#set-namespace
/Users/melih/AndroidStudioProjects/project/app/src/main/AndroidManifest.xml:28:18-86 Error:
	Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from [androidx.core:core:1.13.0] AndroidManifest.xml:28:18-86
	is also present at [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentFactory).
	Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:9:5-29:19 to override.

See https://developer.android.com/r/studio-ui/build/manifest-merger for more information about the manifest merger.
@Vincent-presh
Copy link

How did you fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants