dotnet / android

.NET for Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
MIT License
1.93k stars 531 forks source link

Xamarin Android App Not debugging (Mono.Debugger.Soft.CommandException) #4018

Closed gabrieldwight closed 4 years ago

gabrieldwight commented 4 years ago

Steps to Reproduce

  1. After upgrading from visual studio 2019 version 16.3 to 16.4 the project is not able to debug but it successfully builds with no issues and errors. It keeps on producing could not connect to debugger error.
  2. The error began to appear after upgrading from API level 28 to API level 29.
  3. The issue only comes when you want to debug the application

Things already tried to fix the error:

  1. Disabling fast deployment did not work which will still bring the same error.
  2. I don't have hyper-V settings in windows 10 home to set processor compatibility for the emulators.

The message box shows the following errors: Mono.Debugger.Soft.CommandException - debuggee returned error code INVALID_ARGUMENT Mono.Debugging.Soft.ConnectionException - could not connect to the debugger

Expected Behavior

The android application should debug as normal with visual studio.

Actual Behavior

An error message with could not connect to debugger is displayed when debugging on both emulator and physical android device. Emulator API level 27 and 28 produce the same error Physical device API level 22 produce the same error (Samsung Galaxy Grand Prime)

Version Information

Xamarin Android SDK 10.1.1.0 (d16-4/f2c9364) Minimum app version api level 19 Target app version api level 29

Log File

A brief summary of the log file collected by the xamarin diagnostics

Log for Emulator API level 27 D:RunShellCommand: emulator-5554 date +%s D:RunShellCommand: emulator-5554 setprop "debug.mono.extra" "debug=127.0.0.1:29220:29221,timeout=1576019615,loglevel=0,server=y" D:RunShellCommand: emulator-5554 getprop

D:RunShellCommand: emulator-5554 am broadcast -a "mono.android.intent.action.EXTERNAL_STORAGE_DIRECTORY" -n "Mono.Android.DebugRuntime/com.xamarin.mono.android.ExternalStorageDirectory" D:RunShellCommand: emulator-5554 am start -a "android.intent.action.MAIN" -c "android.intent.category.LAUNCHER" -n "com.moot_technologies.moot_Technologies/crc64a46206c6a11b8601.SplashActivity" D:RunShellCommand: emulator-5554 ps -A [D:GetLogCat]: logcat -v time D:RunShellCommand: emulator-5554 logcat -v time D:RunShellCommand: emulator-5554 am force-stop com.moot_technologies.moot_Technologies D:RunShellCommand: emulator-5554 setprop "debug.mono.connect" ""

Log for Grand Prime [D:]: TrackDeviceTask got: [I:]: Got new device list from adb with 0 devices [D:]: TrackDeviceTask got: 420033da9a9e9200 offline [I:]: Got new device list from adb with 1 devices [D:]: TrackDeviceTask got: 420033da9a9e9200 device [I:]: Got new device list from adb with 1 devices D:RunShellCommand: 420033da9a9e9200 getprop D:RunShellCommand: 420033da9a9e9200 am broadcast -a "mono.android.intent.action.PACKAGE_VERSIONS" -e "packages" "Mono.Android.DebugRuntime,Mono.Android.Platform.ApiLevel_29,com.moot_technologies.moot_Technologies" -n "Mono.Android.DebugRuntime/com.xamarin.mono.android.PackageVersions" D:RunShellCommand: 420033da9a9e9200 cat /data/system/packages.xml D:RunShellCommand: 420033da9a9e9200 cat /dbdata/system/packages.xml D:RunShellCommand: 420033da9a9e9200 cat /data/system/packages.xml D:RunShellCommand: 420033da9a9e9200 cat /dbdata/system/packages.xml

D:RunShellCommand: 420033da9a9e9200 pm install -d "/data/local/tmp/Mono.Android.DebugRuntime-debug.apk" D:RunShellCommand: 420033da9a9e9200 rm "/data/local/tmp/Mono.Android.DebugRuntime-debug.apk" D:RunShellCommand: 420033da9a9e9200 pm install -d "/data/local/tmp/Mono.Android.Platform.ApiLevel_29.apk" D:RunShellCommand: 420033da9a9e9200 rm "/data/local/tmp/Mono.Android.Platform.ApiLevel_29.apk" D:RunShellCommand: 420033da9a9e9200 cat /data/system/packages.xml D:RunShellCommand: 420033da9a9e9200 cat /dbdata/system/packages.xml

