[Android Studio] Ixiton:
Hi,

I'm completely new to the world of Android development and Android Studio.

Just finished installing the latest Android Studio (Chipmunk 2021.2.1 Patch 2) and following some examples and "get started" guides.

Opened an "Empty Activity" (that display 'Hello World') with Java and minimum SDK: 23 (Marshmallow) that I wanted test on a virtual device.

Created a device with 'Nexus 5' and API level: 31 (S) with default values and started it. All seems fine when it starts up and the home screen pops up after a moment. But when checking 'logcat' for the emulator it is littered with errors and warnings.

Now to my question; is it normal for the emulator to log all these errors in logcat or is there something wrong?

If it's not normal, does any of you have a hint about what can cause these errors (I must have done something wrong I guess...)?

All help would be appreciated!

P.S I attached the first 5000, or so, lines of error level logcat.

Edit: Seems like the attached file won't work so I'm pasting the first 100 rows as an example:

2022-08-29 21:07:13.344 0-0/? E/[Firmware Bug]: CPU1: APIC id mismatch. Firmware: 1 APIC: 0
2022-08-29 21:07:13.344 0-0/? E/[Firmware Bug]: CPU2: APIC id mismatch. Firmware: 2 APIC: 0
2022-08-29 21:07:13.344 0-0/? E/[Firmware Bug]: CPU3: APIC id mismatch. Firmware: 3 APIC: 0
2022-08-29 21:07:14.390 0-0/? E/kvm: no hardware support
2022-08-29 21:07:14.391 0-0/? E/kvm: no hardware support
2022-08-29 21:07:16.189 0-0/? E/init: Failed to copy /avb into /metadata/gsi/dsu/avb/: No such file or directory
2022-08-29 21:07:17.229 0-0/? E/init: [libfs_avb]Device path not found: /dev/block/by-name/system
2022-08-29 21:07:18.256 0-0/? E/init: [libfs_avb]Device path not found: /dev/block/by-name/system
2022-08-29 21:07:18.801 0-0/? E/init: Do not have permissions to set 'persist.sys.usb.config' to 'none' in property file '/vendor/build.prop': SELinux permission check failed
2022-08-29 21:07:18.807 0-0/? E/init: Do not have permissions to set 'persist.sys.usb.config' to 'none' in property file '/vendor_dlkm/etc/build.prop': SELinux permission check failed
2022-08-29 21:07:18.813 0-0/? E/init: Do not have permissions to set 'persist.sys.usb.config' to 'none' in property file '/odm/etc/build.prop': SELinux permission check failed
2022-08-29 21:07:18.846 0-0/? E/selinux: SELinux: Could not get canonical path for /metadata/ota/rollback-indicator restorecon: No such file or directory.
2022-08-29 21:07:18.849 0-0/? E/selinux:
2022-08-29 21:07:18.849 0-0/? E/selinux: SELinux: Could not stat /metadata/gsi: No such file or directory.
2022-08-29 21:07:18.851 0-0/? E/selinux:
2022-08-29 21:07:19.342 0-0/? E/linkerconfig: Unable to access VNDK APEX at path: /apex/com.android.vndk.v31: No such file or directory
2022-08-29 21:07:19.344 0-0/? E/linkerconfig: Unable to access VNDK APEX at path: /apex/com.android.vndk.v31: No such file or directory
2022-08-29 21:07:20.907 0-0/? E/selinux: SELinux: setxattr failed: /cache: Read-only file system
2022-08-29 21:07:20.909 0-0/? E/selinux:
2022-08-29 21:07:21.019 0-0/? E/init: Control message: Could not find 'aidl/android.system.keystore2.IKeystoreService/default' for ctl.interface_start from pid: 192 (/system/bin/servicemanager)
2022-08-29 21:07:22.284 209-209/? E/keystore2: keystore2::error: In generate_key.

Caused by:
0: While generating Key without explicit attestation key.
1: Error::Km(ErrorCode(-67))
2022-08-29 21:07:22.285 202-202/? E/vold: keystore2 Keystore generateKey returned service specific error: -67
2022-08-29 21:07:22.698 0-0/? E/init: Unable to set property 'ro.boottime.init.fsck.data' from uid:0 gid:0 pid:202: Read-only property was already set
2022-08-29 21:07:22.713 0-0/? E/init: Unable to set property 'ro.boottime.init.mount.data' from uid:0 gid:0 pid:202: Read-only property was already set
2022-08-29 21:07:22.785 209-209/? E/keystore2: keystore2::error: In generate_key.

Caused by:
0: While generating Key without explicit attestation key.
1: Error::Km(ErrorCode(-67))
2022-08-29 21:07:22.785 202-202/? E/vold: keystore2 Keystore generateKey returned service specific error: -67
2022-08-29 21:07:22.825 0-0/? E/init: Failed to set encryption policy of /data/misc to 8143bdf7df531a148fb23539f7a3a381 v2 modes 1/4 flags 0x2: Directory not empty
2022-08-29 21:07:22.831 0-0/? E/logwrapper: executing ls failed: Permission denied
2022-08-29 21:07:22.832 0-0/? E/logwrapper:
2022-08-29 21:07:22.839 0-0/? E/init: ls -laZ /data/misc returned failure: 255
2022-08-29 21:07:22.840 0-0/? E/init: Setting 8143bdf7df531a148fb23539f7a3a381 policy on /data/misc failed!
2022-08-29 21:07:22.842 0-0/? E/init: Rebooting into recovery
2022-08-29 21:07:22.904 209-209/? E/keystore2: keystore2::maintenance: Call to earlyBootEnded failed for security level STRONGBOX: In call_with_watchdog: getting keymint device.
2022-08-29 21:07:22.904 209-209/? E/keystore2: keystore2::error: In call_with_watchdog: getting keymint device

