-
Notifications
You must be signed in to change notification settings - Fork 538
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
XA0126: Unable to copy Fast Deployment tools to 'files/.__tools__/xamarin.find' on the target device. ... #9646
Comments
Work around so far.
|
@bokidotnet can you get the binlog which contains the fast deployment error please?
|
Will try to manage hope soon if I grab spare time... since issues with maui eats me a lot of time. |
Hi @bokidotnet. We have added the "need-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Hi @bokidotnet. Due to inactivity, we will be closing this issue. Please feel free to re-open this issue if the issue persists. For enhanced visibility, if over 7 days have passed, please open a new issue and link this issue there. Thank you. |
FWIW I am seeing this after upgrading to I attempted to run this command but get the following error:
|
try
or net8.0-android depending on what you are targeting. |
Thank you for your quick response, @dellis1972. 🙏 I was able to produce a binlog for you here: |
So this issue is down to permissions on the device
Which suggests that we cannot write to the I would try completely deleting the application from the device, make sure you are not in multi user mode as well. And if you are make sure you have deleted the app from any other users which have it installed. |
Thank you for your investigation @dellis1972 it is appreciated. I did try to delete the application, clearing cache and files, then uninstalling the application. I am not in multi-user mode (I think -- I never added another user or anything fancy like this). I tried running it after deleting the application but the error persists. :( As this worked in the previous Preview without error this seems to be an upgrade-related consideration, but I am not sure. I am new to Android development so this is all foreign territory for me. |
I had to clone the emulator instance, delete the old one, and rename the new one to the old one's name to get this working again. 😞 |
That sounds like the emulator image was corrupted somehow (which can happen). |
Android framework version
net9.0-android
Affected platform version
VS 2022 17.12.3
Description
Starting this morning all projects made only for Android devices on compile in VS reports
XA0126: Unable to copy Fast Deployment tools to 'files/.tools/xamarin.find' on the target device. ...
After I turned off Fast Deployment to Android it's working but compile is soo soo slow.
Project properties -> Build -> General - Android - Options
Fast deployment
[ ] Debug
Beside that interesting on all above is that few days ago, VS started to compline that project need to be deployed first on emulator/device.
Solved by going to Configuration Manager and check Deploy for Debug.
It's very very wired since both issues I didn't have before at all.
Steps to Reproduce
Starting this morning all projects made only for Android devices on compile in VS reports
XA0126: Unable to copy Fast Deployment tools to 'files/.tools/xamarin.find' on the target device. ...
After I turned off Fast Deployment to Android it's working but compile is soo soo slow.
Project properties -> Build -> General - Android - Options
Fast deployment
[ ] Debug
Beside that interesting on all above is that few days ago, VS started to compline that project need to be deployed first on emulator/device.
Solved by going to Configuration Manager and check Deploy for Debug.
It's very very wired since both issues I didn't have before at all.
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: