gpt4 book ai didi

android-studio - 将Android Studio更新至3.3.1后,Android资源编译失败,无法进行构建/中间/增量

转载 作者:行者123 更新时间:2023-12-03 05:35:04 30 4
gpt4 key购买 nike

我使用了NDK,一切都可以正常运行,但是一旦更改了系统,一切就变成了 hell ,无法启动构建/运行项目-我遇到了错误

Android resource compilation failed
/home/bajrang/Android Live Projects/Parkway/app/build/intermediates/incremental/mergePentestDebugResources/merged.dir/values/values.xml:624: error: <item> inner element must either be a resource reference or empty.
/home/bajrang/Android Live Projects/Parkway/app/build/intermediates/incremental/mergePentestDebugResources/merged.dir/values/values.xml:625: error: <item> inner element must either be a resource reference or empty.
/home/bajrang/Android Live Projects/Parkway/app/build/intermediates/incremental/mergePentestDebugResources/merged.dir/values/values.xml:626: error: <item> inner element must either be a resource reference or empty.
/home/bajrang/Android Live Projects/Parkway/app/build/intermediates/incremental/mergePentestDebugResources/merged.dir/values/values.xml:627: error: <item> inner element must either be a resource reference or empty.
/home/bajrang/Android Live Projects/Parkway/app/build/intermediates/incremental/mergePentestDebugResources/merged.dir/values/values.xml:628: error: <item> inner element must either be a resource reference or empty.
/home/bajrang/Android Live Projects/Parkway/app/build/intermediates/incremental/mergePentestDebugResources/merged.dir/values/values.xml:629: error: <item> inner element must either be a resource reference or empty.
/home/bajrang/Android Live Projects/Parkway/app/build/intermediates/incremental/mergePentestDebugResources/merged.dir/values/values.xml:630: error: <item> inner element must either be a resource reference or empty.
/home/bajrang/Android Live Projects/Parkway/app/build/intermediates/incremental/mergePentestDebugResources/merged.dir/values/values.xml:631: error: <item> inner element must either be a resource reference or empty.
/home/bajrang/Android Live Projects/Parkway/app/build/intermediates/incremental/mergePentestDebugResources/merged.dir/values/values.xml:637: error: <item> inner element must either be a resource reference or empty.
/home/bajrang/Android Live Projects/Parkway/app/build/intermediates/incremental/mergePentestDebugResources/merged.dir/values/values.xml:808: warn: ignoring element 'g' with unknown namespace 'http://schemas.android.com/apk/res/android'.
/home/bajrang/Android Live Projects/Parkway/app/build/intermediates/incremental/mergePentestDebugResources/merged.dir/values/values.xml: error: file failed to compile.

我已完成删除 .gradle 文件夹和 清洁重建的删除,删除构建文件夹但没有成功,请帮助我-

最佳答案

我在项目的ids.xml文件中使用以下行

<item type="id" name="day_picker_selected_date_layout">false</item>

将其更改为下面的行后,它是固定的。
<item type="id" name="day_picker_selected_date_layout"/>

关于android-studio - 将Android Studio更新至3.3.1后,Android资源编译失败,无法进行构建/中间/增量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56897079/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com