HTC野火,如果电话连接到logcat的应用程序和应用程序崩溃尝试访问SD卡 [英] HTC wildfire, application crashes if phone is connected to logcat and app tries to access the sd card

查看:198
本文介绍了HTC野火,如果电话连接到logcat的应用程序和应用程序崩溃尝试访问SD卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个HTC野火,我用它来测试我的应用程序。我希望有始终与USB与PC连接的手机,所以我可以看到在LogCat中的日志或使用调试器。

I have an HTC Wildfire and I'm using it for testing my applications. I want to have to phone always connected with the usb to the pc so I can see the logs in LogCat or use a debugger.

问题,当我试图从应用程序访问SD卡启动。

The problem starts when i try to access the SD card from the app.

虽然这款手机是宏达同步模式,我可以看到日志...当应用程序试图再访问SD卡的应用程序崩溃。所以我要我想测试并重新插上它(waiiiiiit)重新部署应用程序。每次取出USB

Although the phone is in "HTC Sync" mode and I can see the logs... when the app tries to access the SD card then the app crashes. So I have to remove the usb every time I want to test and replug it (and waiiiiiit ) to redeploy the app.

有什么建议?

推荐答案

好吧,我找到了解决办法。虽然我最近下载了HTC,貌似有一个新的版本。它安装了最新的驱动程序,现在它的工作原理pretty罚款。非常感谢。

Ok I found the solution. Although I had downloaded recently the HTC, looks like there was a new version. It installed the latest driver and now it works pretty fine. Thanks a lot.

这篇关于HTC野火,如果电话连接到logcat的应用程序和应用程序崩溃尝试访问SD卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