This message was deleted.
# general
s
This message was deleted.
r
if you really want help you need to put a bit effort into your question and provide more context what are you trying todo, what environment (gradle version, android version, jdk, etc) you're using. If you're not putting any effort in your question, likely no one will put any effort in figure out your problem for you
also, pasting the full stacktrace here is way more helpful than a screenshot
a
Task appmergeDebugResources C\Users\DELL\IFFI restaurent\app\src\main\res\values\ids.xml24 <item> inner element must either be a resource reference or empty.
Task appmergeDebugResources FAILED
Execution failed for task 'appmergeDebugResources'.
A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable
> Resource compilation failed. Check logs for details. * Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Failed to compile values file.
giving me this error
e
look further in the stacktrace to see if it has any more information, but that is an Android build error, not something Gradle can do anything about
r
this is what you look for:
Copy code
C:\Users\DELL\IFFI_restaurent\app\src\main\res\values\ids.xml:2:4: <item> inner element must either be a resource reference or empty.
I'm not an expert in how to fix this. but the ids.xml file is obviously not in the expected format
a
Copy code
<?xml version="1.0" encoding="utf-8"?>

<resources>
    <item name="recyclerview" type="id" />
    <item name="recyclerView" type="id">recyclerview</item>
</resources>