Emulator Error: System Process and Launcher UI Stopped - android

I get this error for system_process(351) from logcat, when ever I start Emulator on my Ubuntu x64 14.04 LTS
05-30 03:23:23.789 351-351/system_process E/PowerManagerService-JNI﹕ Couldn't load power module (No such file or directory)
05-30 03:23:37.213 351-351/system_process E/ConsumerIrService﹕ Can't open consumer IR HW Module, error: -2
05-30 03:23:38.002 351-441/system_process E/EventHub﹕ could not get driver version for /dev/input/mouse0, Not a typewriter
05-30 03:23:38.078 351-441/system_process E/EventHub﹕ could not get driver version for /dev/input/mice, Not a typewriter
05-30 03:23:40.988 351-351/system_process E/WifiConfigStore﹕ associatedPartialScanPeriodMilli set to 20000
05-30 03:23:43.360 351-351/system_process E/Fingerprint-JNI﹕ Can't open fingerprint HW Module, error: -2
05-30 03:23:43.781 351-351/system_process E/SQLiteLog﹕ (283) recovered 16 frames from WAL file /data/system/locksettings.db-wal
05-30 03:23:43.910 351-351/system_process E/LockSettingsStorage﹕ Cannot read file java.io.FileNotFoundException: /data/system/password.key: open failed: ENOENT (No such file or directory)
05-30 03:23:43.912 351-351/system_process E/LockSettingsStorage﹕ Cannot read file java.io.FileNotFoundException: /data/system/gesture.key: open failed: ENOENT (No such file or directory)
05-30 03:23:48.754 351-446/system_process E/VoldConnector﹕ NDC Command {5 volume mount /storage/sdcard} took too long (2797ms)
05-30 03:23:54.719 351-351/system_process E/NetdConnector﹕ NDC Command {1 bandwidth enable} took too long (8830ms)
05-30 03:23:56.556 351-351/system_process E/NetdConnector﹕ NDC Command {2 firewall disable} took too long (1725ms)
05-30 03:23:57.850 351-351/system_process E/NetdConnector﹕ NDC Command {4 bandwidth setglobalalert 2097152} took too long (1127ms)
05-30 03:23:58.419 351-471/system_process E/BluetoothAdapter﹕ Bluetooth binder is null
05-30 03:23:58.422 351-471/system_process E/BluetoothAdapter﹕ Bluetooth binder is null
05-30 03:23:58.619 351-351/system_process E/InputMethodManagerService﹕ Ignoring setImeWindowStatus due to an invalid token. uid:1000 token:null
05-30 03:23:59.404 351-351/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
05-30 03:23:59.414 351-351/system_process E/GpsLocationProvider﹕ no GPS configuration interface in configuraiton_update
05-30 03:24:00.971 351-351/system_process E/LocationManagerService﹕ no geocoder provider found
05-30 03:24:00.972 351-351/system_process E/FlpHardwareProvider﹕ Error hw_get_module 'flp': -2
05-30 03:24:00.972 351-351/system_process E/LocationManagerService﹕ FLP HAL not supported
05-30 03:24:01.098 351-351/system_process E/LocationManagerService﹕ Unable to bind FLP Geofence proxy.
05-30 03:24:01.099 351-351/system_process E/ActivityRecognitionHardware﹕ Error hw_get_module: -2
05-30 03:24:01.100 351-351/system_process E/LocationManagerService﹕ Hardware Activity-Recognition not supported.
05-30 03:24:06.516 351-351/system_process E/BluetoothAdapter﹕ Bluetooth binder is null
05-30 03:24:06.970 351-351/system_process E/BluetoothAdapter﹕ Bluetooth binder is null
05-30 03:24:15.846 351-463/system_process E/ConnectivityService﹕ Failed to find Messenger in unregisterNetworkFactory
05-30 03:24:34.061 351-373/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
05-30 03:24:36.634 351-374/system_process E/ActivityManager﹕ ANR in com.android.systemui
PID: 512
Reason: Broadcast of Intent { act=android.intent.action.TIME_TICK flg=0x50000014 (has extras) }
Load: 8.32 / 2.56 / 0.9
CPU usage from 4973ms to -18546ms ago:
26% 351/system_server: 16% user + 9.8% kernel / faults: 8830 minor 2 major
14% 54/surfaceflinger: 7.9% user + 6.9% kernel / faults: 11 minor
11% 774/com.android.launcher: 9.4% user + 2.3% kernel / faults: 10923 minor 6 major
8.8% 751/zygote: 5.6% user + 3.2% kernel / faults: 6687 minor 8 major
7.7% 512/com.android.systemui: 5.4% user + 2.2% kernel / faults: 4516 minor 1 major
1.1% 62/debuggerd: 0.3% user + 0.8% kernel / faults: 2491 minor
2.9% 60/adbd: 0.5% user + 2.3% kernel / faults: 1314 minor
2.7% 100/bootanimation: 1.1% user + 1.6% kernel
1.9% 710/com.android.inputmethod.latin: 1.4% user + 0.4% kernel / faults: 1510 minor
1.2% 26/mtdblock1: 0% user + 1.2% kernel
1.2% 803/android.process.acore: 0.9% user + 0.2% kernel / faults: 601 minor
1.1% 49/logd: 0.4% user + 0.6% kernel / faults: 27 minor
0.6% 631/android.process.media: 0.4% user + 0.1% kernel / faults: 1064 minor 6 major
0.5% 52/servicemanager: 0.2% user + 0.2% kernel
0.3% 65/mediaserver: 0.2% user + 0.1% kernel / faults: 10 minor
0.3% 221/logcat: 0.1% user + 0.2% kernel
0.1% 63/rild: 0.1% user + 0% kernel / faults: 4 minor
0.1% 94/kworker/0:2: 0% user + 0.1% kernel
0% 25/mtdblock0: 0% user + 0% kernel
0% 41/jbd2/mtdblock1-: 0% user + 0% kernel
+0% 964/sh: 0% user + 0% kernel
100% TOTAL: 62% user + 36% kernel + 0.5% softirq
CPU usage from 16102ms to 17141ms later:
20% 774/com.android.launcher: 18% user + 1.6% kernel / faults: 1749 minor
13% 774/ndroid.launcher: 12% user + 1.1% kernel
4.4% 788/GCDaemon: 4.4% user + 0% kernel
1.1% 937/RenderThread: 0.5% user + 0.5% kernel
0.5% 787/HeapTrimmerDaem: 0.5% user + 0% kernel
16% 351/system_server: 14% user + 1.6% kernel / faults: 9 minor
4.1% 374/ActivityManager: 2.4% user + 1.6% kernel
3.3% 358/JDWP: 3.3% user + 0% kernel
3.3% 360/FinalizerDaemon: 3.3% user + 0% kernel
2.4% 537/Binder_4: 1.6% user + 0.8% kernel
1.6% 736/Binder_6: 0.8% user + 0.8% kernel
0.8% 373/android.bg: 0.8% user + 0% kernel
0.8% 625/Binder_5: 0.8% user + 0% kernel
0.8% 839/Binder_7: 0.8% user + 0% kernel
16% 54/surfaceflinger: 6.9% user + 9.5% kernel
3.4% 54/surfaceflinger: 1.7% user + 1.7% kernel
3.4% 92/VSyncThread: 0.8% user + 2.6% kernel
2.6% 85/Binder_1: 0.8% user + 1.7% kernel
1.7% 97/surfaceflinger: 0.8% user + 0.8% kernel
1.7% 479/Binder_4: 1.7% user + 0% kernel
0.8% 86/DispSync: 0.8% user + 0% kernel
0.8% 90/Binder_2: 0.8% user + 0% kernel
0.8% 96/EventThread: 0% user + 0.8% kernel
0.8% 117/Binder_3: 0% user + 0.8% kernel
4.5% 751/com.android.phone: 2.2% user + 2.2% kernel / faults: 21 minor
4.5% 751/m.android.phone: 2.2% user + 2.2% kernel
3.9% 512/com.android.systemui: 2.8% user + 1.1% kernel / faults: 635 minor
2.8% 512/ndroid.systemui: 2.8% user + 0% kernel
+0% 955/AsyncTask #1: 0% user + 0% kernel
+0% 960/RenderThread: 0% user + 0% kernel
5.2% 60/adbd: 0.8% user + 4.3% kernel / faults: 74 minor
2.6% 200/adbd: 0.8% user + 1.7% kernel
1.7% 60/adbd: 0% user + 1.7% kernel
2.7% 631/android.process.media: 1.6% user + 1.1% kernel / faults: 244 minor
2.7% 631/d.process.media: 1.6% user + 1.1% kernel
2.8% 49/logd: 2.8% user + 0% kernel
2.8% 226/logd.reader.per: 2.8% user + 0% kernel
2.6% 100/bootanimation: 0% user + 2.6% kernel
2.6% 112/BootAnimation: 0% user + 2.6% kernel
1.6% 803/android.process.acore: 1.6% user + 0% kernel / faults: 8 minor
1.1% 844/ContactsProvide: 1.1% user + 0% kernel
0.5% 858/Binder_3: 0.5% user + 0% kernel
1.1% 710/com.android.inputmethod.latin: 1.1% user + 0% kernel / faults: 35 minor
1.1% 846/erunigram.en_US: 1.1% user + 0% kernel
100% TOTAL: 79% user + 20% kernel
05-30 03:24:36.986 351-374/system_process E/libprocessgroup﹕ failed to kill 1 processes for processgroup 512
05-30 03:24:40.696 351-463/system_process E/ConnectivityService﹕ RemoteException caught trying to send a callback msg for NetworkRequest [ id=2, legacyType=-1, [] ]
05-30 03:24:40.896 351-365/system_process E/libprocessgroup﹕ failed to kill 1 processes for processgroup 512
05-30 03:24:48.669 351-351/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
05-30 03:24:48.782 351-351/system_process E/GpsLocationProvider﹕ no GPS configuration interface in configuraiton_update
05-30 03:24:49.229 351-351/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
05-30 03:24:49.253 351-351/system_process E/GpsLocationProvider﹕ no GPS configuration interface in configuraiton_update
05-30 03:25:01.752 351-351/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
05-30 03:25:01.754 351-351/system_process E/GpsLocationProvider﹕ no GPS configuration interface in configuraiton_update
05-30 03:25:01.986 351-463/system_process E/NetdConnector﹕ NDC Command {18 idletimer add eth0 5 0} took too long (942ms)
05-30 03:25:05.967 351-374/system_process E/libprocessgroup﹕ failed to kill 1 processes for processgroup 631
05-30 03:25:10.162 351-455/system_process E/NetdConnector﹕ NDC Command {20 bandwidth setiquota eth0 9223372036854775807} took too long (3399ms)
05-30 03:25:13.027 351-373/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
05-30 03:25:13.029 351-373/system_process E/GpsLocationProvider﹕ no GPS configuration interface in configuraiton_update
05-30 03:25:13.035 351-373/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
05-30 03:25:13.037 351-373/system_process E/GpsLocationProvider﹕ no GPS configuration interface in configuraiton_update
05-30 03:25:13.064 351-373/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
05-30 03:25:13.066 351-373/system_process E/GpsLocationProvider﹕ no GPS configuration interface in configuraiton_update
05-30 03:25:13.077 351-373/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
05-30 03:25:13.131 351-373/system_process E/GpsLocationProvider﹕ no GPS configuration interface in configuraiton_update
And also from com.android.systemui
05-30 03:25:02.692 992-992/com.android.systemui E/BluetoothAdapter﹕ Bluetooth binder is null
05-30 03:25:03.740 992-992/com.android.systemui E/BluetoothAdapter﹕ Bluetooth binder is null
According to my research on this problem, I centre it to issues with the sensor manager regarding the bluetooth emulation.
I have tired the solutions of editing the config file or wiping the user data.

