No Activity Found To Handle Intent/no Launcher Activity Found Manifest File Issue
Solution 1:
use "totaltrainer.com.WORKOUTGYM" and so on and below use this
<categoryandroid:name="android.intent.category.DEFAULT" />
Solution 2:
Problem 1
logcat kept telling me that it can't find the launcher activity and the application wouldn't even start
In your Manifest file, change below
<activityandroid:name=".MainActivity"android:label="@string/app_name" ><intent-filter><actionandroid:name="totaltrainer.com.MAIN" /><categoryandroid:name="android.intent.category.LAUNCHER" /></intent-filter></activity>
as
<activityandroid:name="MainActivity"><!-- This activity is the main entry, should appear in app launcher --><intent-filter><actionandroid:name="android.intent.action.MAIN" /><categoryandroid:name="android.intent.category.LAUNCHER" /></intent-filter></activity>
What happens when you define this Action and Category ?
The ACTION_MAIN action indicates this is the main entry point and does not expect any intent data.
The CATEGORY_LAUNCHER category indicates that this activity's icon should be placed in the system's app launcher. If the element does not specify an icon with icon, then the system uses the icon from the element.
These two must be paired together in order for the activity to appear in the app launcher.
Problem 2
the logcat says no activity found to handle intent
Your Manifest declaration seems fine.
In your activity class, change
IntentopenStarting=newIntent("totaltrainer.com.WorkoutPlace");
startActivity(openStarting);
as
IntentopenStarting=newIntent();
openStarting.setAction("totaltrainer.com.WorkoutPlace");
startActivity(openStarting);
Post a Comment for "No Activity Found To Handle Intent/no Launcher Activity Found Manifest File Issue"