Reputation: 2882
In an Android project, build failed with this error:
> Task :app:generateSafeArgsDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:generateSafeArgsDebug'.
> parser.name must not be null
Upvotes: 4
Views: 1390
Reputation: 2882
It may be caused by unhandled files in res/navigation
.
For instance macOS may add .DS_Store
files that may be deleted with:
$ rm app/src/main/res/navigation/.DS_Store
Upvotes: 18