Home > Net >  Xamarin how to set up test on his mobile phone
Xamarin how to set up test on his mobile phone

Time:03-26

Originally with the simulator test, and now want to test on their mobile phones, development mode, the device manager can't find my cell phone inside,

Attach a website tutorial https://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetup

CodePudding user response:

 System. InvalidOperationException 
Message=Not supported the content-type in the response: 'text/HTML
The Response error message:
-

<meta HTTP - equiv="content-type" Content="text/HTML. Charset=gb2312 "/& gt;
500 -?????????????????
<style type="text/CSS" & gt;
Body {margin: 0; The font - size: 7 em; The font-family: Verdana, Arial, Helvetica, sans-serif. Background: # EEEEEE; }
Fieldset {padding: 0 px 10 px 15 15 px; }
H1 {the font - size: 2.4 em; margin:0; Color: # FFF. }
The h2 {the font - size: 1.7 em; margin:0; Color: # CC0000; }
H3 {the font - size: 1.2 em. Margin: 10 px 0 0 0. color:#000000; }
# header {width: 96%; Margin: 0 0 0 0; Padding: 6 px 2% 2% px; The font-family: "trebuchet MS," Verdana, sans-serif. Color: # FFF.
Background - color: # 555555; }
# content {margin: 0 0 0 2%; position:relative; }
. The content - the container {background: # FFF; Width: 96%; Margin - top: 8 px; padding:10px; position:relative; }
- & gt;
</style>

<body>


When mobile debugging error,,, this is what

CodePudding user response:

Debug the problem resolved development model is set up
  •  Tags:  
  • C#
  • Related