简体   繁体   中英

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"

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:

  • [My own project dll/s]
  • Xamarin.*
  • nunit.framework.dll

Just those, and it works fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM