Bug 18284 - Can not deploy in debug mode on Samsung Galaxy Notes 2
Summary: Can not deploy in debug mode on Samsung Galaxy Notes 2
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: 3.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: vsx
Depends on:
Reported: 2014-03-10 13:21 UTC by softlion
Modified: 2015-08-03 09:03 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description softlion 2014-03-10 13:21:09 UTC
Xamarin.AndroidTools.AndroidDeploymentException: FailedToSynchronizeFastDevAssemblies ---> Mono.AndroidTools.AdbException: Permission denied
   at Mono.AndroidTools.Util.AggregateAsyncResult.CheckError(CancellationToken token)
   at Mono.AndroidTools.Adb.AdbSyncClient.EndPushSyncItems(IAsyncResult result)
   at Mono.AndroidTools.Internal.AdbClientTaskExtensions.InnerInvoke(TaskCompletionSource`1 tcs, Func`2 endMethod, IAsyncResult l)
   --- End of inner exception stack trace ---
   at Xamarin.AndroidTools.AndroidDeploySession.InstallAssemblies(String destinationPath, CancellationToken token)
   at Xamarin.AndroidTools.AndroidDeploySession.FastDev()
   at Xamarin.AndroidTools.AndroidDeploySession.Run(CancellationToken token)
   at Xamarin.AndroidTools.AndroidDeploySession.RunLogged(CancellationToken token)
   at Xamarin.AndroidTools.AndroidDeploySession.Start(CancellationToken token)

Seems related to https://bugzilla.xamarin.com/show_bug.cgi?id=6111, an old fixed bug.

Android 4.3
Samsung: GT-N7100
Version 12.0.30110.00 Update 1
Microsoft .NET Framework
Version 4.5.50938

Xamarin.Android   4.12.01000 (0deb0164)
Visual Studio plugin to enable development for Xamarin.Android.

The same project deploys OK on Nexus 7, android 4.3
I disabled fastdev and it deploys ok on Galaxy Notes 2.
Comment 1 Shruti 2014-03-14 03:15:48 UTC
I have checked this issue and got deployment failed error. Steps are mention below :
1. Create a Android Project in VS2013.
2. Go to application properties and verified that fast deployment should be enabled.
3. Launched the application on device.
4. I got the deployment failed error of 'Assembly Synchronization error' 

Refer Screencast for Issue : http://screencast.com/t/wFpMWh3MwH

Now, I go to Application properties and disable fast deployment.
Then I launched the application on device. At this time, application successfully get deployed.

Environment Info
VS Android 4.12.01
Samsung: Galaxy S4 4.3
Microsoft .NET Framework
Version 4.5.50938
Comment 2 Ram Chandra 2015-08-03 09:03:08 UTC
I have checked this issue with latest stable and I am unable to reproduce this . 

I have enabled the fast deployment option in Debug configuration and observed that I am able to build and deploy application successfully without any error or exception on Samsung Note 3.

Screencast: http://www.screencast.com/t/HozD0N8Iv

For now, I am closing this issue. If you are still getting this issue, please feel free to reopen this issue.

Environment Info: 

Windows 8.1
Microsoft Visual Studio Professional 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.6.00057
Installed Version: Professional
Xamarin   3.11.666.0 (ebae43a)
Xamarin.Android (5f55a9ef61c11b6ce0890bc91e4c71b1b92be214)
Xamarin.Forms Intellisense   1.0
Xamarin.iOS (67b390d0d1bd741582cf7b7fd3ffea08583a3f83)