I am trying to make a blank Android
application with Xamarin
platform in Visual Studio 2015
. For that I have installed VS2015
with Xamarin
and tried to make an application for Android
. However when I try to run it, it gives an error at deployment without showing any error message even if the build succeeded. I am using Emulator(AVD) by 512 RAM.
I have tried to clean solution, rebuild, and run as administrator but could not trace any error. I have also searched on SO for the hints but could not find any.
First of all: Do you want it to deploy on a real device or on Emulator? Second: Have you openend the Android Device Logging (Logcat)?
Third: I assume you want to deploy it on a real device and no errors in the logs.
Visual Studio 2015 has a very "interesting" behaviour on deploying to my nexus test device.
The deploy only works if I "Clean" the solution first and Run it afterwards. If I make a clean and / or a rebuild and then run it, the deploy fails :(.
So please try to clean und run it afterwards and see if the deploy is successful. Here is my AVD Configuration
Try to restart your emulator. I've had this issue before with emulators, and a restart worked everytime.
您需要打开ADB并尝试使用ADB Connect(您的仿真器IP地址)连接您的仿真器
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.