Vidsta icon indicating copy to clipboard operation
Vidsta copied to clipboard

Error: <item> inner element must either be a resource reference or empty.

Open adamvarhegyi opened this issue 6 years ago • 2 comments

I get this error when trying to sync gradle with your lib.

`Android resource compilation failed Output: C:\a_projects\my-app-app\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:934: error: inner element must either be a resource reference or empty.

Command: C:\Users\adamv.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\16e17628a734899d45656dc482659160\aapt2-3.2.1-4818971-windows\aapt2.exe compile --legacy
-o
C:\a_projects\my-app\app\build\intermediates\res\merged\debug
C:\a_projects\my-appp\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0`

adamvarhegyi avatar Jun 26 '19 15:06 adamvarhegyi

override that value in your resource file.

saurabhpandya avatar Sep 02 '20 09:09 saurabhpandya

~How would I go about overriding that specific file? It's a regenerated in gradle cache @saurabhpandya~

EDIT: I just added <item name="touchId" type="id"></item> to one of my resource files. The problematic part was <item name="touchId" type="id">2564</item> in the library, removing that number from the item did the trick.

GaganBhat avatar Nov 13 '21 21:11 GaganBhat