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/aapt
toaapt-disabled
<SQUISHDIR>/bin/aapt2
toaapt2-disabled
Download the
aapt_64
binary from this Git repository (direct link for Linux; AMD64/x86_64):
aapt_64Copy or move the binary to
<SQUISHDIR\>\bin
and rename it toaapt
.
macOS¶
Rename the following files:
<SQUISHDIR>/bin/aapt
toaapt-disabled
<SQUISHDIR>/bin/aapt2
toaapt2-disabled
Download the
aapt_64
binary for your operating system from this Git repository (direct link for macOS; AMD64/x86_64):
aapt_64Copy or move the binary to
<SQUISHDIR\>\bin
and rename it toaapt
.
Windows¶
Rename the following files:
<SQUISHDIR>/bin/aapt.exe
toaapt-disabled.exe
<SQUISHDIR>/bin/aapt2.exe
toaapt2-disabled.exe
Download the
aapt_64.exe
binary for your operating system from this Git repository (direct link for Windows; AMD64/x86_64):
aapt_64.exeCopy or move the binary to
<SQUISHDIR\>\bin
and rename it toaapt.exe
.