Forum Xamarin

Xamarin.AndroidTools.AndroidSdkToolException:The system cannot find the path specified.

cris_mcris_m USMember ✭✭

After updating Visual Studio 2019 and Visual studio 2019 preview I am unable to deploy Xamarin App to an android emulator. I am getting an exception.

ADB1000:  Deployment failed
Xamarin.AndroidTools.AndroidSdkToolException: The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.AndroidTools.PlatformPackage.<ApkSigner>d__10.MoveNext() in C:\A\_work\6\s\External\androidtools\Xamarin.AndroidTools\PlatformPackage.cs:line 270
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.AndroidTools.PlatformPackage.<GetPlatformPackagePathAsync>d__5.MoveNext() in C:\A\_work\6\s\External\androidtools\Xamarin.AndroidTools\PlatformPackage.cs:line 139
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.AndroidTools.AndroidDeploySession.<InstallSharedPlatformAsync>d__114.MoveNext() in C:\A\_work\6\s\External\androidtools\Xamarin.AndroidTools\Sessions\AndroidDeploySession.cs:line 349
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.AndroidTools.AndroidDeploySession.<EnsureCorrectSharedRuntimes>d__111.MoveNext() in C:\A\_work\6\s\External\androidtools\Xamarin.AndroidTools\Sessions\AndroidDeploySession.cs:line 270
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.AndroidTools.AndroidDeploySession.<RunAsync>d__110.MoveNext() in C:\A\_work\6\s\External\androidtools\Xamarin.AndroidTools\Sessions\AndroidDeploySession.cs:line 198
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.AndroidTools.AndroidDeploySession.<RunLoggedAsync>d__108.MoveNext() in C:\A\_work\6\s\External\androidtools\Xamarin.AndroidTools\Sessions\AndroidDeploySession.cs:line 123
Done building project "App1.csproj" -- FAILED.
Build FAILED.
2>Deployment failed to pixel_3a_xl_q_10_0_-_api_29.
Sign In or Register to comment.