Execution failed for task ':app:processDebugManifest'.
> 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.0.0-rc01] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
? ? ? ? Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:13:5-33:19 to override.
順著這個報錯趁俊,靠度娘一步一步往下改,但是慢慢的要改到node_modules中,覺得不太可靠则拷。
最后發(fā)現(xiàn)問題在于我安裝的是最新版本0.12+部念,最后換成0.10.15站叼,問題就消失了萎河。