由于Firebase依赖性,我无法部署Flutter项目

时间:2020-01-14 06:12:31

标签: 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.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.

0 个答案:

没有答案