c# - xamarin form is giving me deployment error on phisical device
问题描述
i just started xamarin form as a blank page when i run it on an emulator it work just fine but too slow, then i tried to open it in my device (a xiaomi rednote 8) but it is giving me a deployment error ADB0010 the device is already set in allow debug mode. i already uninstalled and reinstalled xamarin, my version of visual studio is 2019, looking around i've tried to run visual studio as admin and unchecked the shared runtime but still nothing.
解决方案
ok i finally found out, the problem is not the software but xiaomi, the debug mode is not the only thing that need to be checked, th "Install via USB" option in the Developer mode was off, a simple switch on was enough.
推荐阅读
- sql - 如果找到行,则触发代码,如果没有返回,则不执行任何操作
- python - 如何将完成的 Vue.js 应用程序(前端)连接到 Django(后端)
- java - 如何在列表列表中找到索引的最大值
- python - python -m 导致“查找模块规范时出错”
- javascript - 无法将数组数据加载到 Html
- c# - 是否可以在 .cshtml.cs 文件中使用 .cs 文件中的变量来显示其值
- excel - 如何在今天的日期之前将多个 excel 工作表保存到所需的位置?
- c++ - 多个线程访问同一个 cuda 流
- python-3.x - Telethon 错误:无法使用 AddChatUserRequest() 将用户添加到组,聊天的对象 ID 无效
- hadoop - 我可以将 GCP Dataproc 集群从标准(1 个主节点,N 个工作节点)更改为高可用性吗?