In the beginning of the development of Android, sometimes may just finished writing a layout file, hurriedly busy running the program, this time will be relentless in the console error: No Launcher activity found!
The launch would only sync the application package on the device! This is because the Androidmanifest.xml file is not modified, the program does not find the portal, that is, your activity is not configured in the Androidmanifest.xml.
WORKAROUND: Add the main activity you wrote in Androidmanifest.xml, like mine is mainactivity
<ApplicationAndroid:allowbackup= "true"Android:icon= "@drawable/ic_launcher"Android:label= "@string/app_name"Android:theme= "@style/apptheme" ><!--configuration program starts the required entry--<ActivityAndroid:name=". Mainactivity "Android:label= "@string/app_name"> <Intent-filter> <ActionAndroid:name= "Android.intent.action.MAIN" /> <categoryAndroid:name= "Android.intent.category.LAUNCHER" /> </Intent-filter> </Activity> </Application>
The launch would only sync the application package on the device!