日食的Soundpool加载错误 [英] Eclipse soundpool loading error

查看:240
本文介绍了日食的Soundpool加载错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发使用Eclipse的Andr​​oid库管理软件。到目前为止,我的应用程序运行良好(在Eclipse仿真器),但我得到了一些错误,这是窃听我(虽然有对功能没有明显的影响)。如果有人可以指导我,我会AP preciate了很多。

错误#1:每当我preSS任何按钮(或行动项目),我不断收到的Soundpool错误(logcat中),如下图所示。我没有手动加载/分配任何音效的任何东西,因此,这些一定是默认的声音。

  11-08 23:05:58.466:E /的Soundpool(374):错误加载/system/media/audio/ui/Key$p$pssStandard.ogg
11-08 23:05:58.466:W / AudioService(374):的Soundpool无法加载文件:/system/media/audio/ui/Key$p$pssStandard.ogg
11-08 23:05:58.466:E /的Soundpool(374):错误加载/system/media/audio/ui/Key$p$pssSpacebar.ogg
11-08 23:05:58.466:W / AudioService(374):的Soundpool无法加载文件:/system/media/audio/ui/Key$p$pssSpacebar.ogg
 

错误#2:当我运行我的应用程序到我的虚拟设备管理器,我得到了下面的初始化过程中的错误信息(在logcat中),我不知道的,并且不会对我的应用程序的任何明显的影响,以及

  11-08 23:16:10.226:E / memtrack(1110):无法加载memtrack模块(没有这样的文件或目录)
11-08 23:16:10.226:E / android.os.Debug(1110):加载失败memtrack模块:-2
 

解决方案

基本上不用担心这些错误。他们不是直接由应用程序引起的,他们没有明显的影响。这在日志中只是噪音。

第一个是给予,只是因为模拟器找不到默认的我打一个按钮的声音。最有可能的,这是不包括在仿真图像。然而,它会尝试当你点击一个按钮,播放声音。你或许可以从发生通过进入AVD的设置应用程序(在模拟器),并禁止播放声音的UI事件和键盘presses选项阻止这一切。

第二只是意味着它有一个问题,加载{}一些硬件模块。这可能是是与GPU的支持,SD卡的处理,基本上什么。鉴于有仿真器和实际设备之间的许多硬件差异,这是不很令人惊讶。再次,如果它不造成任何问题,不用担心。我的AVDS显示相同的消息,我还没有看到任何问题。

I am trying to develop a library management software for android using Eclipse. So far my application is running fine (in eclipse emulator), but I am getting some errors which is bugging me (though there is no visible impact on functionality). If anybody can guide me, I'll appreciate a lot.

Error # 1: Whenever I press any button (or action items), I keep getting soundpool errors (in logcat) like below. I didn't manually load/assign any sound effect to anything, hence these must have been default sounds.

11-08 23:05:58.466: E/SoundPool(374): error loading /system/media/audio/ui/KeypressStandard.ogg
11-08 23:05:58.466: W/AudioService(374): Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg
11-08 23:05:58.466: E/SoundPool(374): error loading /system/media/audio/ui/KeypressSpacebar.ogg
11-08 23:05:58.466: W/AudioService(374): Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg

Error # 2: When I run my application to my virtual device manager, I got below error messages (in logcat) during initialization, which i have no idea of, and which does not have any visible impact on my application as well.

11-08 23:16:10.226: E/memtrack(1110): Couldn't load memtrack module (No such file or directory)
11-08 23:16:10.226: E/android.os.Debug(1110): failed to load memtrack module: -2

解决方案

Basically, don't worry about those errors. They're not directly caused by your application, and they have no visible impact. It's just noise in the log.

The first one is given simply because the emulator can't find the default "I hit a button" sound. Most likely, it was not included in the emulator image. Nevertheless, it will try to play the sound when you hit a button. You can probably stop this from happening by going into the AVD's settings app (in the emulator) and disabling the option to play sounds for UI events and keyboard presses.

The second just means that it had a problem loading {some} hardware module. This could be something to do with GPU support, sdcard handling, basically anything. Given that there are many hardware differences between an emulator and an actual device, this isn't very surprising. Again, if it isn't causing any problems, don't worry about it. My AVDs show the same message, and I've yet to see any issues.

这篇关于日食的Soundpool加载错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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