D:RunShellCommand: 420033da9a9e9200 getprop D:RunShellCommand: 420033da9a9e9200 am broadcast -a "mono.android.intent.action.PACKAGE_VERSIONS" -e "packages" "Mono.Android.DebugRuntime,Mono.Android.Platform.ApiLevel_29,com.moot_technologies.moot_Technologies" -n "Mono.Android.DebugRuntime/com.xamarin.mono.android.PackageVersions" D:RunShellCommand: 420033da9a9e9200 pm install -d "/data/local/tmp/com.moot_technologies.moot_Technologies-Signed.apk" D:RunShellCommand: 420033da9a9e9200 rm "/data/local/tmp/com.moot_technologies.moot_Technologies-Signed.apk"

D:RunShellCommand: 420033da9a9e9200 am broadcast -a "mono.android.intent.action.EXTERNAL_STORAGE_DIRECTORY" -n "Mono.Android.DebugRuntime/com.xamarin.mono.android.ExternalStorageDirectory" D:RunShellCommand: 420033da9a9e9200 cd /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override || exit 1; for f in *; do echo $f; done; [D:NotifyPhase]: Enumerating remote files [D:NotifyPhase]: Determining required operations [D:NotifyPhase]: Creating directories [D:NotifySync]: CreateDirectory /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override 0 [D:NotifyPhase]: Uploading files [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Moot Technologies.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Moot Technologies.dll 273920 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\AppIntro.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/AppIntro.dll 101888 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Binding_FancyShowcaseview.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Binding_FancyShowcaseview.dll 132096 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Binding_MaterialishProgress.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Binding_MaterialishProgress.dll 35840 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Binding_SweetAlertDialog.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Binding_SweetAlertDialog.dll 104448 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\FastAndroidCamera.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/FastAndroidCamera.dll 12800 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Fotoapparat.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Fotoapparat.dll 640000 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\KotlinX.Coroutines.Core.Common.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/KotlinX.Coroutines.Core.Common.dll 96256 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\KotlinX.Coroutines.Core.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/KotlinX.Coroutines.Core.dll 788992 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.AppCenter.Analytics.Android.Bindings.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.AppCenter.Analytics.Android.Bindings.dll 115776 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.AppCenter.Analytics.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.AppCenter.Analytics.dll 16440 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.AppCenter.Android.Bindings.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.AppCenter.Android.Bindings.dll 546368 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.AppCenter.Crashes.Android.Bindings.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.AppCenter.Crashes.Android.Bindings.dll 165440 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.AppCenter.Crashes.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.AppCenter.Crashes.dll 29248 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.AppCenter.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.AppCenter.dll 27200 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.Extensions.Configuration.Abstractions.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.Extensions.Configuration.Abstractions.dll 21368 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.Extensions.Configuration.Binder.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.Extensions.Configuration.Binder.dll 24952 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.Extensions.Configuration.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.Extensions.Configuration.dll 27000 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.Extensions.DependencyInjection.Abstractions.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.Extensions.DependencyInjection.Abstractions.dll 37752 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.Extensions.DependencyInjection.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.Extensions.DependencyInjection.dll 72568 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.Extensions.Http.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.Extensions.Http.dll 57208 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.Extensions.Logging.Abstractions.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.Extensions.Logging.Abstractions.dll 48504 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.Extensions.Logging.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.Extensions.Logging.dll 34168 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.Extensions.Options.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.Extensions.Options.dll 50552 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Microsoft.Extensions.Primitives.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Microsoft.Extensions.Primitives.dll 38264 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\MootTechnologies.Services.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/MootTechnologies.Services.dll 70656 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Newtonsoft.Json.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Newtonsoft.Json.dll 693680 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Refractored.Controls.CircleImageView.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Refractored.Controls.CircleImageView.dll 24576 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Arch.Core.Common.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Arch.Core.Common.dll 37520 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Arch.Core.Runtime.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Arch.Core.Runtime.dll 27280 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Arch.Lifecycle.Common.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Arch.Lifecycle.Common.dll 55960 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Arch.Lifecycle.LiveData.Core.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Arch.Lifecycle.LiveData.Core.dll 36520 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Arch.Lifecycle.LiveData.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Arch.Lifecycle.LiveData.dll 31392 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Arch.Lifecycle.Runtime.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Arch.Lifecycle.Runtime.dll 31392 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Arch.Lifecycle.ViewModel.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Arch.Lifecycle.ViewModel.dll 34976 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.AVLoadingIndicatorViewBinding.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.AVLoadingIndicatorViewBinding.dll 142336 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Glide.DiskLruCache.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Glide.DiskLruCache.dll 38552 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Glide.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Glide.dll 1556088 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Glide.GifDecoder.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Glide.GifDecoder.dll 71824 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Animated.Vector.Drawable.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Animated.Vector.Drawable.dll 75952 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Annotations.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Annotations.dll 160408 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.AsyncLayoutInflater.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.AsyncLayoutInflater.dll 29352 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Collections.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Collections.dll 98968 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Compat.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Compat.dll 1849488 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Constraint.Layout.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Constraint.Layout.dll 165992 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Constraint.Layout.Solver.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Constraint.Layout.Solver.dll 394360 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.CoordinaterLayout.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.CoordinaterLayout.dll 135840 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Core.UI.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Core.UI.dll 47248 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Core.Utils.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Core.Utils.dll 24216 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.CursorAdapter.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.CursorAdapter.dll 65688 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.CustomTabs.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.CustomTabs.dll 199320 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.CustomView.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.CustomView.dll 87192 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Design.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Design.dll 1385616 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.DocumentFile.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.DocumentFile.dll 35992 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.DrawerLayout.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.DrawerLayout.dll 87192 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Fragment.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Fragment.dll 389784 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Interpolator.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Interpolator.dll 26784 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Loader.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Loader.dll 91792 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.LocalBroadcastManager.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.LocalBroadcastManager.dll 23728 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Media.Compat.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Media.Compat.dll 798880 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Print.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Print.dll 37008 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.SlidingPaneLayout.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.SlidingPaneLayout.dll 65696 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.SwipeRefreshLayout.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.SwipeRefreshLayout.dll 83624 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Transition.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Transition.dll 313496 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.v4.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.v4.dll 41096 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.v7.AppCompat.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.v7.AppCompat.dll 2103960 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.v7.CardView.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.v7.CardView.dll 58520 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.v7.MediaRouter.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.v7.MediaRouter.dll 840864 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.v7.Palette.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.v7.Palette.dll 67736 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.v7.RecyclerView.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.v7.RecyclerView.dll 882848 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.Vector.Drawable.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.Vector.Drawable.dll 62112 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.VersionedParcelable.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.VersionedParcelable.dll 116392 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Android.Support.ViewPager.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Android.Support.ViewPager.dll 131728 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.AndroidX.Annotation.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.AndroidX.Annotation.dll 130184 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.AndroidX.ExifInterface.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.AndroidX.ExifInterface.dll 56464 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Essentials.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Essentials.dll 153208 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Auth.Api.Phone.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Auth.Api.Phone.dll 50344 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Auth.Base.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Auth.Base.dll 186016 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Auth.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Auth.dll 186000 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Base.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Base.dll 1009808 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Basement.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Basement.dll 621720 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Clearcut.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Clearcut.dll 263320 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Flags.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Flags.dll 62616 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Location.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Location.dll 245912 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Maps.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Maps.dll 476816 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Phenotype.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Phenotype.dll 68248 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Places.PlaceReport.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Places.PlaceReport.dll 45736 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Tasks.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Tasks.dll 107152 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Vision.Common.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Vision.Common.dll 326304 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.GooglePlayServices.Vision.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.GooglePlayServices.Vision.dll 175248 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Jetbrains.Annotations.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Jetbrains.Annotations.dll 85128 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Kotlin.StdLib.Common.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Kotlin.StdLib.Common.dll 11400 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Kotlin.StdLib.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Kotlin.StdLib.dll 1710712 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\ZXing.Net.Mobile.Core.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/ZXing.Net.Mobile.Core.dll 13312 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\zxing.portable.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/zxing.portable.dll 448000 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\ZXingNetMobile.dll /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/ZXingNetMobile.dll 44032 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Moot Technologies.pdb /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Moot Technologies.pdb 41300 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Binding_FancyShowcaseview.pdb /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Binding_FancyShowcaseview.pdb 28612 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Binding_MaterialishProgress.pdb /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Binding_MaterialishProgress.pdb 9360 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Binding_SweetAlertDialog.pdb /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Binding_SweetAlertDialog.pdb 32656 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\MootTechnologies.Services.pdb /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/MootTechnologies.Services.pdb 21276 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Xamarin.Essentials.pdb /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Xamarin.Essentials.pdb 54148 [D:NotifySync]: CopyFile C:\Users\Joseph\Desktop\Moot Beacon Technologies\Moot Technologies\Moot Technologies\obj\Debug\100\android\assets\Moot Technologies.dll.config /mnt/shell/emulated/0/Android/data/com.moot_technologies.moot_Technologies/files/.override/Moot Technologies.dll.config 692 [D:NotifyPhase]: Upload completed D:RunShellCommand: 420033da9a9e9200 date +%s D:RunShellCommand: 420033da9a9e9200 setprop "debug.mono.extra" "debug=127.0.0.1:29210:29211,timeout=1576018256,loglevel=0,server=y" D:RunShellCommand: 420033da9a9e9200 getprop

D:RunShellCommand: 420033da9a9e9200 am broadcast -a "mono.android.intent.action.EXTERNAL_STORAGE_DIRECTORY" -n "Mono.Android.DebugRuntime/com.xamarin.mono.android.ExternalStorageDirectory" D:RunShellCommand: 420033da9a9e9200 am start -a "android.intent.action.MAIN" -c "android.intent.category.LAUNCHER" -n "com.moot_technologies.moot_Technologies/crc64a46206c6a11b8601.SplashActivity" D:RunShellCommand: 420033da9a9e9200 ps [D:GetLogCat]: logcat -v time D:RunShellCommand: 420033da9a9e9200 logcat -v time D:RunShellCommand: 420033da9a9e9200 am force-stop com.moot_technologies.moot_Technologies D:RunShellCommand: 420033da9a9e9200 setprop "debug.mono.connect" ""

Any help on solving the issue will be appreciated.

StanleyBroo commented 4 years ago

Any news on this. Have exactly the same behaviour in VS2019 professional 16.4.1

brendanzagaeski commented 4 years ago

The team is tracking this issue on Visual Studio Developer Community:

https://developercommunity.visualstudio.com/content/problem/842376/android-debugging-not-working-in-latest-release-16.html

The discussion on that item includes a .vsix file with a candidate fix you can try if you like, or if you prefer, you can work around the issue for now by navigating to Debug > Windows > Exception Settings, right-clicking Common Language Runtime Exceptions, and selecting Restore Defaults:

image

gabrieldwight commented 4 years ago

Thank you so much @brendanzagaeski for your support. The solution for resetting the CLR Exceptions to default setting helped to clear the error.

rajnikantpatel23 commented 4 years ago

Thanks @brendanzagaeski it worked for me too.

brendanzagaeski commented 4 years ago

Release status update

A new Release version has now been published that includes the fix for this item.

Fix included on Windows in Visual Studio 2019 version 16.4.2. To get the new version that includes the fix, check for the latest updates or install the latest version from https://visualstudio.microsoft.com/downloads/.

Thanks again for the report!

yusufmsalh commented 4 years ago

the issue is still happening in Microsoft Visual Studio Community 2019 Version 16.7.7. :(

brendanzagaeski commented 4 years ago

@yusufmsalh, thanks for the information. I suspect the underlying cause of the issue you are seeing is something a little different from what was happening back on this older issue last year. When you get a chance, I'd recommend submitting a new feedback item via Report a Problem in Visual Studio so the team can take a look. On the new feedback item, be sure to include the full error message you are seeing. Thanks in advance!