在genymotion POWER_SUPPLY错误错误、genymotion、POWER_SUPPLY

由网友(淚、淋濕ㄋ回憶)分享简介:即时通讯使用genymotion效仿我的科尔多瓦应用程序,每次显示的logcat我这个错误。E / Genymotion(459):无法打开/ SYS /班/ POWER_SUPPLY / genymotion_fake_path / present要我用一个shell命令来运行我的应用程序:科尔多瓦构建和放大器;&安...

即时通讯使用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 platformsandroidbinExample-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.

阅读全文

相关推荐

最新文章