调试和运行 Mono-Droid 应用程序

发布于 2024-11-02 10:41:57 字数 466 浏览 1 评论 0原文

我对为我的 Android 设备开发应用程序非常感兴趣。我按照本指南下载了 VS2010 所需的所有工具 - http://mono-android.net/Installation/ Visual_Studio 一切都很顺利。

现在,我第一次运行默认应用程序并将所有内容复制到模拟器中,它运行得非常完美。如果我对应用程序进行简单更改并按 F5 重新部署 - 它会启动应用程序,但是似乎仍然有旧版本并且不显示我的改变。我已经清理了解决方案并重建了应用程序,所以我不认为是这样。我还完全更改了代码(以防万一我做错了),但这也不起作用。哦,构建也成功了!

现在模拟器看起来有点不稳定和缓慢......但这是我正在做的事情吗?在按 F5 之前我需要清除某些地方吗?

I have been quite interested in developing an application for my Android device. I downloaded the all the required tools for VS2010 following this guide - http://mono-android.net/Installation/Visual_Studio and everything went pretty smoothly.

Now, the first time I ran the default application and it copied everything to the emulator, it ran perfectly. If I make a simple change to the application and hit F5 to redeploy - it starts the app, but it seems to have the old version on there still and doesn't show my changes. I've cleaned the solution and rebuilt the application, so I don't think its that. I've also completely changed the code (just in case it was something I was doing wrong), but that didn't work either. Oh and the build also succeeds!

Now the Emulator seems a bit flaky and slow...but is it something that I am doing? Is there somewhere I need to clear before hitting F5?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

零度° 2024-11-09 10:41:57

在进行部署时,是否显示“正在卸载以前的版本”?

另一件要尝试的事情是从模拟器中手动删除应用程序(设置 -> 应用程序 -> 管理应用程序 -> -> 卸载。然后再次部署并查看新版本是否正在复制。如果是,这应该缩小范围部署问题或构建问题。

When it is doing the deploy, does it say "Uninstalling the previous version"?

Another thing to try is to manually remove the app from the emulator (Settings -> Applications -> Manage Applications -> -> Uninstall. Then deploy again and see if the new version is copying. This should narrow down if it's a deployment issue or a build issue.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文