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

Android resource compilation failed when using android.enableAapt2=true #17

Closed salimshivani closed 5 years ago

salimshivani commented 5 years ago

Hi,

When I use android.enableAapt2=true, gradle gives me the following error:

Android resource compilation failed
Output:  C:\Users\"PATH"\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2163: error: <item> inner element must either be a resource reference or empty.

Command: C:\Users\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\758c86a233c1673cd2840b6bc0bab6dd\aapt2-3.2.1-4818971-windows\aapt2.exe compile --legacy \
        -o \
        C:\Users\"PATH"\app\build\intermediates\res\merged\debug \
        C:\Users\"PATH\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml
Daemon:  AAPT2 aapt2-3.2.1-4818971-windows Daemon #0

Its the ids.xml in the res folder creating the issue. Are you going to update it in the near future??

EDIT Here's the pull request by @sashafiero. Please merge it ASAP.

salimshivani commented 5 years ago

Thank you @JakeSteam for merging the PR #15. Thank you @sashafiero for this PR.

Closing this issue.

Wish you both a good luck.