Manifest merger failed on SDK 4.4.57218.1211

On gradle sync project:

ERROR: 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 [us.zoom.sdk:mobilertc:] AndroidManifest.xml:46:9-52 value=(videomeetings).
Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at manifestMerger4412130580420395350.xml:7:5-9:19 to override.

Which version?
4.4.57218.1211

buildToolsVersion = "29.0.2"
minSdkVersion = 23
compileSdkVersion = 29
targetSdkVersion = 28
supportLibVersion = "28.0.0"

Hi fernando.moobi,

Thanks for the post. Please try to add the following in your build.gradle file:

compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }

and make sure your build configurations matches those mentioned in https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/build.gradle.

Hope this helps. Thanks!

Thanks @Carson_Chen,

even adding continues the same error, and was already using:

compileOptions {
	sourceCompatibility JavaVersion.VERSION_1_8
	targetCompatibility JavaVersion.VERSION_1_8
}

Hi @fernando.moobi,

Thanks for the reply. Have you tried the following:

add 'tools:replace="android:appComponentFactory"' to <application> element at manifestMerger4412130580420395350.xml:7:5-9:19 to override.

Thanks, I found no solution, just updating SDK to work.

What went wrong:
A problem occurred configuring project ‘:app’.

Failed to notify project evaluation listener.
org.gradle.api.file.ProjectLayout.directoryProperty(Lorg/gradle/api/provider/Provider;)Lorg/gradle/api/file/DirectoryProperty;