Question

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
Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top