错误信息:
/Users/mahdi/Documents/Flutter/GankFlutter/build/app/intermediates/manifests/full/debug/AndroidManifest.xml:24: AAPT: No resource identifier found for attribute 'appComponentFactory' in package 'android'
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:processDebugResources'.
Failed to process resources, see aapt output above for details.
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.
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
Finished with error: Gradle task assembleDebug failed with exit code 1
错误信息: /Users/mahdi/Documents/Flutter/GankFlutter/build/app/intermediates/manifests/full/debug/AndroidManifest.xml:24: AAPT: No resource identifier found for attribute 'appComponentFactory' in package 'android'
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:processDebugResources'.
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 1s
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app. See https://goo.gl/CP92wY for more information on the problem and how to fix it.
Finished with error: Gradle task assembleDebug failed with exit code 1
解决办法: flutter_webview_plugin 版本号改成0.2.0;