The emulator does not show my application

I just picked up "Beginning Android 4" at, and in the third chapter you made your first application. I went through this, and although some settings do not completely match (I assume that the android api has been updated since the writing of the book), everything works fine. However, the book says that I should see an icon for my project / application "Now" in the main application menu. This is not so, so I'm not sure what might be wrong. Does anyone know if there is a trick to make it appear? I am using the eclipse editor and plugins for Android. Thank.

+5
source share
4 answers

I had the same problem! I saw this in the console:

No Launcher activity found!

MAIN LAUNCHER , ! stackoverflow .

, AndroidManifest.xml MAIN LAUNCHER, :

<application android:label="@string/app_name" android:icon="@drawable/icon">
    <activity android:name="ExampleActivity"
              android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>
+5

, , Run As > Android Application; .apk - , .

- , ( Eclipse ), - .

, - , .

+2

, .

+1

? "", , .

enter image description here

, , :

enter image description here

0

All Articles