problems in debugging with Xamarin

Asked

Viewed 58 times

-1

I’m a beginner in the world of programming and recently met Xamarin and decided to learn a little about him.
When emulating the apps I searched how I could debug (or debug, I’m not sure what the right term) by mobile, and I found a basic tutorial on the official Microsoft website, reinforced by the online course I was doing, the steps to debugging were:

  1. Leave the phone in developer mode
  2. Enable "USB debugging"

Connecting the phone to the PC with a USB cable, in theory should appear the option to debug using the mobile instead of the default emulator.

This did not work, the PC simply does not show this option, I have tried to test all USB ports, use the mobile phone as MIDI, use other 2 devices that people here home have and create new designs to test, nothing worked.

Has anyone ever had a similar problem?

Use the Windows 10, tried to debug on a LG G7 Thinq, one Moto G5S and in a LG K7

  • Did you install a device-compatible sdk? You installed the Google usb driver?

  • i don’t really know how to see if the sdk is compatible, but I tried to install the google driver and gave no difference

1 answer

0

Debugging is the English term. You did the correct procedure, which would enable developer mode and USB debugging.

Could boot Visual Studio in administrator mode after rebooting the computer.

Also check if a message appears on mobile asking if the device should trust the computer and if the startup project is the Android project.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.