Frequent Question: How Do I Change the Default Activity in Android Studio?
Contents Go to Androidmanifest. Xml in the Root Folder of Your Project and Change the Activity Name Which You Want to Execute First. If You Are Using Android...
Go to AndroidManifest. xml in the root folder of your project and change the Activity name which you want to execute first. If you are using Android Studio and you might have previously selected another Activity to launch. Click on Run > Edit configuration and then make sure that Launch default Activity is selected.
What is default activity in Android Studio?
In Android, you can configure the starting activity (default activity) of your application via following “intent-filter” in “AndroidManifest. xml“. See following code snippet to configure a activity class “logoActivity” as the default activity.
Must Read
How do I make another activity as main activity?
If you want to make Login activity your main activity then put the the intent-filter tag inside Login activity. Any activity your want to make your main activity must contain intent-filter tag with action as main and category as launcher.