android / android/identity-samples

app:mapDebugSourceSetPaths task is failing in SMS verify sample app

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
515
Forks
283
Avg merge
9h 37m
Merged PRs (30d)
2

Description

##### Steps
1) Import SMS Verify App Android App sample on the EEPatch 2 or Flamingo RC1
2) Upgrade AGP to 8.0.0-rc1
3) Build project(Build->Rebuild)

##### Observed Result:
Build failed with below error
```
FAILURE: Build failed with an exception.

* What went wrong:
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 --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 18s
26 actionable tasks: 26 executed

```

Contributor guide

Open the contributing guide

Research direction

Import the SMS Verify App Android sample on EEPatch 2 or Flamingo RC1, upgrade AGP to 8.0.0-rc1, and run Build > Rebuild. Start with the failing :app:mapDebugSourceSetPaths task and its dependency on :app:processDebugGoogleServices; done means the sample rebuilds without the reported provider-evaluation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.