在第一个启动界面的oncreate中添加:
if (!this.isTaskRoot()) { Intent intent = getIntent(); if (intent != null) { String action = intent.getAction(); if (intent.hasCategory(Intent.CATEGORY_LAUNCHER) && Intent.ACTION_MAIN.equals(action)) { finish(); return; } } }
如以上代码不能解决,请在AndroidManifest.xml的第一个启动Activity中添加launchMode:
android:launchMode="standard"
此问题为部分手机有此现象。
the end!