Caused by:
0: In get_keymint_device.
1: In connect_keymint: Trying to get Legacy wrapper.
2: Error::Km(ErrorCode(-68))
2022-08-29 21:07:22.905 202-202/? E/vold: keystore2 Keystore earlyBootEnded returned service specific error: -68
2022-08-29 21:07:23.226 0-0/? E/apexd: Can't open /system_ext/apex for reading : No such file or directory
2022-08-29 21:07:23.227 0-0/? E/apexd: Can't open /product/apex for reading : No such file or directory
2022-08-29 21:07:23.229 0-0/? E/apexd: Can't open /vendor/apex for reading : No such file or directory
2022-08-29 21:07:23.447 209-209/? E/keystore2: keystore2::error: In generate_key.

Caused by:
0: While generating Key without explicit attestation key.
1: Error::Km(ErrorCode(-67))
2022-08-29 21:07:23.447 202-202/? E/vold: keystore2 Keystore generateKey returned service specific error: -67
2022-08-29 21:07:23.472 209-209/? E/keystore2: keystore2::error: In generate_key.

Caused by:
0: While generating Key without explicit attestation key.
1: Error::Km(ErrorCode(-67))
2022-08-29 21:07:23.472 202-202/? E/vold: keystore2 Keystore generateKey returned service specific error: -67
2022-08-29 21:07:23.847 318-318/? E/odsign: Initialized Keystore key.
2022-08-29 21:07:23.990 320-320/? E/odrefresh: statvfs '/data/misc/apexdata/com.android.art/dalvik-cache': No such file or directory
2022-08-29 21:07:24.147 0-0/? E/selinux: SELinux: Could not stat /data/dalvik-cache/arm: No such file or directory.
2022-08-29 21:07:24.149 0-0/? E/selinux:
2022-08-29 21:07:24.149 0-0/? E/selinux: SELinux: Could not stat /data/dalvik-cache/arm64: No such file or directory.
2022-08-29 21:07:24.151 0-0/? E/selinux:
2022-08-29 21:07:24.151 0-0/? E/selinux: SELinux: Could not stat /data/dalvik-cache/mips: No such file or directory.
2022-08-29 21:07:24.153 0-0/? E/selinux:
2022-08-29 21:07:24.153 0-0/? E/selinux: SELinux: Could not stat /data/dalvik-cache/mips64: No such file or directory.
2022-08-29 21:07:24.155 0-0/? E/selinux:
2022-08-29 21:07:24.156 0-0/? E/selinux: SELinux: Could not stat /data/dalvik-cache/x86: No such file or directory.
2022-08-29 21:07:24.157 0-0/? E/selinux:
2022-08-29 21:07:24.158 0-0/? E/selinux: SELinux: Could not stat /data/dalvik-cache/x86_64: No such file or directory.
2022-08-29 21:07:24.160 0-0/? E/selinux:
2022-08-29 21:07:24.189 0-0/? E/init: Could not set 'ro.logd.size' to '2M' in /data/local.prop: Read-only property was already set
2022-08-29 21:07:24.191 0-0/? E/init: Could not load single persistent property file, trying legacy directory: Unable to read persistent property file: open() failed: No such file or directory
2022-08-29 21:07:24.213 0-0/? E/logd: FrameworkListener: read() failed (Connection reset by peer)
2022-08-29 21:07:24.638 349-349/? E/LegacySupport: Could not get passthrough implementation for android.hardware.audio@7.0::IDevicesFactory/default.
2022-08-29 21:07:24.898 349-349/? E/LegacySupport: Could not get passthrough implementation for android.hardware.audio.effect@7.0::IEffectsFactory/default.
2022-08-29 21:07:24.987 349-349/? E/LegacySupport: Could not get passthrough implementation for android.hardware.soundtrigger@2.3::ISoundTriggerHw/default.
2022-08-29 21:07:25.018 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 44
2022-08-29 21:07:25.018 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 45
2022-08-29 21:07:25.018 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 46
2022-08-29 21:07:25.018 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 47
2022-08-29 21:07:25.018 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 48
2022-08-29 21:07:25.018 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 49
2022-08-29 21:07:25.018 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 50
2022-08-29 21:07:25.019 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 51
2022-08-29 21:07:25.019 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 52
2022-08-29 21:07:25.019 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 55
2022-08-29 21:07:25.019 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 56
2022-08-29 21:07:25.019 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 57
2022-08-29 21:07:25.019 353-353/? E/GCH_CameraProvider: Initialize: HWL doesn't support vendor buffer allocation Function not implemented(-38)
2022-08-29 21:07:25.019 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 58
2022-08-29 21:07:25.019 368-368/? E/RanchuHwc: GetFunction: Unknown function descriptor: 59
2022-08-29 21:07:25.067 349-349/? E/HidlServiceManagement: Service android.hardware.bluetooth.audio@2.1::IBluetoothAudioProvidersFactory/default must be in VINTF manifest in order to register/get.