General¶
This can occur during 'instrument and deploy' of the Android application through Squish.
This is either visible in the Error trace the IDE shows or the library log of the support information.
In most cases this is caused by the aapt/aapt2 tool provided by the Android SDK, which consider "$" characters in resource names to be invalid.
Solution¶
Linux¶
Rename the following files:
<SQUISHDIR>/bin/aapttoaapt-disabled<SQUISHDIR>/bin/aapt2toaapt2-disabledDownload the
aapt_64binary from this Git repository (direct link for Linux; AMD64/x86_64):
aapt_64Copy or move the binary to
<SQUISHDIR\>\binand rename it toaapt.
macOS¶
Rename the following files:
<SQUISHDIR>/bin/aapttoaapt-disabled<SQUISHDIR>/bin/aapt2toaapt2-disabledDownload the
aapt_64binary for your operating system from this Git repository (direct link for macOS; AMD64/x86_64):
aapt_64Copy or move the binary to
<SQUISHDIR\>\binand rename it toaapt.
Windows¶
Rename the following files:
<SQUISHDIR>/bin/aapt.exetoaapt-disabled.exe<SQUISHDIR>/bin/aapt2.exetoaapt2-disabled.exeDownload the
aapt_64.exebinary for your operating system from this Git repository (direct link for Windows; AMD64/x86_64):
aapt_64.exeCopy or move the binary to
<SQUISHDIR\>\binand rename it toaapt.exe.