问题
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,
Put Chromebook in to developer mode. details can be found here
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
Get ipaddress of chromebook. (eg 192.168.1.100)
On windows box type: adb connect 192.168.1.100:22
type: adb devices
to confirm it worked.
more info can be found here
- 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