A
A
AndroidApi2019-09-08 13:00:07
Android
AndroidApi, 2019-09-08 13:00:07

How to fix Default Activity not found error?

An error occurs, even in a newly created project, that is, the reason is in the studio itself. Tell me where to dig? Well, just in case, I'll post the manifesto.

<application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2019-09-08
@zagayevskiy

Add category android.intent.category.DEFAULT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question