Related

ANR in Android (Input dispatching timed out) (server) is not responding

ANR in Android (Input dispatching timed out) (server) is not responding. Waited 5003ms for FocusEvent(hasFocus=true))
i'm not using network connections.
sometimes, occur this ANR. not every time.
i did search about this ANR. but i can not find same reasons..
i want know to what cases does this happen?
i don't have any idea about this ANR.
i can not guess anyone.... why happened?
why occured this ANR?
somebody help me, please...
E/ActivityManager: ANR in com.myapp.profindertest.debug (com.myapp.profindertest.debug/com.myapp.profindertest.HomeActivity)
PID: 29952
Reason: Input dispatching timed out (2339a79 com.myapp.profindertest.debug/com.myapp.profindertest.HomeActivity (server) is not responding. Waited 5003ms for FocusEvent(hasFocus=true))
Parent: com.myapp.profindertest.debug/com.myapp.profindertest.HomeActivity
Load: 5.32 / 5.66 / 5.68
----- Output from /proc/pressure/memory -----
some avg10=0.00 avg60=0.01 avg300=0.00 total=9675698
full avg10=0.00 avg60=0.00 avg300=0.00 total=1563915
----- End output from /proc/pressure/memory -----
CPU usage from 0ms to 7732ms later (2021-09-15 18:57:28.432 to 2021-09-15 18:57:36.165):
41% 29952/com.myapp.profindertest.debug: 33% user + 7.6% kernel / faults: 25810 minor
35% 2013/com.kt.tvcore.core: 21% user + 14% kernel / faults: 21391 minor
23% 693/system_server: 13% user + 10% kernel / faults: 10493 minor
16% 4044/com.kt.gigagenie.voicerecognition: 13% user + 3.2% kernel / faults: 3038 minor
6.9% 305/ktplayerd: 1.4% user + 5.5% kernel / faults: 338 minor
5.6% 217/logd: 1.9% user + 3.7% kernel / faults: 9 minor
5.3% 551/adbd: 1.8% user + 3.4% kernel / faults: 620 minor
4.9% 319/android.hardware.audio.service-droidlogic: 2.9% user + 1.9% kernel / faults: 156 minor
4.9% 850/com.android.systemui: 3.6% user + 1.2% kernel / faults: 4250 minor
4.2% 10912/com.google.android.gms.persistent: 3.3% user + 0.9% kernel / faults: 3391 minor
0.6% 538/media.swcodec: 0.3% user + 0.2% kernel / faults: 7843 minor
3.7% 1661/com.kt.tvcore.systemapp: 3.1% user + 0.6% kernel / faults: 1038 minor
3.6% 356/surfaceflinger: 1.6% user + 1.9% kernel / faults: 376 minor
3.4% 12267/com.google.android.gms: 2.4% user + 1% kernel / faults: 2640 minor
3.2% 322/android.hardware.cas#1.2-service: 0.9% user + 2.3% kernel
2.9% 348/genieaudio-service: 1.1% user + 1.8% kernel
0.4% 537/media.codec: 0.2% user + 0.1% kernel / faults: 5486 minor
0.3% 945/org.dtvkit.inputsource: 0.2% user + 0% kernel / faults: 1342 minor
1.9% 207/ueventd: 1.9% user + 0% kernel
1.9% 2462/libAltiBrowser.so: 1.2% user + 0.6% kernel / faults: 219 minor
1.8% 874/com.droidlogic: 1.2% user + 0.5% kernel / faults: 1129 minor
1.6% 234/vdec-core: 0% user + 1.6% kernel
0.2% 520/media.extractor: 0.1% user + 0% kernel / faults: 2895 minor
1.5% 333/android.hardware.graphics.composer#2.4-service.droidlogic: 0.6% user + 0.9% kernel
1.5% 1728/com.ktpns.pa: 1.2% user + 0.2% kernel / faults: 931 minor
1.5% 3961/logcat: 0.5% user + 1% kernel
0.2% 992/com.android.se: 0.1% user + 0% kernel / faults: 874 minor
1.1% 9/ksoftirqd/0: 0% user + 1.1% kernel
0.1% 1698/com.kt.tvcore.customizer: 0.1% user + 0% kernel / faults: 872 minor
1% 162/crtc_commit: 0% user + 1% kernel
0.9% 28197/kworker/u8:4-events_unbound: 0% user + 0.9% kernel / faults: 11 minor
0.7% 362/dtvkitserver: 0.2% user + 0.5% kernel
0.7% 13214/com.kt.androidtv: 0.5% user + 0.2% kernel / faults: 122 minor
0.7% 24924/kworker/u8:2-adb: 0% user + 0.7% kernel / faults: 24 minor
0.6% 366/tvserver: 0.1% user + 0.5% kernel
0.5% 1446/sugov:0: 0% user + 0.5% kernel
0.5% 29414/kworker/1:1-events_freezable: 0% user + 0.5% kernel
0.3% 828/com.android.bluetooth: 0% user + 0.3% kernel / faults: 128 minor
0.2% 10/rcu_preempt: 0% user + 0.2% kernel
0.2% 16/ksoftirqd/1: 0% user + 0.2% kernel
0.2% 136/aml-ditest-0: 0% user + 0.2% kernel
0% 302/tombstoned: 0% user + 0% kernel
0.2% 304/es_out_task: 0% user + 0.2% kernel
0.2% 310/statsd: 0.1% user + 0.1% kernel / faults: 136 minor
0.2% 311/netd: 0.1% user + 0.1% kernel / faults: 52 minor
0.2% 447/irq/23-fe330000: 0% user + 0.2% kernel
0.2% 1569/com.android.providers.tv: 0.2% user + 0% kernel / faults: 38 minor
0.2% 26658/kworker/u9:1-mali_jd: 0% user + 0.2% kernel
0% 28324/kworker/u9:2-kbase_pm_poweroff_wait: 0% user + 0% kernel
0% 1/init: 0% user + 0% kernel
0.1% 21/ksoftirqd/2: 0% user + 0.1% kernel
0.1% 26/ksoftirqd/3: 0% user + 0.1% kernel
E/ActivityManager: 0.1% 280/jbd2/dm-11-8: 0% user + 0.1% kernel
0.1% 303/ts_out_task: 0% user + 0.1% kernel
0.1% 332/android.hardware.graphics.allocator#4.0-service: 0% user + 0.1% kernel / faults: 1 minor
0.1% 353/audioserver: 0% user + 0.1% kernel / faults: 55 minor
0.1% 2402/transport: 0.1% user + 0% kernel
0.1% 3768/com.kt.tvcore.sode: 0.1% user + 0% kernel
0.1% 4350/irq/19-fe330000: 0% user + 0.1% kernel
0.1% 28607/kworker/0:3-events: 0% user + 0.1% kernel
+0% 30008/kworker/1:2H: 0% user + 0% kernel
+0% 30070/logcat: 0% user + 0% kernel
+0% 30077/logcat: 0% user + 0% kernel
62% TOTAL: 35% user + 20% kernel + 0.1% iowait + 2.4% irq + 3.9% softirq
CPU usage from 36ms to 520ms later (2021-09-15 18:57:28.469 to 2021-09-15 18:57:28.953):
53% 693/system_server: 20% user + 33% kernel / faults: 450 minor
45% 29999/AnrConsumer: 15% user + 30% kernel
2.5% 1395/IpClient.eth0: 2.5% user + 0% kernel
55% 2013/com.kt.tvcore.core: 32% user + 23% kernel / faults: 37 minor
23% 4802/Binder:2013_9: 14% user + 8.7% kernel
20% 5400/Binder:2013_D: 11% user + 8.7% kernel
2.9% 2378/.kt.tvcore.core: 2.9% user + 0% kernel
2.9% 4537/Thread-114: 2.9% user + 0% kernel
2.9% 5403/Binder:2013_10: 2.9% user + 0% kernel
42% 29952/com.myapp.profindertest.debug: 23% user + 19% kernel / faults: 49 minor
42% 29952/v.otshome.debug: 23% user + 19% kernel
19% 10912/com.google.android.gms.persistent: 16% user + 3.2% kernel / faults: 1052 minor
16% 10927/HeapTaskDaemon: 12% user + 3.2% kernel
15% 4044/com.kt.gigagenie.voicerecognition: 12% user + 3.1% kernel / faults: 53 minor
12% 4349/Thread-39: 12% user + 0% kernel
16% 12267/com.google.android.gms: 13% user + 3.3% kernel / faults: 851 minor
19% 12281/HeapTaskDaemon: 16% user + 3.3% kernel
6.9% 319/android.hardware.audio.service-droidlogic: 4.6% user + 2.3% kernel / faults: 4 minor
2.3% 29868/audio_output_pa: 0% user + 2.3% kernel
7.6% 551/adbd: 2.5% user + 5% kernel
5% 551/adbd: 2.5% user + 2.5% kernel
2.5% 605/UsbFfs-worker: 0% user + 2.5% kernel
4.4% 217/logd: 0% user + 4.4% kernel
2.2% 226/logd.writer: 2.2% user + 0% kernel
2.2% 3966/logd.reader.per: 0% user + 2.2% kernel
4.5% 305/ktplayerd: 0% user + 4.5% kernel / faults: 20 minor
2.2% 16407/HwBinder:305_3: 0% user + 2.2% kernel
2% 16/ksoftirqd/1: 0% user + 2% kernel
2% 21/ksoftirqd/2: 0% user + 2% kernel
2.2% 234/vdec-core: 0% user + 2.2% kernel
2.3% 322/android.hardware.cas#1.2-service: 0% user + 2.3% kernel
2.3% 3246/HwBinder:322_1: 0% user + 2.3% kernel
2.4% 348/genieaudio-service: 0% user + 2.4% kernel
2.4% 348/genieaudio-serv: 0% user + 2.4% kernel
2.4% 4352/genieaudio-serv: 0% user + 2.4% kernel
2.4% 362/dtvkitserver: 0% user + 2.4% kernel
2.4% 476/dmx_data_thread: 0% user + 2.4% kernel
2.4% 366/tvserver: 2.4% user + 0% kernel
2.7% 1446/sugov:0: 0% user + 2.7% kernel
3.1% 3961/logcat: 3.1% user + 0% kernel
3.5% 24924/kworker/u8:2-adb: 0% user + 3.5% kernel
62% TOTAL: 30% user + 26% kernel + 2.1% irq + 4.3% softirq

