Android7.1 启动到桌面显示 There’s an internal problem with your device. Contact your manufacturer

  • 参考:

    https://blog.csdn.net/qq_35003588/article/details/101169566
    https://blog.csdn.net/weixin_30412013/article/details/95646150

  • 解决 :

  • 注释这个文件里面的代码:

  • frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java

     1718                 /*
     1719                  * Fix by Frey_chen
     1720                  * delect system startup error. 20200331
     1721                     AlertDialog d = new BaseErrorDialog(mContext);
     1722                     d.getWindow().setType(WindowManager.LayoutParams.TYPE_      SYSTEM_ERROR);
     1723                     d.setCancelable(false);
     1724                     d.setTitle(mContext.getText(R.string.android_system_la      bel));
     1725                     d.setMessage(mContext.getText(R.string.system_error_ma      nufacturer));
     1726                     d.setButton(DialogInterface.BUTTON_POSITIVE, mContext.      getText(R.string.ok),
     1727                             obtainMessage(DISMISS_DIALOG_UI_MSG, d));
     1728                     d.show();
     1729                 */
    
  • 然后再重新编译。

posted @ 2020-03-31 16:38  陈富林  阅读(836)  评论(0编辑  收藏  举报