Tag Archives: Android NDK

Execution failed for task ‘:app:processDebugManifest’.

using the new version of the Android Studio import project before, there will be a Execution failed for task ‘: app: processDebugManifest.’ error

* What went wrong:
Execution failed for task ‘: app: processDebugManifest’.
the Manifest merger failed: Attribute application @ appComponentFactory value = (. Android support. The v4. App. CoreComponentFactory) from [com. Android. Support: support – compat: 28.0.0] AndroidManifest. XML: make haste – 91
is also present at [androidx. Core: the core: 1.0.0-1] AndroidManifest. XML: value = “- 86 (androidx. Core. App. CoreComponentFactory).
the Suggestion: Add ‘tools: replace = “android: appComponentFactory” element to the at AndroidManifest. XML: behold – graze to override.

, modified AS provided by the androidmanifest.xml file, add the following fields —

<application

 android:appComponentFactory=""
 tools:replace="android:appComponentFactory">

if the toolsfield is not bound, a prompt appears when you hover over tools, then simply click Alt+Enter to add. Then Rebuild project, problem resolved.