如何在 android studio 中解决这个问题

问题描述 投票:0回答:1

我将

target SDK
更改为33,但没有用。出现此错误。

Execution failed for task ':app:mapDebugSourceSetPaths'.
> Error while evaluating property 'extraGeneratedResDir' of task ':app:mapDebugSourceSetPaths'
   > Failed to calculate the value of task ':app:mapDebugSourceSetPaths' property 'extraGeneratedResDir'.
      > Querying the mapped value of provider(java.util.Set) before task ':app:processDebugGoogleServices' has completed is not supported

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mapDebugSourceSetPaths'.
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:38)
java android firebase android-studio
1个回答
0
投票

可能是更新

com.android.tools.build:gradle
版本后导致的。所以你还必须更新Google服务。

© www.soinside.com 2019 - 2024. All rights reserved.