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

XA0126: Unable to copy Fast Deployment tools to 'files/.__tools__/xamarin.find' on the target device. ... #9646

Open
bokidotnet opened this issue Jan 3, 2025 · 3 comments
Assignees
Labels
Area: App+Library Build Issues when building Library projects or Application projects. need-attention A xamarin-android contributor needs to review

Comments

@bokidotnet
Copy link

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

@bokidotnet bokidotnet added Area: App+Library Build Issues when building Library projects or Application projects. needs-triage Issues that need to be assigned. labels Jan 3, 2025
@bokidotnet
Copy link
Author

Work around so far.

  • Delete current Android emulators which were used for testing and dev. using e.g. Android Device Manager
  • Create new ones again using e.g. Android Device manager (+ New)
  • Run project
    For now, no more issue XA0126: Unable to copy Fast Deployment tools...

@dellis1972 dellis1972 added need-info Issues that need more information from the author. and removed needs-triage Issues that need to be assigned. labels Jan 4, 2025
@dellis1972
Copy link
Contributor

@bokidotnet can you get the binlog which contains the fast deployment error please?

dotnet build foo.csproj -t:Install -c Debug -bl

@bokidotnet
Copy link
Author

@bokidotnet can you get the binlog which contains the fast deployment error please?

dotnet build foo.csproj -t:Install -c Debug -bl

Will try to manage hope soon if I grab spare time... since issues with maui eats me a lot of time.

@dotnet-policy-service dotnet-policy-service bot added need-attention A xamarin-android contributor needs to review and removed need-info Issues that need more information from the author. labels Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: App+Library Build Issues when building Library projects or Application projects. need-attention A xamarin-android contributor needs to review
Projects
None yet
Development

No branches or pull requests

3 participants