TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Santhosh
NA
300
140.2k
"InstallPackageAssemblies" task failed unexpectedly.
Oct 20 2016 2:45 AM
Hi,
I am using visual studio community 2013 with update 4. instal Xamarin in my visual studio
I am facing below error while deploying.
Deployment Failed.
Build FAILED.
2>An error occured. See full exception on logs for more details.
2>Build started.
2>C:\Android\android-sdk\platform-tools\adb.exe -s emulator-5554 devices
2>C:\Android\android-sdk\platform-tools\adb.exe -s emulator-5554 shell getprop ro.build.version.sdk
2>C:\Android\android-sdk\platform-tools\adb.exe -s emulator-5554 shell getprop ro.product.cpu.abi
2>
The "InstallPackageAssemblies" task failed unexpectedly.
2>System.AggregateException: One or more errors occurred. --->
Xamarin.AndroidTools.AndroidDeploymentException
: InternalError --->
Mono.AndroidTools.AdbException
: No such file or directory
2> at Mono.AndroidTools.Util.AggregateAsyncResult.CheckError(CancellationToken token)
2> at Mono.AndroidTools.Adb.AdbSyncClient.EndPush(IAsyncResult result)
2> at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
2> --- End of inner exception stack trace ---
2> at Xamarin.AndroidTools.AndroidDeploySession.<RunLoggedAsync>c__async1.MoveNext()
2>--- End of stack trace from previous location where exception was thrown ---
2> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> at Xamarin.AndroidTools.AndroidDeploySession.<StartAsync>c__async0.MoveNext()
2> --- End of inner exception stack trace ---
2> at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2> at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2> at System.Threading.Tasks.Task.Wait()
2> at Xamarin.Android.Tasks.InstallPackageAssemblies.Execute()
2> at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
2> at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
2>---> (Inner Exception #0) Xamarin.AndroidTools.AndroidDeploymentException: InternalError ---> Mono.AndroidTools.AdbException: No such file or directory
2> at Mono.AndroidTools.Util.AggregateAsyncResult.CheckError(CancellationToken token)
2> at Mono.AndroidTools.Adb.AdbSyncClient.EndPush(IAsyncResult result)
2> at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
2> --- End of inner exception stack trace ---
2> at Xamarin.AndroidTools.AndroidDeploySession.<RunLoggedAsync>c__async1.MoveNext()
2>--- End of stack trace from previous location where exception was thrown ---
2> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> at Xamarin.AndroidTools.AndroidDeploySession.<StartAsync>c__async0.MoveNext()<---
2>
2>Build FAILED.
2>
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
How to solve this issue..??
Reply
Answers (
2
)
The debugger cannot continue running the process.
barcode scanner in xamarin