应用程序未在Visual Studio 2015中的Android的Visual Studio模拟器中运行 [英] App not run in visual studio emulator for android in visual studio 2015
本文介绍了应用程序未在Visual Studio 2015中的Android的Visual Studio模拟器中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在调试该项目时调试没有问题,但是当我运行带有Visual Studio模拟器的Android模拟器运行应用程序但未启动我的应用程序并部署失败并且不显示错误时,我创建了空白的xamarin android项目,而未添加任何代码
I create blank xamarin android project without add any code when i debug this project debugging without problem but when i run app with visual studio emulator for android emulator is running but not starting my app and deploy failed and don't show me error
为什么? 请帮助我
推荐答案
我遇到了同样的问题. VS 2015可以启动VS模拟器,但不能部署该应用程序.
I had the same issue. VS 2015 can launch the VS emulator but can't deploy the app.
我能够解决以下问题:
- 启动仿真器(VS中为F5,然后使用构建/取消"菜单取消部署)
- 点击模拟器右侧工具栏中的 V形图标(»)
- 选择网络标签
- 找到首选网络ip地址
- 回到VS,单击打开Adb命令提示符工具栏按钮
- 键入 adb connect [仿真器IP地址]
- 在VS中再次按F5
- Launch the emulator (F5 in VS, then cancel the deployment using the Build/Cancel menu)
- Click on the chevron icon (») in the toolbar to the right of the emulator
- Select the Network tab
- Locate the preferred network ip address
- Back in VS, click on the Open Adb Command Prompt toolbar button
- Type adb connect [the emulator ip address]
- Press F5 again in VS
对我来说就像一个VS错误.
Looks like a VS bug to me.
这篇关于应用程序未在Visual Studio 2015中的Android的Visual Studio模拟器中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文