Clon de Whatsapp con Flutter | Fuente de datos de la App

alberto gasca@albertogasca

Estimados colegas, solicito soporte y orientación sobre el error que genera la compilación inicio del error registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) C:\Users\lenovo\AndroidStudioProjects\flutter_app\whasapp\android\app\src\debug\AndroidManifest.xml:22:18-91 Error: 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] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory). Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:8:5-29:19 to override.

FAILURE: Build failed with an exception.

  • What went wrong: 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] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory). Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:8:5-29:19 to override.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 23s AndroidX incompatibilities may have caused this build to fail. Please migrate your app to AndroidX. See https://goo.gl/CP92wY. Finished with error: Gradle task assembleDebug failed with exit code 1

termino del error

------ Equipo: Windows 10Pro IDE: android studio 3.5.3 Flutter/Dart

app/build.gradle apply plugin: 'com.google.gms.google-services'

andoid/buil.gradle classpath 'com.google.gms:google-services:3.2.1'

pubspec.yaml cloud_firestore: ^0.13.0+1

Agradecimientos de antemano por su soporte

:D


Escribe una respuesta