-1

i am making an application. first this was working fine. then after certain changes i have restarted android studio. But Now i am getting error That default activity is not found. here is my manifest code:

<activity
        android:name=".activities.SplashActivity"
        android:screenOrientation="portrait"
        android:theme="@style/SplashTheme">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />-->
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

i don't know where i am doing mistake Snapshot

2 Answers2

2

Look the action section, at the end of the line you have "-->". Remove it and i think it will works.

This line : "<action android:name="android.intent.action.MAIN" />-->"
remove the "-->" at the end.

Sergey Glotov
  • 20,200
  • 11
  • 84
  • 98
0

Here is your problem . Remove the encircled extra characters

-->

problematic code

Community
  • 1
  • 1
Faisal
  • 566
  • 5
  • 17