Can occur during ‘instrument and deploy’ of the Android application and is in most cases related to the aapt/appt2 tool provided by the Android SDK bailing out on invalid resource names containing the “$” character.
Rename the following files:
<SQUISHDIR>/bin/aapt to aapt-disabled
<SQUISHDIR>/bin/aapt2 to aapt2-disabled
Download the aapt_64 binary for your operating system from this Git repository
Copy or move the binary to <SQUISHDIR>\bin and rename it to aapt