无法在Android的Visual Studio 2015模拟器中运行App

时间:2017-04-01 10:53:27

标签: android xamarin visual-studio-2015 visual-studio-emulator

我已安装Xamarin SDKVS2015。 从New Project我创建了Android Blank Project,现在它已成功构建。

当我使用F5 to run点击simulator时,它会成功加载模拟器,但它不会在内部运行应用程序。

它在输出窗口中的这一行后突然出现 -

  

1> C:\ Users \用户测试\应用程序数据\本地\ Xamarin \ MonoForAndroid \ AndroidSDK \构建工具\ 23.0.2 \ zipalign.exe   4“C:\ Users \ test \ documents \ visual studio   2015年\项目\应用2 \应用2 \ BIN \调试\ App2.App2签名,Unaligned.apk”   的 “bin \调试\ App2.App2-Signed.apk”

我尝试了所有给定的解决方案 HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Android SDK Tools key, Path value, in the registry, pointing to the Android SDK root directory.

但没有运气,任何人都可以帮助我吗?

Is it an issue of pre-configured virtual devices Android_Accelared_x86 API23?

enter image description here

1 个答案:

答案 0 :(得分:0)

其他相关问题帖子中列出了许多解决方案。

我使用下面的一个解决了它 -

Open Android Emulator Manager

Start Android Virtual Device

Once emulator is ready then run your application.

有效。 enter image description here