Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo mobile update failed on windows #259

Open
1 task
lazytiger opened this issue Nov 21, 2023 · 3 comments
Open
1 task

cargo mobile update failed on windows #259

lazytiger opened this issue Nov 21, 2023 · 3 comments

Comments

@lazytiger
Copy link

Describe the bug
cargo mobile update failed on windows
error: failed to move D:\Administrator\.cargo\bin\cargo-installwmVo0S\cargo-mobile.exe to D:\Administrator\.cargo\bin\cargo-mobile.exe

Steps To Reproduce
cargo mobile update

Expected behavior
update succeeds

Screenshots
None

Platform and Versions (please complete the following information):
Host OS:Windows
Target OS:
Rustc:
cargo mobile doctor:
(if you build with specific commit, please list it as well)

Would you want to assign yourself to resolve this bug?

  • No

Additional context

@lazytiger
Copy link
Author

When cargo-mobile.exe is opened on Windows, the move is not permitted. This may be the cause

@dhrubrawat66
Copy link

When cargo-mobile.exe is opened on Windows, the move is not permitted. This may be the cause

then how to close it?

@lazytiger
Copy link
Author

Currently, you can do it manually
1、go to .cargo/bin folder
2、copy cargo-mobile.exe to cargo-mobile2.exe
3、execute cargo-mobile2.exe update
4、delete cargo-mobile2.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants