Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kceiw
Created January 23, 2017 23:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kceiw/20b25628eea565c13f2ee156cd4dc898 to your computer and use it in GitHub Desktop.
Save kceiw/20b25628eea565c13f2ee156cd4dc898 to your computer and use it in GitHub Desktop.
Bug Diagnostics Data
Xamarin Diagnostics
[D:]: TrackDeviceTask got: emulator-5554 offline
[I:]: Got new device list from adb with 1 devices
[D:]: TrackDeviceTask got: emulator-5554 device
[I:]: Got new device list from adb with 1 devices
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 getprop ro.product.cpu.abilist64
[I:Unknown]: Found Android SDK. API levels: 19, 21, 22, 23
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 am broadcast -a "mono.android.intent.action.PACKAGE_VERSIONS" -e "packages" "Mono.Android.DebugRuntime,Mono.Android.Platform.ApiLevel_23,App1.App1" -n "Mono.Android.DebugRuntime/com.xamarin.mono.android.PackageVersions"
[D:RunShellCommand]: emulator-5554 cat /data/system/packages.xml
[D:RunShellCommand]: emulator-5554 pm install "/data/local/tmp/Mono.Android.DebugRuntime-debug.apk"
[D:RunShellCommand]: emulator-5554 rm "/data/local/tmp/Mono.Android.DebugRuntime-debug.apk"
[D:RunShellCommand]: emulator-5554 pm install "/data/local/tmp/Mono.Android.Platform.ApiLevel_23.apk"
[D:RunShellCommand]: emulator-5554 rm "/data/local/tmp/Mono.Android.Platform.ApiLevel_23.apk"
[D:RunShellCommand]: emulator-5554 pm install "/data/local/tmp/App1.App1-Signed.apk"
[D:RunShellCommand]: emulator-5554 rm "/data/local/tmp/App1.App1-Signed.apk"
[D:RunShellCommand]: emulator-5554 "pm" "path" "App1.App1"
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_SOURCE}"
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_TARGET}"
[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 ls /storage/emulated/0/Android/data/App1.App1/files/.__override__
[D:NotifyPhase]: Enumerating remote files
[D:NotifyPhase]: Determining required operations
[D:NotifyPhase]: Creating directories
[D:NotifySync]: CreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__ 0
[D:NotifyPhase]: Uploading files
[D:NotifySync]: CopyFile c:\users\mahuang\documents\visual studio 2017\Projects\App1\App1\obj\Debug\android\assets\App1.dll /storage/emulated/0/Android/data/App1.App1/files/.__override__/App1.dll 5632
[D:NotifySync]: CopyFile c:\users\mahuang\documents\visual studio 2017\Projects\App1\App1\obj\Debug\android\assets\App1.dll.mdb /storage/emulated/0/Android/data/App1.App1/files/.__override__/App1.dll.mdb 1113
[D:NotifyPhase]: Upload completed
[D:NotifyPhase]: Enumerating remote files
[D:NotifyPhase]: Determining required operations
[D:NotifyPhase]: Creating directories
[D:NotifySync]: SkipCreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__ 0
[D:NotifySync]: CreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__/lib 0
[D:NotifyPhase]: Uploading files
[D:NotifyPhase]: Upload completed
[D:NotifyPhase]: Enumerating remote files
[D:NotifyPhase]: Determining required operations
[D:NotifyPhase]: Creating directories
[D:NotifySync]: SkipCreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__ 0
[D:NotifySync]: CreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__/dexes 0
[D:NotifyPhase]: Uploading files
[D:NotifyPhase]: Upload completed
[D:NotifyPhase]: Enumerating remote files
[D:NotifyPhase]: Determining required operations
[D:NotifyPhase]: Creating directories
[D:NotifySync]: SkipCreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__ 0
[D:NotifyPhase]: Uploading files
[D:NotifyPhase]: Upload completed
[D:NotifyPhase]: Enumerating remote files
[D:NotifyPhase]: Determining required operations
[D:NotifyPhase]: Creating directories
[D:NotifySync]: SkipCreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__ 0
[D:NotifySync]: CreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__/resources 0
[D:NotifyPhase]: Uploading files
[D:NotifyPhase]: Upload completed
[I:Unknown]: Found Android SDK. API levels: 19, 21, 22, 23
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 am broadcast -a "mono.android.intent.action.PACKAGE_VERSIONS" -e "packages" "Mono.Android.DebugRuntime,Mono.Android.Platform.ApiLevel_23,App1.App1" -n "Mono.Android.DebugRuntime/com.xamarin.mono.android.PackageVersions"
[D:InstallPackage]: Checking whether app App1.App1 is running
[D:RunShellCommand]: emulator-5554 ps
[D:InstallPackage]: Killing app
[D:RunShellCommand]: emulator-5554 am force-stop App1.App1
[D:RunShellCommand]: emulator-5554 "pm" "path" "App1.App1"
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_SOURCE}"
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_TARGET}"
[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 ls /storage/emulated/0/Android/data/App1.App1/files/.__override__
[D:NotifyPhase]: Enumerating remote files
[D:NotifyPhase]: Determining required operations
[D:NotifyPhase]: Creating directories
[D:NotifySync]: SkipCreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__ 0
[D:NotifyPhase]: Uploading files
[D:NotifySync]: CopyFile c:\users\mahuang\documents\visual studio 2017\Projects\App1\App1\obj\Debug\android\assets\App1.dll /storage/emulated/0/Android/data/App1.App1/files/.__override__/App1.dll 5632
[D:NotifySync]: CopyFile c:\users\mahuang\documents\visual studio 2017\Projects\App1\App1\obj\Debug\android\assets\App1.dll.mdb /storage/emulated/0/Android/data/App1.App1/files/.__override__/App1.dll.mdb 1113
[D:NotifyPhase]: Upload completed
[D:NotifyPhase]: Enumerating remote files
[D:NotifyPhase]: Determining required operations
[D:NotifyPhase]: Creating directories
[D:NotifySync]: SkipCreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__ 0
[D:NotifySync]: SkipCreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__/lib 0
[D:NotifyPhase]: Uploading files
[D:NotifyPhase]: Upload completed
[D:NotifyPhase]: Enumerating remote files
[D:NotifyPhase]: Determining required operations
[D:NotifyPhase]: Creating directories
[D:NotifySync]: SkipCreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__ 0
[D:NotifySync]: SkipCreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__/dexes 0
[D:NotifyPhase]: Uploading files
[D:NotifyPhase]: Upload completed
[D:NotifyPhase]: Enumerating remote files
[D:NotifyPhase]: Determining required operations
[D:NotifyPhase]: Creating directories
[D:NotifySync]: SkipCreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__ 0
[D:NotifyPhase]: Uploading files
[D:NotifyPhase]: Upload completed
[D:NotifyPhase]: Enumerating remote files
[D:NotifyPhase]: Determining required operations
[D:NotifyPhase]: Creating directories
[D:NotifySync]: SkipCreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__ 0
[D:NotifySync]: SkipCreateDirectory /storage/emulated/0/Android/data/App1.App1/files/.__override__/resources 0
[D:NotifyPhase]: Uploading files
[D:NotifyPhase]: Upload completed
[D:RunShellCommand]: emulator-5554 date +%s
[D:RunShellCommand]: emulator-5554 setprop "debug.mono.extra" "debug=127.0.0.1:8893:8894,timeout=1485209878,loglevel=0,server=y"
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_SOURCE}"
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_TARGET}"
[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 "App1.App1/md5579855c995bdb073d8182511e793544c.MainActivity"
[D:RunShellCommand]: emulator-5554 ps
[D:GetLogCat]: logcat -v time
[D:RunShellCommand]: emulator-5554 logcat -v time
[D:RunShellCommand]: emulator-5554 am force-stop App1.App1
[D:RunShellCommand]: emulator-5554 setprop "debug.mono.connect" ""
[D:RunShellCommand]: emulator-5554 date +%s
[D:RunShellCommand]: emulator-5554 setprop "debug.mono.extra" "debug=127.0.0.1:8895:8896,timeout=1485210070,loglevel=0,server=y"
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_SOURCE}"
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_TARGET}"
[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 "App1.App1/md5579855c995bdb073d8182511e793544c.MainActivity"
[D:RunShellCommand]: emulator-5554 ps
[D:GetLogCat]: logcat -v time
[D:RunShellCommand]: emulator-5554 logcat -v time
[D:RunShellCommand]: emulator-5554 am force-stop App1.App1
[D:RunShellCommand]: emulator-5554 setprop "debug.mono.connect" ""
[D:]: TrackDeviceTask got:
[I:]: Got new device list from adb with 0 devices
[D:]: TrackDeviceTask got: emulator-5554 offline
[I:]: Got new device list from adb with 1 devices
[D:]: TrackDeviceTask got: emulator-5554 device
[I:]: Got new device list from adb with 1 devices
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 date +%s
[D:RunShellCommand]: emulator-5554 setprop "debug.mono.extra" "debug=127.0.0.1:8897:8898,timeout=1485210267,loglevel=0,server=y"
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_SOURCE}"
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_TARGET}"
[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 "echo" "-n" "${EXTERNAL_STORAGE}"
[D:RunShellCommand]: emulator-5554 am start -a "android.intent.action.MAIN" -c "android.intent.category.LAUNCHER" -n "App1.App1/md5579855c995bdb073d8182511e793544c.MainActivity"
[D:RunShellCommand]: emulator-5554 ps
[D:RunShellCommand]: emulator-5554 am force-stop App1.App1
[D:RunShellCommand]: emulator-5554 setprop "debug.mono.connect" ""
[D:]: TrackDeviceTask got:
[I:]: Got new device list from adb with 0 devices
[D:]: TrackDeviceTask got: emulator-5554 offline
[I:]: Got new device list from adb with 1 devices
[D:]: TrackDeviceTask got: emulator-5554 device
[I:]: Got new device list from adb with 1 devices
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 getprop
[I:Unknown]: Found Android SDK. API levels: 19, 21, 22, 23
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 am broadcast -a "mono.android.intent.action.PACKAGE_VERSIONS" -e "packages" "Mono.Android.DebugRuntime,Mono.Android.Platform.ApiLevel_23,App1.App1" -n "Mono.Android.DebugRuntime/com.xamarin.mono.android.PackageVersions"
[D:RunShellCommand]: emulator-5554 cat /data/system/packages.xml
[D:InstallPackage]: Checking whether app App1.App1 is running
[D:RunShellCommand]: emulator-5554 ps
[D:InstallPackage]: App was not running, skipping kill
[D:RunShellCommand]: emulator-5554 "pm" "path" "App1.App1"
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_SOURCE}"
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_TARGET}"
[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 "echo" "-n" "${EXTERNAL_STORAGE}"
[D:]: TrackDeviceTask got:
[I:]: Got new device list from adb with 0 devices
[D:RunShellCommand]: emulator-5554 "pm" "path" "App1.App1"
[E:]: Deployment failed
Mono.AndroidTools.AdbException: device 'emulator-5554' not found
at Mono.AndroidTools.Util.AggregateAsyncResult.CheckError(CancellationToken token)
at Mono.AndroidTools.Adb.AdbClient.EndConnectTransport(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
[D:]: TrackDeviceTask got: emulator-5554 offline
[I:]: Got new device list from adb with 1 devices
[D:]: TrackDeviceTask got: emulator-5554 device
[I:]: Got new device list from adb with 1 devices
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 date +%s
[D:RunShellCommand]: emulator-5554 setprop "debug.mono.extra" "debug=127.0.0.1:8899:8900,timeout=1485211780,loglevel=0,server=y"
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_SOURCE}"
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_TARGET}"
[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 "App1.App1/md5579855c995bdb073d8182511e793544c.MainActivity"
[D:RunShellCommand]: emulator-5554 ps
[D:GetLogCat]: logcat -v time
[D:RunShellCommand]: emulator-5554 logcat -v time
[D:RunShellCommand]: emulator-5554 am force-stop App1.App1
[D:]: TrackDeviceTask got:
[I:]: Got new device list from adb with 0 devices
[D:]: TrackDeviceTask got: emulator-5554 offline
[I:]: Got new device list from adb with 1 devices
[D:]: TrackDeviceTask got: emulator-5554 device
[I:]: Got new device list from adb with 1 devices
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 date +%s
[D:RunShellCommand]: emulator-5554 setprop "debug.mono.extra" "debug=127.0.0.1:8901:8902,timeout=1485211849,loglevel=0,server=y"
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_SOURCE}"
[D:RunShellCommand]: emulator-5554 "echo" "-n" "${EMULATED_STORAGE_TARGET}"
[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 "echo" "-n" "${EXTERNAL_STORAGE}"
[D:RunShellCommand]: emulator-5554 am start -a "android.intent.action.MAIN" -c "android.intent.category.LAUNCHER" -n "App1.App1/md5579855c995bdb073d8182511e793544c.MainActivity"
[D:RunShellCommand]: emulator-5554 ps
[D:RunShellCommand]: emulator-5554 am force-stop App1.App1
[D:RunShellCommand]: emulator-5554 setprop "debug.mono.connect" ""
[D:]: TrackDeviceTask got:
[I:]: Got new device list from adb with 0 devices
[D:]: TrackDeviceTask got: emulator-5554 offline
[I:]: Got new device list from adb with 1 devices
[D:]: TrackDeviceTask got: emulator-5554 device
[I:]: Got new device list from adb with 1 devices
[D:RunShellCommand]: emulator-5554 getprop
[D:RunShellCommand]: emulator-5554 getprop
[W:]: Emulator name lookup failed for emulator 'emulator-5554'
Build Output
1>------ Build started: Project: App1, Configuration: Debug Any CPU ------
1> Processing: obj\Debug\res\layout\main.xml
1> Processing: obj\Debug\res\values\strings.xml
1> App1 -> c:\users\mahuang\documents\visual studio 2017\Projects\App1\App1\bin\Debug\App1.dll
1> Processing: obj\Debug\res\layout\main.xml
1> Processing: obj\Debug\res\values\strings.xml
1> Processing: obj\Debug\res\layout\main.xml
1> Processing: obj\Debug\res\values\strings.xml
2>Starting deploy VisualStudio_android-23_x86_phone ...
2>Starting emulator VisualStudio_android-23_x86_phone ...
2>C:\PROGRA~2\Android\ANDROI~1\tools\emulator.EXE -partition-size 512 -no-boot-anim -avd VisualStudio_android-23_x86_phone -prop monodroid.avdname=VisualStudio_android-23_x86_phone
2>Hax is enabled
2>Hax ram_size 0x40000000
2>HAX is working and emulator runs in fast virt mode.
2>audio: Failed to create voice `goldfish_audio_in'
2>qemu-system-i386.exe: warning: opening audio input failed
2>emulator: Listening for console connections on port: 5554
2>emulator: Serial number of this emulator (for ADB): emulator-5554
2>emulator: emulator window was out of view and was recentered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment