在genymotion POWER_SUPPLY错误 [英] Error on genymotion power_supply

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

问题描述

即时通讯使用genymotion效仿我的科尔多瓦应用程序,每次显示的logcat我这个错误。

E / Genymotion(459):无法打开/ SYS /班/ POWER_SUPPLY / genymotion_fake_path / present

要我用一个shell命令来运行我的应用程序:

 科尔多瓦构建和放大器;&安培;亚行安装-r平台\机器人\ BIN \实例,debug.apk和放大器;&安培;亚行外壳上午开始-n br.com.example / br.com.example.Example
 

和看到的logcat我使用:

 亚行logcat
 

解决方案

安卓工具允许您过滤日志输出。 您可以使用 DDMS 显示日志,并添加了对应于您的应用程序的过滤器。

中填写,例如你的包名的过滤器领域,你只能看到你的应用程序生成的日志。 你不会被这些日志被惹恼了。

Im using genymotion to emulate my cordova app, and the logcat shows me this error every time.

E/Genymotion( 459): Could not open '/sys/class/power_supply/genymotion_fake_path/present'

To run my app I'm using a shell command:

cordova build && adb install -r platforms\android\bin\Example-debug.apk && adb shell am start -n br.com.example/br.com.example.Example

And to see the logcat I'm using:

adb logcat

解决方案

Android tools allows you to filter the log output. Your can use DDMS to show the logs and add a filter corresponding to your app.

Fill the filter field with your package name for example and you will only see the logs generated by your app. You won't be annoyed more by these logs.

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

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