Cannot distribute/signing any apps in VS2017: The process cannot access the file...

I have faced a problem during distributing my app. With this, I tried distribute a default android app(without any modification), without any success.
Steps to reproduce:
1) I click on the "Build/Archive..."
2) Starts to packaging the program-> Completed successfully.
3) Click on "Distribute..." button, then click on "Ad Hoc" mode, the choose the keystroke and click on "Save As"
4) After the destination path choosed, then the VS starts to signing the app, and I type the cert. password correctly.
5) BUUM: "Signing packages failed. The process cannot access the file 'xxxxxxx.apk.signed' because it is beign used by anouther process."

This happens right after rebooting the PC, and only the VS runs.

Any ideas, or advisement? I'm running out of ideas...


  • MicialMicial USMember ✭✭

    When the problem occurs, just change the building configuration at the top (if in “Release” to “Debug” and vice versa), build and then change back to previous configuration and build again.

  • YorkGoYorkGo CNMember, Xamarin Team Xamurai

    Please share your diagnostic build output about this issue

Sign In or Register to comment.