安卓7.1上原生的Launcher2运行报错

我用安卓7.1代码里的Launcher2替代原来的Launcher后,开机无法启动桌面,强制停止,大神们帮忙看看是什么问题,感激不尽

01-01 00:02:31.297 E/AndroidRuntime( 7262): Process: com.android.launcher, PID: 7262
01-01 00:02:31.297 E/AndroidRuntime( 7262): DeadSystemException: The system died; earlier logs will point to the root cause
01-01 00:02:31.299 W/ActivityManager( 4362): Process com.android.launcher has crashed too many times: killing!
01-01 00:02:31.299 W/ActivityManager( 4362): Force finishing activity com.android.launcher/com.android.launcher2.Launcher
01-01 00:02:31.304 I/ActivityManager( 4362): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=com.android.launcher/com.android.launcher2.Launcher} from uid 0 on display 0
01-01 00:02:31.306 W/WindowManager( 4362): Failed looking up window
01-01 00:02:31.306 W/WindowManager( 4362): java.lang.IllegalArgumentException: Requested window android.view.ViewRootImpl$W@8d24662 does not exist
01-01 00:02:31.306 W/WindowManager( 4362): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9415)
01-01 00:02:31.306 W/WindowManager( 4362): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9406)
01-01 00:02:31.306 W/WindowManager( 4362): at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2387)
01-01 00:02:31.306 W/WindowManager( 4362): at com.android.server.wm.Session.remove(Session.java:193)
01-01 00:02:31.306 W/WindowManager( 4362): at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3290)
01-01 00:02:31.306 W/WindowManager( 4362): at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5917)
01-01 00:02:31.306 W/WindowManager( 4362): at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3626)
01-01 00:02:31.306 W/WindowManager( 4362): at android.os.Handler.dispatchMessage(Handler.java:102)
01-01 00:02:31.306 W/WindowManager( 4362): at android.os.Looper.loop(Looper.java:154)
01-01 00:02:31.306 W/WindowManager( 4362): at android.os.HandlerThread.run(HandlerThread.java:61)
01-01 00:02:31.306 W/WindowManager( 4362): at com.android.server.ServiceThread.run(ServiceThread.java:46)
01-01 00:02:31.309 I/ActivityManager( 4362): Killing 7262:com.android.launcher/1000 (adj 0): crash
01-01 00:02:31.309 D/ActivityManager( 4362): cleanUpApplicationRecord -- 7262
01-01 00:02:31.310 I/libprocessgroup( 4362): Killing pid 7281 in uid 1000 as part of process group 7262
01-01 00:02:31.325 I/ActivityManager( 4362): Start proc 7284:com.android.launcher/1000 for activity com.android.launcher/com.android.launcher2.Launcher
01-01 00:02:31.353 W/System ( 7284): ClassLoader referenced unknown path: /system/priv-app/Launcher2/lib/arm64
01-01 00:02:31.357 W/art ( 7284): JIT profile information will not be recorded: profile file does not exits.
01-01 00:02:31.366 W/ContextImpl( 7284): Failed to ensure /data/user_de/0/com.android.launcher/code_cache: mkdir failed: EACCES (Permission denied)
01-01 00:02:31.386 D/FrameBuffer( 4029): GLES, req offset: 1080
01-01 00:02:31.539 W/WallpaperManager( 7284): WallpaperService not running
01-01 00:02:31.539 E/AndroidRuntime( 7284): FATAL EXCEPTION: setWallpaperDimension
01-01 00:02:31.539 E/AndroidRuntime( 7284): Process: com.android.launcher, PID: 7284
01-01 00:02:31.539 E/AndroidRuntime( 7284): DeadSystemException: The system died; earlier logs will point to the root cause
01-01 00:02:31.541 W/ActivityManager( 4362): Force finishing activity com.android.launcher/com.android.launcher2.Launcher

查看全部
qq_34287470
zhaoyufei1223
2017/07/12 10:39
  • android
  • launcher
  • 点赞
  • 收藏
  • 回答
    私信

2个回复