Skip to content Skip to sidebar Skip to footer

Logcat Displays Launch But Activity Doesnt Launch In Emulator

Friends, I am really struck up in a really really weird problem. My logcat shows the activity is launched but the emulator simply shows a blank white page instead of the desired ac

Solution 1:

Always remember about androidmainfest.xml and just think . Make sure that yo are first adding to Clfbpg class activity first. check in AndroidManifest.xml file.

<activityandroid:name="Clfbpg"><actionandroid:name="android.intent.action.MAIN" /><categoryandroid:name="android.intent.category.LAUNCHER" /></activity>

this should be call first . tell me about it.

Solution 2:

You may need to add these two line in AndroidManifest.xml

<activityandroid:name="Clfbpg"><actionandroid:name="android.intent.action.MAIN" />          <-----
    <categoryandroid:name="android.intent.category.LAUNCHER" />  <----
...
</activity>

So, It will create icon on mobile screen and you will be able to launch your app.

Post a Comment for "Logcat Displays Launch But Activity Doesnt Launch In Emulator"