android - I Can install apk of my project but cant see it, why? -


i download project.apk mobile, install it, @ end says (done) , (open), (open) unhighlighted, go (done). when run it, cant find it, when go settings >> applications uninstall it, find it! why? :)

in androidmanifest.xml check if have inside activity main activity:

<intent-filter>    <action android:name="android.intent.action.main" />     <category android:name="android.intent.category.launcher" /> </intent-filter> 

this piece of xml informs activity considered main activity in android application. if information missing, no launcher set, means no way start activity. that's why don't see icon of application, neither can launch it.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -