Android gradle build error: some file crashing failed, see logs for details

Error log: error: Java lang.RuntimeException: Some file crunching Failed,see logs for details

Log:

  FAILURE: Build Failed with an exception.

  * What went wrong:   Execution Failed for task ':app:mergeDebugResources'.   > Error: java. lang.RuntimeException: Crunching Cruncher ic_ default_ home_ new. png Failed,see logs

  * Try:   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

The solution is as follows:

The reason for this error is that when building gradle, gradle will check whether the file suffix has been modified,

Half, most of them appear in the picture Jpg changed to Png will have this problem.

The above is a quick solution to Android gradle build error: some file crashing failed, see logs for details introduced by Xiaobian. I hope it will help you. If you have any questions, please leave me a message!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>