Android Emulator not working ANR in com.google.android.gms

I have been testing all of my apps using a physical device so far because when I first started programming, I could not get the emulator to work. But now, I decided that it would be extremely beneficial for my work to get the emulator to work. I am using a basic hello world app in this post to eliminate any possibility of it being a result of error in my code. If someone could supply a fix to my issues that would be very much appreciated!
Here is the error message which is repeatedly outputted to Logcat:
2018-11-18 20:49:34.238 1409-1436/system_process E/ActivityManager:
ANR in com.google.android.gms
PID: 5881
Reason: executing service com.google.android.gms/.stats.service.DropBoxEntryAddedService
Load: 0.0 / 0.0 / 0.0
CPU usage from 48963ms to 0ms ago (2018-11-18 20:48:43.912 to 2018-11-18 20:49:32.876):
23% 1409/system_server: 12% user + 10% kernel / faults: 174 minor
8.8% 2630/com.google.process.gapps: 5.5% user + 3.3% kernel / faults: 503 minor
7.6% 905/adbd: 0.9% user + 6.7% kernel / faults: 273 minor
3.3% 3/ksoftirqd/0: 0% user + 3.3% kernel
3.2% 8/rcu_preempt: 0% user + 3.2% kernel
2.7% 5202/com.google.android.gms.persistent: 2.3% user + 0.3% kernel / faults: 195 minor
2.4% 2588/android.process.acore: 2.1% user + 0.2% kernel / faults: 33 minor
1.4% 5550/logcat: 0.4% user + 1% kernel
1.4% 2655/kworker/u2:0: 0% user + 1.4% kernel
1.4% 4157/kworker/u2:3: 0% user + 1.4% kernel
1% 866/logd: 0.2% user + 0.8% kernel / faults: 1 minor
1% 3425/com.android.systemui: 0.7% user + 0.2% kernel / faults: 14 minor
0.5% 3171/com.android.phone: 0.3% user + 0.2% kernel / faults: 7 minor
0.4% 5735/kworker/0:1: 0% user + 0.4% kernel
0.3% 904/surfaceflinger: 0.2% user + 0.1% kernel
0.3% 906/zygote64: 0.1% user + 0.1% kernel / faults: 160 minor
0.2% 1973/wpa_supplicant: 0% user + 0.2% kernel
0.2% 903/servicemanager: 0.1% user + 0% kernel
0.1% 843/jbd2/vdc-8: 0% user + 0.1% kernel
0% 911/installd: 0% user + 0% kernel / faults: 7 minor
0% 923/rild: 0% user + 0% kernel
0% 720/kworker/0:1H: 0% user + 0% kernel
0% 1102/hostapd: 0% user + 0% kernel
0% 902/lmkd: 0% user + 0% kernel
0% 4726/com.google.android.youtube: 0% user + 0% kernel
0% 928/fingerprintd: 0% user + 0% kernel
+0% 5881/com.google.android.gms: 0% user + 0% kernel
+0% 5895/dex2oat: 0% user + 0% kernel
100% TOTAL: 63% user + 35% kernel + 0.8% softirq
CPU usage from 4359216ms to 4359216ms ago (1970-01-01 01:00:00.000 to 1970-01-01 01:00:00.000) with 0% awake:
0% TOTAL: 0% user + 0% kernel
Edit
Upon closing the emulator & opening it again. I am getting very similar messages, but for different things.
e.g
1970-01-01 01:25:07.476 2750-2768/? E/ActivityThread: Failed to find provider info for com.google.android.voicesearch
1970-01-01 01:26:25.738 1409-1438/? E/libprocessgroup: failed to kill 1 processes for processgroup 2326
1970-01-01 01:26:34.089 1409-1436/? E/ActivityManager: ANR in com.android.launcher3:wallpaper_chooser
PID: 2920
Reason: executing service com.android.launcher3/.dynamicui.ColorExtractionService
Load: 0.0 / 0.0 / 0.0
CPU usage from 24202ms to 0ms ago (1970-01-01 01:26:03.716 to 1970-01-01 01:26:27.918):
43% 2794/zygote64: 39% user + 4.6% kernel / faults: 1630 minor 19 major
21% 1409/system_server: 14% user + 7.1% kernel / faults: 776 minor
3.9% 2920/com.android.launcher3:wallpaper_chooser: 1.3% user + 2.6% kernel / faults: 3392 minor
2.1% 905/adbd: 0.2% user + 1.9% kernel / faults: 176 minor
1.6% 8/rcu_preempt: 0% user + 1.6% kernel
1.4% 906/zygote64: 0.2% user + 1.1% kernel / faults: 320 minor
1.2% 868/debuggerd64: 0.2% user + 0.9% kernel / faults: 30 minor
0.7% 2630/com.google.process.gapps: 0.4% user + 0.2% kernel / faults: 12 minor
0.7% 2588/android.process.acore: 0.3% user + 0.3% kernel / faults: 58 minor
0.6% 2701/com.google.android.setupwizard: 0.1% user + 0.4% kernel / faults: 301 minor 1 major
0.4% 866/logd: 0.2% user + 0.2% kernel / faults: 10 minor
0.3% 843/jbd2/vdc-8: 0% user + 0.3% kernel
0.3% 867/debuggerd: 0% user + 0.3% kernel / faults: 92 minor
0.3% 238/kworker/0:1: 0% user + 0.3% kernel
0.2% 720/kworker/0:1H: 0% user + 0.2% kernel
0.2% 3/ksoftirqd/0: 0% user + 0.2% kernel
0% 2060/logcat: 0% user + 0% kernel
0.2% 2684/com.android.systemui: 0% user + 0.2% kernel
0.1% 746/kworker/u2:2: 0% user + 0.1% kernel
0% 2525/com.google.android.googlequicksearchbox:interactor: 0% user + 0% kernel / faults: 83 minor 1 major
0% 1980/com.android.inputmethod.latin: 0% user + 0% kernel
0% 910/drmserver: 0% user + 0% kernel / faults: 7 minor
0% 913/media.codec: 0% user + 0% kernel
0% 915/mediadrmserver: 0% user + 0% kernel / faults: 7 minor
0% 919/mediaserver: 0% user + 0% kernel
0% 1102/hostapd: 0% user + 0% kernel
0% 1973/wpa_supplicant: 0% user + 0% kernel
0% 2444/com.android.settings: 0% user + 0% kernel / faults: 9 minor
+0% 2944/cmd: 0% user + 0% kernel
+0% 2955/com.google.android.deskclock: 0% user + 0% kernel
+0% 2970/com.android.phone: 0% user + 0% kernel
100% TOTAL: 64% user + 35% kernel + 0.2% softirq
CPU usage from 1587917ms to 1587917ms ago (1970-01-01 01:00:00.000 to 1970-01-01 01:00:00.000) with 0% awake:
0% TOTAL: 0% user + 0% kernel
2018-11-18 19:53:48.371 1409-1439/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2018-11-18 19:53:48.389 1409-1439/? E/KernelUidCpuTimeReader: Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
Thanks a lot in advance!
-Pi Net

