Android Studio 3 Error Message: The activity must be exported or contain an intent-filter

Fault Description.

Android Studio 3 running Activity shows error message.

The activity must be exported or contain an intent-filter

Solution.

Add to Mainfests android:exported=”true”

<activity
    android:name=".LoginActivity"
    android:exported="true"
    android:label="@string/title_activity_login"></activity>

Similar Posts: