GankFlutter icon indicating copy to clipboard operation
GankFlutter copied to clipboard

androidx兼容问题

Open selfimprW opened this issue 5 years ago • 3 comments

错误信息: /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.

  • 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;

selfimprW avatar Aug 01 '19 03:08 selfimprW

改成0.2.0就OK吗

ZQ330093887 avatar Aug 01 '19 03:08 ZQ330093887

改成0.2.0就OK吗

是的,你试下,有问题可以贴出来一起解决

selfimprW avatar Aug 01 '19 03:08 selfimprW

好的,谢谢我试试看

ZQ330093887 avatar Aug 01 '19 03:08 ZQ330093887