每个 Android 应用程序都会意外关闭
我开始为 Android 构建一个应用程序,并使用 flash builder 4.5.1 通过 USB 对其进行调试,但过了一会儿,它在我的 Android 机器上显示“应用程序意外关闭”。 奇怪的是,它并没有崩溃。它只是说它崩溃了,但是当我单击“强制关闭”时,它只是像正常一样继续运行。
我只是尝试调试一个全新的 Flex 移动项目,没有任何编码,几秒钟后它也说它意外停止了。
我不知道我是否做错了什么,或者这里是否发生了更大的事情。
I started building an app for android and debugging it through usb using flash builder 4.5.1, but after a while it said "the app was closed unexpectedly" on my android machine.
The strange thing is, it doesn't crash. It just says it's crashing, but when I click 'force close', it just keeps running like normal.
I just tried to debug a brand new flex mobile project, without any coding, and after a couple of seconds it also said it had stopped unexpectedly.
I have no idea if I'm doing something wrong, or if somthing bigger is going on here.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

我发现在这方面使用trace 或Alert.show 很有帮助,因为暂停应用程序状态太久可能会导致问题。
我使用自定义警报 - 提供示例
I found the use of trace or Alert.show to be helpful in this regard, simply because of the annoyance of pausing an application state too long can cause problems.
I use a custom Alert - sample provided