Android程序安装后在模拟器上不显示,并且控制台显示The launch will only sync the application package on the device!
初学安卓,今天写了一个小例子,可是eclipse控制台却提示
No Launcher activity found!
The launch will only sync the application package on the device!
但是设备我已经启动了呀,后来慢慢发现,在配置文件AndroidManifest.xml中,有这两句话:
@Overrideprotected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(R.layout.linearlayout);}至此,程序能运行成功。