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

0

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

  

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

I've tried following this post but did not solve my problem!

Could someone tell me the cause of the problem?

    
asked by anonymous 04.01.2016 / 01:06

1 answer

2

Surely you have already solved your problem, but as I also went through this, I decided to post how I solved it.

My problem has been resolved by declaring the Activity on AndroidMainfest. Simple like this ... a mistake 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>
    
28.08.2016 / 01:08