Android I';由于firebase的依赖性,我在部署我的颤振项目时遇到困难
我正在尝试为android和ios设置firebase。我曾尝试在pubspec.yaml中使用不同的版本,但仍然会出现类似这样的错误。提前谢谢你的帮助Android I';由于firebase的依赖性,我在部署我的颤振项目时遇到困难,android,ios,firebase,flutter,dart,Android,Ios,Firebase,Flutter,Dart,我正在尝试为android和ios设置firebase。我曾尝试在pubspec.yaml中使用不同的版本,但仍然会出现类似这样的错误。提前谢谢你的帮助 FAILURE: Build failed with an exception. *What went wrong: Execution failed for task ':app:processDebugResources'. > A failure occurred while executing com.android.buil
FAILURE: Build failed with an exception.
*What went wrong: Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
C:\Users\13363\.gradle\caches\transforms-2\files-2.1\354fc33358371181aa1b0a8e262a9145\jetified-play-services-auth-16.0.1\res\drawable-watch-v20\common_google_signin_btn_text_dark_normal.xml:9: AAPT: error: resource drawable/googleg_standard_color_18 (aka com.example.catbox:drawable/googleg_standard_color_18) not found.
C:\Users\13363\.gradle\caches\transforms-2\files-2.1\354fc33358371181aa1b0a8e262a9145\jetified-play-services-auth-16.0.1\res\drawable-watch-v20\common_google_signin_btn_text_disabled.xml:16: AAPT: error: resource drawable/googleg_disabled_color_18 (aka com.example.catbox:drawable/googleg_disabled_color_18) not found.
C:\Users\13363\.gradle\caches\transforms-2\files-2.1\354fc33358371181aa1b0a8e262a9145\jetified-play-services-auth-16.0.1\res\drawable-watch-v20\common_google_signin_btn_text_light_normal.xml:9: AAPT: error: resource drawable/googleg_standard_color_18 (aka com.example.catbox:drawable/googleg_standard_color_18) not found.
* 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 21s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin cloud_firestore...
Running Gradle task 'assembleAarRelease'...
Finished with error: The plugin cloud_firestore could not be built due to the issue above.
您提供的错误清楚地表明找不到可提取资源。这与AndroidX库无关。我会核实这些资源是否确实存在以及需要它们的是什么。确保XML文件有效,并尝试执行无效缓存/重新启动。运行
flifl clean
然后flall pub get
并最终运行项目