Assuming your AndroidManifest.xml is setup properly.
<?xml version="1.0" encoding="utf-8"?>
<manifest ...>
<application ...>
<activity
android:name=".MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>You can try changing Android Studio -> Run -> Edit Configurations, at Android App -> app -> General -> Launch Options, changed from Default Activity to Specific Activity then pick and activity. If the problem still persist, then this is a Android Studio problem and not a configuration issue.
NOTE: You can also try opening other Android projects.
Solutions
You might need to try one or more of the following solutions.
Android Studio -> File -> Invalidate Caches / Restart ...Android Studio -> Build -> Clean Project / Rebuild ProjectAndroid Studio -> File -> Sync Project with Gradle files- Close Android Studio, goto
C:\Users\[USER]\.AndroidStudio3.3\systemand deletecachesdirectory.
NOTE: Solution 4 work for my case.