在csdn上下载了launcher3源码,编译通过了,运行报错
“[2016-03-28 22:34:22 - ToggleWeightWatcher] Starting activity com.android.launcher3.ToggleWeightWatcher on device 9215ee4c
[2016-03-28 22:34:22 - ToggleWeightWatcher] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.android.launcher3/.ToggleWeightWatcher }
[2016-03-28 22:34:22 - ToggleWeightWatcher] ActivityManager: Error type 3
[2016-03-28 22:34:22 - ToggleWeightWatcher] ActivityManager: Error: Activity class {com.android.launcher3/com.android.launcher3.ToggleWeightWatcher} does not exist.”
[2016-03-28 22:34:22 - ToggleWeightWatcher] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.android.launcher3/.ToggleWeightWatcher }
[2016-03-28 22:34:22 - ToggleWeightWatcher] ActivityManager: Error type 3
[2016-03-28 22:34:22 - ToggleWeightWatcher] ActivityManager: Error: Activity class {com.android.launcher3/com.android.launcher3.ToggleWeightWatcher} does not exist.”
解决办法:删除了手机之前自带的launcher,再重新启动就好了。