码迷,mamicode.com
首页 > 移动开发 > 详细

Testing your Xamarin app on Android device

时间:2015-06-27 15:49:12      阅读:136      评论:0      收藏:0      [点我收藏+]

标签:

I‘ve develop a test application in Xamarin Studio (Android with C#) and wanted to test it on my phone.

The application worked just fine in the Device emulator (Same OS version) but when I install / open it on my phone, it just says "TestApplication stopped working" I know from the online search that thousands of issues could cause this error message but my questions is :

Is exporting my app on my droid as simple as :

  • Compiling the app
  • Taking the signed .apk in the .bin folder
  • Dragging that .apk on the phone (I‘m using AirDroid to drag the file)
  • Running the .apk (installing the app)

Am I missing an obvious, magic step ?

Answer:

I don‘t know how Xamarin Studio works, but this happened to me when trying the same, using Visual Studio.

I found out the application worked only when building in Release mode.

Not sure if Xamarin Studio has the same options (Debug / Release / etc)

 

from:http://stackoverflow.com/questions/20474874/testing-your-xamarin-app-on-android-device

Testing your Xamarin app on Android device

标签:

原文地址:http://www.cnblogs.com/zjoch/p/4603785.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!