Android异常篇 The option setting ‘android.disableResourceValidation=true‘ is experimental and unsupport

Posted 彭老希

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android异常篇 The option setting ‘android.disableResourceValidation=true‘ is experimental and unsupport相关的知识,希望对你有一定的参考价值。

一、问题描述

The option setting ‘android.disableResourceValidation=true’ is experimental and unsupported.

二、原因

存在不支持的resource文件或文件格式有问题

三、解决方案

  1. 在项目的gradle.properties文件中添加
    android.disableResourceValidation = true

备注:添加上述,仅是忽略该问题

  1. 在File -> settings ->Editor->File Encodings编码格式统一修改为 UTF-8

以上是关于Android异常篇 The option setting ‘android.disableResourceValidation=true‘ is experimental and unsupport的主要内容,如果未能解决你的问题,请参考以下文章

webpack 运行提示“The ‘mode‘ option has not been set”的原因和解决方法

vscode 提示Set the 'experimentalDecorators' option to remove this warning. [1219]

Vue学习之webpack打包报The 'mode' option has not been set

npm run dev--The 'mode' option has not been set, webpack will fallback to 'production

yocto编译时报错"fatal: the '--set-upstream' option is no longer supported. Please use '-

yocto编译时报错"fatal: the '--set-upstream' option is no longer supported. Please use '-