E Could not find class 'android.media.AudioAttributes$Builder', referenced from method com.android.launcher3.common.utils.AudioFocusManager.requestAudioFocus 2024-12-24 14:31:07.289 1041-1041 WindowManager pid-1041 E android.view.WindowLeaked: Activity com.android.launcher3.moudle.launcher.view.LauncherActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{418d6d48 V.E..... R.....I. 0,0-0,0} that was originally added here at android.view.ViewRootImpl.<init>(ViewRootImpl.java:349) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:248) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69) at android.app.Dialog.show(Dialog.java:286) at com.android.launcher3.common.dialog.AlertDialog$Builder.show(AlertDialog.kt:155) at com.android.launcher3.common.dialog.Loading.startDialPregress(Loading.kt:54) at com.android.launcher3.moudle.launcher.view.LauncherActivity$installTask.onPreExecute(LauncherActivity.java:663) at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:587) at android.os.AsyncTask.execute(AsyncTask.java:535) at com.android.launcher3.moudle.launcher.view.LauncherActivity.init(LauncherActivity.java:433) at com.android.launcher3.moudle.launcher.view.LauncherActivity.initData(LauncherActivity.java:269) at com.android.launcher3.common.base.BaseActivity.onCreate(BaseActivity.java:97) at com.android.launcher3.common.base.BaseMvpActivity.onCreate(BaseMvpActivity.java:21) at android.app.Activity.performCreate(Activity.java:5258) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1099) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2228) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2337) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1243) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5375) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:989) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805) at dalvik.system.NativeStart.main(Native Method) 2024-12-24 14:31:07.699 220-288 BufferQueue pid-220 E [com.android.launcher3/com.android.launcher3.moudle.launcher.view.LauncherActivity] connect: already connected (cur=1, req=1) 2024-12-24 14:31:07.739 220-288 BufferQueue pid-220 E [com.android.launcher3/com.android.launcher3.moudle.launcher.view.LauncherActivity] connect: already connected (cur=1, req=1) 2024-12-24 14:32:22.327 854-874 ActivityManager system_process E ANR in com.android.launcher3 PID: 1041 Reason: Broadcast of Intent { act=android.intent.action.SCREEN_ON flg=0x50000010 } Load: 2.02 / 1.02 / 0.39 CPU usage from 0ms to 5152ms later: 13% 854/system_server: 9.7% user + 3.6% kernel / faults: 4213 minor 101 major 0.4% 217/debuggerd: 0.2% user + 0.2% kernel / faults: 1819 minor 115 major 1.5% 945/com.android.phone: 0.5% user + 0.9% kernel / faults: 669 minor 28 major 1.3% 115/krtccd: 0% user + 1.3% kernel 1.1% 219/slog: 0% user + 1.1% kernel / faults: 34 minor 2 major 1.1% 245/adbd: 0.5% user + 0.5% kernel / faults: 2 minor 1.1% 1053/com.sohu.inputmethod.sogou: 0.9% user + 0.1% kernel / faults: 423 minor 307 major 0.5% 794/logcat: 0.1% user + 0.3% kernel / faults: 35 minor 5 major 0.5% 799/logcat: 0% user + 0.5% kernel / faults: 35 minor 5 major 0.1% 924/com.android.systemui: 0% user + 0% kernel / faults: 138 minor 79 major 0.3% 25/ksmd: 0.3% user + 0% kernel 0.3% 39/cfinteractive: 0.3% user + 0% kernel 0% 160/mmcqd/0: 0% user + 0% kernel 0% 1014/com.android.settings: 0% user + 0% kernel / faults: 283 minor 128 major 0% 1088/com.spreadst.validator: 0% user + 0% kernel / faults: 211 minor 79 major 0% 1094/com.longcos.paycenter.app: 0% user + 0% kernel / faults: 207 minor 50 major 0% 1108/com.longcos.wechatkids.authorize: 0% user + 0% kernel / faults: 207 minor 84 major 0% 3/ksoftirqd/0: 0% user + 0% kernel 0.1% 7/rcu_preempt: 0.1% user + 0% kernel 0.1% 158/kworker/u4:3: 0% user + 0.1% kernel 0% 220/surfaceflinger: 0% user + 0% kernel / faults: 22 minor 22 major 0.1% 1041/com.android.launcher3: 0% user + 0.1% kernel / faults: 86 minor 65 major 20% TOTAL: 9.4% user + 9.8% kernel + 0.8% iowait + 0.2% softirq CPU usage from 4615ms to 5132ms later: 3.8% 854/system_server: 0% user + 3.8% kernel / faults: 1 minor 3.8% 874/ActivityManager: 0% user + 3.8% kernel 1.9% TOTAL: 0.9% user + 0.9% kernel
标签:kernel,java,user,ANR,0%,android,com From: https://www.cnblogs.com/pengmn/p/18627419