iT邦幫忙

0

Android Studio 報錯"app:processDebugResources" (Flutter)求大神幫幫忙Q

以下是錯誤訊息

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

 C:\Users\m2201\.gradle\caches\transforms-2\files-2.1\fdb242a0df5768584bf3ead838eb3d99\jetified-facebook-share-4.42.0\res\drawable\com_facebook_button_send_background.xml:40: AAPT: error: resource color/com_facebook_button_background_color_focused (aka tw.nfs.selsapp.sels_app:color/com_facebook_button_background_color_focused) not found.

FAILURE: Build failed with an exception.

  • Where:
    Build file 'C:\Program Files\flutter\src\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-3.1.4\android\build.gradle' line: 24

  • What went wrong:
    A problem occurred evaluating root project 'firebase_auth'.

Could not find the firebase_core FlutterFire plugin, have you added it as a dependency in your pubspec?

1 個回答

1
qsc236578
iT邦新手 5 級 ‧ 2021-11-09 13:15:58
  • resource color/com_facebook_button_background_color_focused
    去確認一下是不是打錯引用"名稱"錯誤吧

我要發表回答

立即登入回答