Praveen sharma
Praveen sharma

Reputation: 11

Application is not running

I have created an android app in android studio.I have no errors and warnings and the BUILD is also succeeded. When it is installed in my phone the apk file gets installed, but it is not displayed in my applications list and so i cannot open the application.what is the problem?

Upvotes: 1

Views: 47

Answers (1)

MarkySmarky
MarkySmarky

Reputation: 1629

Maybe you're missing the following (intent-filter) in your manifest file:

<activity android:name="#### YOUR MAIN ACTIVITY ####">
      <intent-filter>
          <action android:name="android.intent.action.MAIN" />
          <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
</activity>

Upvotes: 1

Related Questions