skip to Main Content

Android studio 'The activity must be exported or contain an intent-filter'

I wanted to show 'RealMainActivity.kt' to first main page, so I wrote below. <activity android:name=".RealMainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> but there is still Error running 'app': The activity must be exported or contain an intent-filter.…

VIEW QUESTION
Back To Top
Search