java - Execution failed for task ':app:mapDebugSourceSetPaths'. Cannot access input property 'localResou

I'm having this problem when running an Android project in Flutter.I tried to solve the problem b

I'm having this problem when running an Android project in Flutter.

I tried to solve the problem by reading this solution: Execution failed for task ':app:mapDebugSourceSetPaths'. > Error while evaluating property 'extraGeneratedResDir' of task, but it didn't help, yesterday the project was running perfectly

here is the complete error displayed in the console:

Launching lib\main.dart on 23021RAAEG in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mapDebugSourceSetPaths'.
> Cannot access input property 'localResources' of task ':app:mapDebugSourceSetPaths'. Accessing unreadable inputs or outputs is not supported. Declare the task as untracked by using Task.doNotTrackState(). For more information, please refer to .3/userguide/incremental_build.html#disable-state-tracking in the Gradle documentation.
   > java.io.IOException: Cannot snapshot C:\Users\xabla\OneDrive\Ambiente de Trabalho\projecs\messages\android\app\src\main\res\drawable\launch_background.xml: not a regular file

* 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 .

BUILD FAILED in 7s
Error: Gradle task assembleDebug failed with exit code 1

Exited (1).

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745120411a4612381.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信