eclipse - My app won't show up on android emulator and android device -
i beginner in app development. @ first, went great, app showed both on emulator , phone without crashing. after while, icon of app won't show in app drawer, , there no other way access app anymore. recheck everything, there isn't apparent error in code, when ran program in emulator , phone, eclipse showed app installed successfully, app won't turn on automatically used to, , there no app icon me open app. please help!
attached code androidmanifest.xml
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.trial1" android:versioncode="1" android:versionname="1.0" > <uses-sdk android:minsdkversion="8" android:targetsdkversion="17" /> <application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/apptheme" > <activity android:name="com.example.trial1.splash" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.splash" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name="com.example.trial1.mainscreen" android:label="@string/app_name" > <intent-filter> <action android:name="com.example.trial1.mainscreen" /> <category android:name="android.intent.category.default" /> </intent-filter> </activity> <activity android:name="com.example.trial1.startingpoint" android:label="@string/app_name" > <intent-filter> <action android:name="com.example.trial1.startingpoint" /> <category android:name="android.intent.category.default" /> </intent-filter> </activity> <activity android:name="com.example.trial1.menu" android:label="@string/app_name" > <intent-filter> <action android:name="com.example.trial1.menu" /> <category android:name="android.intent.category.default" /> </intent-filter> </activity> <activity android:name="com.example.trial1.textplay" android:label="@string/app_name" > </activity> </application> </manifest>
you have missed put action in launcher activity
<action android:name="android.intent.action.main" />
your correct code like
<activity android:name="com.example.trial1.splash" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.main" /> <action android:name="android.intent.action.splash" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity>
Comments
Post a Comment