I develope an android app, it works great, but when I install that app, all the activities that are in the app also get install separatelly.
Can anybody tell me how fix it so that only main starting activity get install??????
I develope an android app, it works great, but when I install that app, all the activities that are in the app also get install separatelly.
Can anybody tell me how fix it so that only main starting activity get install??????
Check your manifest your main activity that you want to launch should be like the code below
<activity android:name=".MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
and all other class should be declared as below
<activity android:name=".Google"/>
<activity android:name=".ExampleClass"/>