Android things: How can I fix Doorbell example

Recently, I've got raspberry pi 3 and I'm trying to run android things doorbell project. I build it in Android studio 3.0 and i did everything that explained in android things doorbell project. but when i build the app to raspberry pi, it doesn't work. When I try debugging, it terminates after few time passes(i didn't touch everything).
This is the system process debugging log. what do i have to do?
08-16 08:03:13.434 412-426/system_process W/ActivityManager: Launch timeout has expired, giving up wake lock!
08-16 08:03:28.361 412-426/system_process W/ActivityManager: Timeout executing service: ServiceRecord{c4f101b u0 com.example.androidthings.doorbell/com.google.android.gms.measurement.AppMeasurementService}
--------- beginning of main
08-16 08:03:28.397 412-426/system_process I/Process: Sending signal. PID: 6135 SIG: 3
08-16 08:03:28.407 412-426/system_process I/Process: Sending signal. PID: 412 SIG: 3
08-16 08:03:28.407 412-417/system_process I/art: Thread[2,tid=417,WaitingInMainSignalCatcherLoop,Thread*=0xa9b0d000,peer=0x12c010d0,"Signal Catcher"]: reacting to signal 3
08-16 08:03:29.011 412-417/system_process I/art: Wrote stack traces to '/data/anr/traces.txt'
08-16 08:03:29.011 412-426/system_process I/Process: Sending signal. PID: 537 SIG: 3
08-16 08:03:29.903 412-426/system_process W/ProcessCpuTracker: Skipping unknown process pid 6351
08-16 08:03:30.473 412-426/system_process E/ActivityManager: ANR in com.example.androidthings.doorbell
PID: 6135
Reason: executing service com.example.androidthings.doorbell/com.google.android.gms.measurement.AppMeasurementService
Load: 0.63 / 0.31 / 0.32
CPU usage from 557691ms to 0ms ago (2017-08-16 07:54:10.671 to 2017-08-16 08:03:28.362):
3.4% 412/system_server: 2.5% user + 0.9% kernel / faults: 2730 minor
2.4% 152/adbd: 0.2% user + 2.1% kernel / faults: 44173 minor
1.1% 1213/perfd: 0.6% user + 0.4% kernel / faults: 186 minor
0.5% 6014/kworker/u8:1: 0% user + 0.5% kernel
0.5% 101/irq/92-mmc1: 0% user + 0.5% kernel
0.4% 6035/kworker/u8:2: 0% user + 0.4% kernel
0.3% 6024/kworker/u8:0: 0% user + 0.3% kernel
0.3% 652/com.google.android.gms.persistent: 0.3% user + 0% kernel / faults: 1669 minor
0.3% 150/surfaceflinger: 0.2% user + 0% kernel / faults: 1514 minor
0% 107/brcmf_wdog/mmc1: 0% user + 0% kernel
0% 520/wpa_supplicant: 0% user + 0% kernel
0% 7/rcu_preempt: 0% user + 0% kernel
0% 840/com.google.android.gms: 0% user + 0% kernel / faults: 88 minor
0% 3/ksoftirqd/0: 0% user + 0% kernel
0% 20/ksoftirqd/3: 0% user + 0% kernel
0% 8/rcu_sched: 0% user + 0% kernel
0% 127/logd: 0% user + 0% kernel / faults: 14 minor
0% 169/metrics_collector: 0% user + 0% kernel / faults: 19 minor
0% 620/com.android.iotlauncher: 0% user + 0% kernel / faults: 20 minor
0% 104/mmcqd/0: 0% user + 0% kernel
0% 149/servicemanager: 0% user + 0% kernel
0% 170/metricsd: 0% user + 0% kernel
0% 756/com.google.process.gapps: 0% user + 0% kernel / faults: 19 minor
0% 16/ksoftirqd/2: 0% user + 0% kernel
0% 148/lmkd: 0% user + 0% kernel
0% 5353/kworker/0:0: 0% user + 0% kernel
0% 12/ksoftirqd/1: 0% user + 0% kernel
0% 66/kworker/2:1: 0% user + 0% kernel
0% 121/jbd2/mmcblk0p15: 0% user + 0% kernel
0% 153/zygote: 0% user + 0% kernel / faults: 141 minor
0% 10/migration/0: 0% user + 0% kernel
0% 19/migration/3: 0% user + 0% kernel
0% 163/netd: 0% user + 0% kernel / faults: 40 minor
0% 166/sh: 0% user + 0% kernel / faults: 102 minor
0% 172/update_engine: 0% user + 0% kernel
0% 5981/kworker/1:2: 0% user + 0% kernel
+0% 6046/kworker/2:0: 0% user + 0% kernel
+0% 6048/kworker/3:1: 0% user + 0% kernel
+0% 6135/com.example.androidthings.doorbell: 0% user + 0% kernel
+0% 6219/logcat: 0% user + 0% kernel
+0% 6337/dumpsys: 0% user + 0% kernel
3.2% TOTAL: 1.6% user + 1.3% kernel + 0% iowait + 0.2% softirq
CPU usage from 1542ms to 2074ms later (2017-08-16 08:03:29.904 to 2017-08-16 08:03:30.436):
67% 412/system_server: 46% user + 20% kernel / faults: 3 minor
31% 680/Binder:412_5: 26% user + 5.6% kernel
28% 628/Binder:412_4: 18% user + 9.3% kernel
5.6% 426/ActivityManager: 0% user + 5.6% kernel
1.8% 716/Binder:412_6: 0% user + 1.8% kernel
5.1% 1213/perfd: 3.4% user + 1.7% kernel / faults: 6 minor
1.7% 1223/perfd: 1.7% user + 0% kernel
1.7% 1224/perfd: 1.7% user + 0% kernel
1.7% 6149/Studio:PollMem: 0% user + 1.7% kernel
3.7% 152/adbd: 1.8% user + 1.8% kernel / faults: 59 minor
1.8% 152/adbd: 0% user + 1.8% kernel
1.8% 1146/->host: 1.8% user + 0% kernel
1.8% 1147/<-host: 0% user + 1.8% kernel
1.7% 6014/kworker/u8:1: 0% user + 1.7% kernel
+0% 6358/dumpsys: 0% user + 0% kernel
26% TOTAL: 17% user + 9.1% kernel
08-16 08:03:30.476 412-427/system_process W/ActivityManager: Force finishing activity com.example.androidthings.doorbell/.DoorbellActivity
08-16 08:03:30.483 412-427/system_process I/ActivityManager: Killing 6135:com.example.androidthings.doorbell/u0a28 (adj 0): user request after error
08-16 08:03:30.564 412-5697/system_process D/ActivityManager: cleanUpApplicationRecord -- 6135
08-16 08:03:30.569 412-433/system_process I/WindowManager: Destroying surface Surface(name=Starting com.example.androidthings.doorbell) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowManagerService.removeWindowLocked:2305 com.android.server.wm.WindowManagerService.removeWindow:2300 com.android.server.wm.Session.remove:193
08-16 08:03:30.614 412-424/system_process W/InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#79a2cdf attribute=null, token = android.os.BinderProxy#161884c
08-16 08:03:32.129 412-422/system_process I/art: Background partial concurrent mark sweep GC freed 26801(2MB) AllocSpace objects, 14(880KB) LOS objects, 33% free, 6MB/10MB, paused 2.427ms total 120.639ms
08-16 08:03:32.913 412-501/system_process I/ActivityManager: Force stopping com.example.androidthings.doorbell appid=10028 user=0: from pid 6365
08-16 08:03:34.067 412-479/system_process E/TaskPersister: File error accessing recents directory (directory doesn't exist?).

ANR in com.xxx message what does it mean

I have an app that runs ok in one device but in another device I get the following in my logcat:
01-02 02:42:16.800: E/ActivityManager(1819): ANR in com.tfl.extprotocolservice
01-02 02:42:16.800: E/ActivityManager(1819): PID: 4516
01-02 02:42:16.800: E/ActivityManager(1819): Reason: Executing service com.tfl.extprotocolservice/.ExtProtocolService
01-02 02:42:16.800: E/ActivityManager(1819): Load: 2.01 / 2.07 / 2.08
01-02 02:42:16.800: E/ActivityManager(1819): CPU usage from 9304ms to 0ms ago:
01-02 02:42:16.800: E/ActivityManager(1819): 0.3% 4516/com.tfl.extprotocolservice: 0.3% user + 0% kernel / faults: 353 minor
01-02 02:42:16.800: E/ActivityManager(1819): 0.2% 1819/system_server: 0.2% user + 0% kernel / faults: 4 minor
01-02 02:42:16.800: E/ActivityManager(1819): 0.2% 1877/com.android.systemui: 0.2% user + 0% kernel
01-02 02:42:16.800: E/ActivityManager(1819): 0.1% 1459/surfaceflinger: 0.1% user + 0% kernel
01-02 02:42:16.800: E/ActivityManager(1819): 0.1% 1470/adbd: 0% user + 0.1% kernel
01-02 02:42:16.800: E/ActivityManager(1819): 0.1% 1541/ksdioirqd/mmc1: 0% user + 0.1% kernel
01-02 02:42:16.800: E/ActivityManager(1819): 0.4% TOTAL: 0.2% user + 0.1% kernel
01-02 02:42:16.800: E/ActivityManager(1819): CPU usage from 1978ms to 2491ms later:
01-02 02:42:16.800: E/ActivityManager(1819): 13% 1819/system_server: 3.9% user + 9.8% kernel
01-02 02:42:16.800: E/ActivityManager(1819): 7.8% 1835/android.bg: 0% user + 7.8% kernel
01-02 02:42:16.800: E/ActivityManager(1819): 1.9% 1819/system_server: 1.9% user + 0% kernel
01-02 02:42:16.800: E/ActivityManager(1819): 1.9% 1834/ActivityManager: 1.9% user + 0% kernel
01-02 02:42:16.800: E/ActivityManager(1819): 2.8% 991/mmcqd/0: 0% user + 2.8% kernel
01-02 02:42:16.800: E/ActivityManager(1819): 4.2% TOTAL: 0.5% user + 3.7% kernel
on my screen nothing appears , no error message , nothing.
what does it mean ?

GooglePlay v19 emulator throwing "E/EGL_emulation﹕ Failed to establish connection with the host" among others

So I've got an emulator that is throwing a lot of exceptions while loading. I'll post the stack trace at the bottom because its so large.
The emulator started doing this out of no where, my non Google Play API emulator is NOT doing this. But I can't test my google Maps app on that other one. So I'm at a stand still.
I've: 1. Wiped emulator info
2. Deleted the emulator (all of them) and re-installed
3. I've uninstalled the whole V19 SDKs, wiped android studio cache, restarted computer and then tried again.
Any steps that can be taken to work out Google Play API/openGL issues?
08-26 18:36:11.620 38-38/? E/logwrapper﹕ executing /system/bin/e2fsck failed: No such file or directory
08-26 18:36:11.670 41-41/? E/logwrapper﹕ executing /system/bin/e2fsck failed: No such file or directory
08-26 18:36:15.300 49-49/? E/SurfaceFlinger﹕ hwcomposer module not found
08-26 18:36:17.280 49-71/? E/SurfaceFlinger﹕ ro.sf.lcd_density must be defined as a build property
08-26 18:36:18.680 52-113/? E/AudioFlinger﹕ no wake lock to update!
08-26 18:36:18.740 52-52/? E/AudioFlinger﹕ int android::load_audio_interface(const char*, audio_hw_device_t**) couldn't load audio hw module audio.r_submix (No such file or directory)
08-26 18:36:46.050 308-308/? E/logwrapper﹕ executing /system/bin/ip failed: No such file or directory
08-26 18:36:46.090 309-309/? E/logwrapper﹕ executing /system/bin/ip failed: No such file or directory
08-26 18:36:46.110 310-310/? E/logwrapper﹕ executing /system/bin/ip failed: No such file or directory
08-26 18:36:46.170 311-311/? E/logwrapper﹕ executing /system/bin/ip failed: No such file or directory
08-26 18:36:46.240 312-312/? E/logwrapper﹕ executing /system/bin/ip failed: No such file or directory
08-26 18:36:46.260 313-313/? E/logwrapper﹕ executing /system/bin/ip failed: No such file or directory
08-26 18:36:46.320 314-314/? E/logwrapper﹕ executing /system/bin/ip failed: No such file or directory
08-26 18:37:56.970 50-50/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
08-26 18:37:56.970 50-50/? E/android.os.Debug﹕ failed to load memtrack module: -2
08-26 18:38:02.660 50-50/? E/EmojiFactory_jni﹕ Failed to load libemoji.so: dlopen failed: library "libemoji.so" not found
08-26 18:38:27.180 50-50/? E/﹕ Failed to connect to host (QemuPipeStream)!!!
08-26 18:38:27.180 50-50/? E/EGL_emulation﹕ Failed to establish connection with the host
There are over 1000 lines (I think ~1800 based on the results at the bottom)
08-26 18:38:32.920 50-50/? E/﹕ Failed to connect to host (QemuPipeStream)!!!
08-26 18:38:32.920 50-50/? E/EGL_emulation﹕ Failed to establish connection with the host
08-26 18:38:33.810 406-406/? E/PowerManagerService-JNI﹕ Couldn't load power module (No such file or directory)
08-26 18:38:34.590 49-71/? E/SurfaceFlinger﹕ ro.sf.lcd_density must be defined as a build property
08-26 18:40:49.580 406-406/system_process E/ConsumerIrService﹕ Can't open consumer IR HW Module, error: -2
08-26 18:40:49.610 406-406/system_process E/libsuspend﹕ Error opening /sys/power/autosleep: No such file or directory
08-26 18:40:50.440 406-457/system_process E/EventHub﹕ could not get driver version for /dev/input/mouse0, Not a typewriter
08-26 18:40:50.550 406-457/system_process E/EventHub﹕ could not get driver version for /dev/input/mice, Not a typewriter
08-26 18:40:53.550 406-406/system_process E/MobileDataStateTracker﹕ default: Ignoring feature request because could not acquire PhoneService
08-26 18:40:53.550 406-406/system_process E/MobileDataStateTracker﹕ default: Could not enable APN type "default"
08-26 18:40:55.850 406-406/system_process E/SQLiteLog﹕ (1) no such table: locksettings
08-26 18:40:57.320 406-406/system_process E/SELinux﹕ selinux_android_restorecon: Error restoring context for /cache/backup (No such file or directory)
08-26 18:40:57.320 406-406/system_process E/LocalTransport﹕ SELinux restorecon failed for /cache/backup
08-26 18:41:02.520 479-479/com.android.systemui E/SoundPool﹕ error loading /system/media/audio/ui/Lock.ogg
08-26 18:41:02.540 479-479/com.android.systemui E/SoundPool﹕ error loading /system/media/audio/ui/Unlock.ogg
08-26 18:41:35.420 406-421/system_process E/NetdConnector﹕ NDC Command {1 bandwidth enable} took too long (4435ms)
08-26 18:41:36.060 479-479/com.android.systemui E/BluetoothAdapter﹕ Bluetooth binder is null
08-26 18:41:36.060 479-479/com.android.systemui E/BluetoothAdapter﹕ Bluetooth binder is null
08-26 18:41:36.340 479-479/com.android.systemui E/BluetoothAdapter﹕ Bluetooth binder is null
08-26 18:41:36.450 406-421/system_process E/NetdConnector﹕ NDC Command {2 firewall disable} took too long (914ms)
08-26 18:41:37.030 406-421/system_process E/NetdConnector﹕ NDC Command {3 bandwidth gettetherstats} took too long (507ms)
08-26 18:41:37.050 479-479/com.android.systemui E/BluetoothAdapter﹕ Bluetooth binder is null
08-26 18:41:37.930 406-421/system_process E/NetdConnector﹕ NDC Command {4 bandwidth setglobalalert 2097152} took too long (827ms)
08-26 18:41:39.230 406-421/system_process E/NetdConnector﹕ NDC Command {5 firewall disable} took too long (1140ms)
08-26 18:41:41.480 479-479/com.android.systemui E/BluetoothAdapter﹕ Bluetooth binder is null
08-26 18:42:18.660 406-421/system_process E/FlpHardwareProvider﹕ Error hw_get_module 'flp': -2
08-26 18:42:18.780 406-421/system_process E/FlpHardwareProvider﹕ Error hw_get_module 'flp': -2
08-26 18:42:36.010 406-421/system_process E/ActivityManager﹕ ANR in system
PID: 406
Reason: Executing service com.android.location.fused/.FusedLocationService
Load: 5.13 / 2.2 / 0.94
CPU usage from 0ms to 14862ms later:
25% 406/system_server: 14% user + 10% kernel / faults: 1812 minor
17% 640/com.google.process.location: 13% user + 3.3% kernel / faults: 1814 minor
5.6% 479/com.android.systemui: 4% user + 1.6% kernel / faults: 597 minor
5.5% 49/surfaceflinger: 2.5% user + 3% kernel / faults: 4 minor
4.3% 47/debuggerd: 2.1% user + 2.1% kernel / faults: 818 minor
1.7% 88/bootanimation: 0.5% user + 1.1% kernel
1.5% 629/com.android.inputmethod.latin: 1.2% user + 0.2% kernel / faults: 297 minor
1.1% 60/adbd: 0.1% user + 1% kernel
0.6% 670/com.android.settings: 0.3% user + 0.2% kernel / faults: 829 minor
0.3% 26/mtdblock1: 0% user + 0.3% kernel
0.2% 245/logcat: 0% user + 0.2% kernel
0.2% 609/android.process.acore: 0.2% user + 0% kernel / faults: 22 minor
0.1% 25/mtdblock0: 0% user + 0.1% kernel
0.1% 663/com.android.phone: 0% user + 0% kernel / faults: 379 minor
0% 11/kworker/0:1: 0% user + 0% kernel
0% 37/flush-31:1: 0% user + 0% kernel
0% 39/jbd2/mtdblock1-: 0% user + 0% kernel
0% 53/installd: 0% user + 0% kernel / faults: 8 minor
+0% 685/<pre-initialized>: 0% user + 0% kernel
+0% 709/dexopt: 0% user + 0% kernel
100% TOTAL: 69% user + 30% kernel + 0.2% softirq
CPU usage from 12763ms to 14050ms later:
49% 709/dexopt: 47% user + 1.9% kernel / faults: 474 minor
22% 640/com.google.process.location: 22% user + 0% kernel / faults: 5 minor
21% 640/rocess.location: 20% user + 0.9% kernel
0.9% 650/Compiler: 0.9% user + 0% kernel
14% 406/system_server: 6.9% user + 7.8% kernel / faults: 16 minor
13% 421/ActivityManager: 6.9% user + 6% kernel
1.7% 420/WindowManager: 0% user + 1.7% kernel
6.9% 49/surfaceflinger: 4.3% user + 2.6% kernel
3.4% 49/surfaceflinger: 2.6% user + 0.8% kernel
1.7% 71/Binder_1: 0.8% user + 0.8% kernel
1.7% 77/DispSync: 1.7% user + 0% kernel
0.8% 405/Binder_4: 0% user + 0.8% kernel
5.2% 88/bootanimation: 1.7% user + 3.4% kernel
5.2% 102/BootAnimation: 1.7% user + 3.4% kernel
0.8% 60/adbd: 0% user + 0.8% kernel
0.8% 227/adbd: 0% user + 0.8% kernel
0.8% 685/<pre-initialized>: 0% user + 0.8% kernel / faults: 8 minor
0.8% 685/re-initialized>: 0% user + 0.8% kernel
100% TOTAL: 75% user + 24% kernel
I think you have to edit the AVD skin to use “skin with dynamic hardware controls”

Categories

Resources