value.xml
The dimen “xxxxxxx” invalue.xml has no declaration in the base values folder; this can lead to crashes when the resource is queried in a configuration that does not match this qualifier
出现原因:Android studio 编译后 ,copy 其他文件夹的值到另外一个文件夹,导致该值下划线报错。
可能原因:这个值在缓存中存在,并且又在一个地方出现导致的问题。
可能解决的方法:清除缓存 clean project
has no declaration in the base values folder报错
于 2023-10-12 09:31:23 首次发布
本文描述了在AndroidStudio中遇到的编译问题,源于value.xml中的某个维度声明在基础值文件夹中未定义,导致在配置不匹配时可能导致崩溃。问题可能由于值在缓存中的重复引用引起,解决方案是清理项目缓存。
1万+

被折叠的 条评论
为什么被折叠?



