Solution 1:

The process cannot access the file because it is being used by another process.

This probably means that you have 2 Minecraft launchers (or something similar) open at same time.

Here's some fix ideas:

  • Close all of your Minecraft launchers and Minecrafts and try again.
  • Log out (closing all of your open programs), log back in and try again.
  • Restart your computer and try again.
  • Delete your .minecraft folder. More info.

If you can't figure it out, Process Hacker can display apps using that file.