You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running the application on an emulator in Android studio and I see the following. I have successfully ran it before, and I haven't changed any source code. Just restarted the emulator, and tried running this morning.
ANR in com.example.exercisecompose
PID: 4232
Reason: executing service com.example.exercisecompose/com.example.exercisesamplecompose.service.ForegroundService
Load: 0.96 / 1.11 / 0.63
----- Output from /proc/pressure/memory -----
some avg10=0.00 avg60=0.00 avg300=0.00 total=0
full avg10=0.00 avg60=0.00 avg300=0.00 total=0
----- End output from /proc/pressure/memory -----
CPU usage from 24616ms to 0ms ago (2023-03-02 12:58:51.036 to 2023-03-02 12:59:15.652):
3.9% 822/com.google.android.gms.persistent: 2.1% user + 1.7% kernel / faults: 5830 minor
3.3% 3713/adbd: 0.3% user + 3% kernel / faults: 1676 minor
2.9% 489/system_server: 1.5% user + 1.4% kernel / faults: 2840 minor
2.9% 2657/com.android.vending: 1.2% user + 1.6% kernel / faults: 5036 minor
1.7% 156/logd: 0.3% user + 1.4% kernel / faults: 4 minor
0.6% 236/[email protected]: 0.4% user + 0.2% kernel
0.5% 376/libgoldfish-rild: 0% user + 0.5% kernel
0.5% 1335/com.google.android.gms: 0.4% user + 0.1% kernel / faults: 1849 minor
0.5% 189/jbd2/dm-4-8: 0% user + 0.5% kernel
0.5% 459/kworker/u8:2-events_unbound: 0% user + 0.5% kernel
0.4% 7/kworker/u8:0-events_unbound: 0% user + 0.4% kernel
0.4% 245/[email protected]: 0.1% user + 0.2% kernel
0.4% 4147/kworker/u8:4-events_unbound: 0% user + 0.4% kernel
0.3% 10/rcu_preempt: 0% user + 0.3% kernel
0% 2202/com.android.vending:background: 0% user + 0% kernel / faults: 243 minor
0.2% 158/servicemanager: 0% user + 0.2% kernel
0.2% 658/com.google.android.wearable.sysui: 0.1% user + 0% kernel / faults: 94 minor
0.2% 224/statsd: 0.1% user + 0% kernel / faults: 64 minor
0.2% 258/[email protected]: 0% user + 0.2% kernel
0.1% 1/init: 0% user + 0.1% kernel / faults: 31 minor
0.1% 295/logcat: 0% user + 0.1% kernel
0.1% 4156/logcat: 0% user + 0.1% kernel
0.1% 157/lmkd: 0% user + 0.1% kernel
0.1% 279/surfaceflinger: 0% user + 0% kernel
0.1% 333/logcat: 0% user + 0% kernel
0.1% 1377/com.google.android.wearable.app: 0% user + 0% kernel / faults: 23 minor
0.1% 2471/com.google.android.gms.unstable: 0% user + 0% kernel / faults: 380 minor
0.1% 3744/logcat: 0% user + 0% kernel
0% 16/ksoftirqd/1: 0% user + 0% kernel
0% 147/kworker/1:1H-kblockd: 0% user + 0% kernel
0% 262/[email protected]: 0% user + 0% kernel
0% 1351/com.google.android.wearable.healthservices: 0% user + 0% kernel / faults: 3 minor
0% 1476/com.google.process.gservices: 0% user + 0% kernel / faults: 211 minor
0% 3749/logcat: 0% user + 0% kernel
0% 9/ksoftirqd/0: 0% user + 0% kernel
0% 12/kworker/0:1-rcu_gp: 0% user + 0% kernel
0% 21/ksoftirqd/2: 0% user + 0% kernel
0% 128/kworker/0:1H-kblockd: 0% user + 0% kernel
0% 142/kworker/3:1H-kblockd: 0% user + 0% kernel
0% 169/vold: 0% user + 0% kernel
0% 194/[email protected]: 0% user + 0% kernel
0% 209/kworker/1:3-ipv6_addrconf: 0% user + 0% kernel
0% 225/netd: 0% user + 0% kernel
0% 634/com.android.bluetooth: 0% user + 0% kernel
0% 764/[email protected]: 0% user + 0% kernel
0% 796/androidx.wear.watchface.samples.app: 0% user + 0% kernel / faults: 21 minor
0% 1602/com.google.process.gapps: 0% user + 0% kernel / faults: 15 minor
0% 3795/com.google.android.contacts: 0% user + 0% kernel / faults: 7 minor
5.1% TOTAL: 1.6% user + 2.1% kernel + 0% iowait + 1.1% irq + 0.2% softirq
CPU usage from 11ms to 325ms later (2023-03-02 12:59:15.663 to 2023-03-02 12:59:15.977):
42% 489/system_server: 25% user + 17% kernel / faults: 387 minor
25% 4440/AnrConsumer: 10% user + 14% kernel
17% 499/HeapTaskDaemon: 10% user + 7.1% kernel
4.6% 3744/logcat: 0% user + 4.6% kernel
14% TOTAL: 8.1% user + 4.8% kernel + 1.6% irq
The text was updated successfully, but these errors were encountered:
health-samples/health-services/ExerciseSampleCompose/app/src/main/java/com/example/exercisesamplecompose/service/ExerciseService.kt
Line 59 in 03dee70
Hi,
I tried running the application on an emulator in Android studio and I see the following. I have successfully ran it before, and I haven't changed any source code. Just restarted the emulator, and tried running this morning.
The text was updated successfully, but these errors were encountered: