博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Testing your Xamarin app on Android device
阅读量:4325 次
发布时间:2019-06-06

本文共 938 字,大约阅读时间需要 3 分钟。

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:

转载于:https://www.cnblogs.com/zjoch/p/4603785.html

你可能感兴趣的文章
RTMP
查看>>
求一个数的整数次方
查看>>
点云PCL中小细节
查看>>
铁路信号基础
查看>>
RobotFramework自动化2-自定义关键字
查看>>
[置顶] 【cocos2d-x入门实战】微信飞机大战之三:飞机要起飞了
查看>>
BABOK - 需求分析(Requirements Analysis)概述
查看>>
第43条:掌握GCD及操作队列的使用时机
查看>>
Windows autoKeras的下载与安装连接
查看>>
CMU Bomblab 答案
查看>>
微信支付之异步通知签名错误
查看>>
2016 - 1 -17 GCD学习总结
查看>>
linux安装php-redis扩展(转)
查看>>
Vue集成微信开发趟坑:公众号以及JSSDK相关
查看>>
技术分析淘宝的超卖宝贝
查看>>
i++和++1
查看>>
react.js
查看>>
P1313 计算系数
查看>>
NSString的长度比较方法(一)
查看>>
Azure云服务托管恶意软件
查看>>