Error "Could not change manifest values"

Last edited on

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 missing binaries or a mismatch in the passed arguments to the apk-tool.

Solution

Linux/macOS

  1. make sure androidmanifest-changer is present in the <SQUISH_DIR>/bin directory

  2. make sure that zip is installed

  3. pass the zip executable as an argument to the <SQUISH_DIR>/bin/apk-tool using -archiver

Windows

  1. make sure androidmanifest-changer.exe is present in the <SQUISH_DIR>\bin directory

  2. make sure that tar.exe or a zip derivate is installed

  3. pass the installed tool as an argument to the <SQUISH_DIR>\bin\apk-tool.bat using -archiver