Android studio error: app:mergeDebugResources
我有这个问题
错误:任务':app:mergeDebugResources'的执行失败。
Error: Some file crunching failed, see logs for details
我看到人们说这是因为图像格式,但是我刚刚安装了android studio,但没有上传任何图片,也没有写任何代码,这是在他的起始代码中:
第二个是答案,它不接受空格,所以它告诉我更改用户名(这很麻烦),因此在保存我使用的应用程序的路径中,而不是在我的空格中用户名是低线" Doctor_mcmuffing"。
这是2个产生错误的概率:
Maximum Path Length Limitation
In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters. A local path is structured in the following order: drive letter, colon, backslash, name components separated by backslashes, and a terminating null character. For example, the maximum path on drive D is"D:\\some 256-character path string" where"" represents the invisible terminating null character for the current system codepage. (The characters < > are used here for visual clarity and cannot be part of a valid path string.)