JakeSteam / Vidsta

Easily implementable and customisable Android video player library
https://play.google.com/store/apps/details?id=uk.co.jakelee.exposurevideoplayersample
GNU General Public License v3.0
37 stars 13 forks source link

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

Open adamvarhegyi opened 5 years ago

adamvarhegyi commented 5 years ago

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`

saurabhpandya commented 4 years ago

override that value in your resource file.

GaganBhat commented 2 years ago

~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.