在手机上安装/调试 ActionScript Mobile App 时出错
我每次都会收到此错误:
安装应用程序时发生错误: 864 KB/s(0.038 秒内 33668 字节) 包:/data/local/tmp/Main.apk 失败 [INSTALL_FAILED_MEDIA_UNAVAILABLE]
我有一个非常简单的“HelloWorld”动作脚本移动应用程序,它只是将一个文本字段添加到显示列表中。使用 HTC Desire 模拟器在桌面上运行该应用程序效果很好,但在设备上进行测试时会抛出该错误。
我在手机上安装了市场上提供的 Adobe Air,设备已连接,运行的 android 版本是 2.3.3。
我似乎无法摆脱这个错误。我尝试创建 Flex 移动项目并导入了 iBrent 的教程项目之一 ( http ://www.youtube.com/user/iBrent#p/c/4/TvpvIIhvZ5s )看看它们是否有效,但可惜我得到了相同的失败错误。
任何帮助将不胜感激 亲切的问候
I get this error every time:
Error occurred while installing the application:
864 KB/s (33668 bytes in 0.038s)
pkg: /data/local/tmp/Main.apk
Failure [INSTALL_FAILED_MEDIA_UNAVAILABLE]
I have a very simple "HelloWorld" action script mobile app which simply adds a text field to the display list. Running the app on the desktop using the HTC Desire simulator works just fine, however testing on the device is throwing that error.
On the phone I have installed the Adobe Air available on the Market, the device is connected and the version of android running is 2.3.3.
I can't seem to get away from this error. I've tried creating flex mobile projects and imported one of iBrent's tutorial projects ( http://www.youtube.com/user/iBrent#p/c/4/TvpvIIhvZ5s ) to see if they work but alas I get the equivalent fail error.
Any help would be appreciated with this
Kind regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
1)您的手机是否开启了USB调试等相关功能?
2) 您是否确定设备正在与 Flash Builder 通信?
3)你能看到与电脑连接的设备吗?
4)您是否检查过bin文件夹以查看是否确实创建了apk文件?
5) 您是否正确设置了应用程序清单文件?
我知道这里有很多变量,但如果不直接了解您的设置,这是一个很难诊断的问题。哈...
1) Have you enabled USB debugging and other appropriate items on the phone?
2) Have you made sure the device is communicating with Flash Builder?
3) Can you see the device connected with the computer?
4) Have you checked the bin folder to see if an apk file was indeed created?
5) Have you set the applications manifest file appropriately?
Lots of variables here, I know, but this is a tough problem to diagnose without direct knowledge of your setup. HTH...