使用 AVD 拍照

发布于 2024-09-17 00:41:13 字数 428 浏览 3 评论 0原文

我正在 AVD 模拟器上测试我的应用程序;我的应用程序的步骤之一是拍照;当我到达那里时,我首先看到正确的屏幕(有拍照和取消按钮的屏幕),但几秒钟后,在我拍照之前,我收到此错误消息“应用程序相机(进程com) .android.camera) 意外停止,请重试。”

这是预期的行为吗,因为我使用的是 AVD?

FWIW,我将所有硬件选项添加到我的 AVD 中,并且我的代码是从此链接修改的 http://github.com/commonsguy/cw-advandroid/tree/master/Camera/Picture

感谢任何帮助。

rh4游戏

I'm testing my app on the AVD emulator ; one of the steps of my App is to take a picture ; when I get there, I get the right screen first (the one that has a take a picture and a Cancel buttons) but after a few seconds, before I can take the picture, I get this error message "The application Camera (process com.android.camera) has stopped unexpectedly. Please try again."

Is this the expected behavior, because I'm using an AVD?

FWIW, I added all hardware options to my AVD, and my code is modified from this link http://github.com/commonsguy/cw-advandroid/tree/master/Camera/Picture

Any help is appreciated.

rh4games

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文