Could not open '/sys/class/power_supply/genymotion_fake_path/present'

Asked

Viewed 179 times

0

I installed the emulator Genymotion in Android Studio, but it happens that when I run my app in emulator it returns me the following error:

Could not open '/sys/class/power_supply/genymotion_fake_path/present'

I’ve tried to follow that post but it didn’t solve my problem!

Would anyone know the cause of the problem?

1 answer

2

I’m sure you’ve already solved your problem, but since I’ve also been through it, I’ve decided to post how I solved it.

My problem was solved by declaring Activity on Androidmainfest. Simple as that... an error of attention. : D

        <activity
        android:name=".MainActivity"
        android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.