Error on genymotion power_supply

2019-03-19 03:35发布

问题:

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

回答1:

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.