Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,646 Members 46,853 Now Online
XDA Developers Android and Mobile Development Forum

No Launcher activity found!

Tip us?
 
MountainX
Old
#1  
MountainX's Avatar
Senior Member - OP
Thanks Meter 18
Posts: 244
Join Date: Oct 2009
Location: A place with no mountains
Default No Launcher activity found!

I'm not a developer but I want to debug an Android app on my Droid. I have Eclipse installed, etc.

I am stuck now because I don't know how to define a launcher activity. Here are the console messages:

Code:
[2010-01-17 11:33:36 - TestApp]Android Launch!
[2010-01-17 11:33:36 - TestApp]adb is running normally.
[2010-01-17 11:33:36 - TestApp]No Launcher activity found!
[2010-01-17 11:33:36 - TestApp]The launch will only sync the application package on the device!
[2010-01-17 11:33:36 - TestApp]Performing sync
[2010-01-17 11:33:36 - TestApp]Automatic Target Mode: using device '04036_my_droid_09834'
[2010-01-17 11:33:36 - TestApp]Application already deployed. No need to reinstall.
[2010-01-17 11:33:36 - TestApp]/TestApp/bin/TestApp.apk installed on device
[2010-01-17 11:33:36 - TestApp]Done!
Where can I find some help for this? Thanks.
 
ExploreMN
Old
#2  
ExploreMN's Avatar
Senior Member
Thanks Meter 461
Posts: 1,571
Join Date: Jun 2007
The launcher activity is defined in the AndroidManifest.XML file.

It is defined as:

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

Hope that helps! I had to dig around a while to find this information too...but my app now runs properly.
Network: Family Mobile (T-Mobile)
Current Devices:Galaxy Note 8.0 , Galaxy Nexus GSM/HSPA+, Nexus 7 (2012), Kindle Touch
Other/Family Devices: Samsung Galaxy S II, iPhone 3GS, iPad 2
Previous Phones: Evo 3D, Epic 4G, , Evo 4G, Samsung Vibrant, Samsung Intercept, T-Mo G1
Previous Tablets:Galaxy Note 10.1, Galaxy Tab 8.9, Kindle Fire, Dell Streak 7, Asus Transformer, iPad, Archos 101, Nook Color and aPad
 
Puffin617
Old
#3  
Senior Member
Thanks Meter 272
Posts: 2,363
Join Date: Nov 2010
Location: Johannesburg
I'm having ENDLESS issues getting my app to run...

I'm following this tutorial but even adding your code, it still crashes when installing and opening the app on my device....

PLEASE HELP

Here is y AndroidManifest:

Code:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.myfirstapp"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="17"
        android:targetSdkVersion="21" android:maxSdkVersion="19"/>

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        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>

</manifest>
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes