visual-studio-app-centervisual-studio-app-center-test

AppCenter Test chunking failed:


I have a UITest that I would to use on AppCenter but I am getting this error message Test chunking failed.

\ Preparing tests... Test chunking failed: Format of the executable (.exe) or library (.dll) is invalid.

appcenter test run uitest --app "NCCN/Reimbursement-Android" --devices d1c9f63e --debug --app-path "PathToAPK.apk" --test-series "master" --locale "en_US" --build-dir "PathToReleaseFoler"

Solution

  • Maybe your problem is that the --build-dir has a lot of unnecessary files. Try to point that to a folder with just only the needed files, for example, in my case I have:

    Just those, and it works fine.