Is there way to debug Xamarin Android app on Chromebook?

心已入冬 提交于 2020-04-30 10:31:27

问题


I have an Android App which works fine on Chromebook. But not able to debug from local. Is there a way to debug Xamarin Android App on chromebook? Thanks


回答1:


Yes,

  1. Put Chromebook in to developer mode. details can be found here

  2. in shell (Ctrl-Alt-T in chomebook chrome browser, then type shell):

    sudo crossystem dev_boot_signed_only=0

    sudo /usr/libexec/debugd/helpers/dev_features_rootfs_verification

    sudo reboot

    then after reboot:

    sudo /usr/libexec/debugd/helpers/dev_features_ssh

  3. Get ipaddress of chromebook. (eg 192.168.1.100)

  4. On windows box type: adb connect 192.168.1.100:22

    type: adb devices

    to confirm it worked.

more info can be found here

  1. The Chromebook should now be shown as a deployment target in visual studio.

Now you can debug from Visual Studio, like you would on a device connected via usb or on an emulator.



来源:https://stackoverflow.com/questions/60290221/is-there-way-to-debug-xamarin-android-app-on-chromebook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!