I have started working through Android Programming for Beginners 2nd edition and have installed Android Studio and created my first app (Hello World).
All seems well until I run the app in an AVD when I get hundreds on errors in logcat. I’ve tried different AVDs but they all produce errors. The last time I tried I had nearly 7,000 lines of errors and they were still coming thick and fast after 10 minutes.
Here are the first few lines:
2019-05-22 10:59:14.843 1637-1637/? E/fsverity_init: Failed to load /product/etc/security/fsverity/*.der 2019-05-22 10:59:14.907 1638-1638/? E//system/bin/mini-keyctl: Cannot find keyring id 2019-05-22 10:59:14.945 1639-1639/? E/fsverity_init: Failed to restrict .fs-verity keyring 2019-05-22 10:59:15.342 1640-1640/? E/apexd: Failed to activate /system/apex/com.android.tzdata : /apex/com.android.tzdata@200000000 is not empty: Success 2019-05-22 10:59:15.355 1640-1640/? E/apexd: Failed to activate /system/apex/com.android.runtime.debug : /apex/com.android.runtime@1 is not empty: Success 2019-05-22 10:59:15.360 1640-1640/? E/apexd: Failed to activate packages from /system/apex : Failed to activate following packages : /system/apex/com.android.tzdata,/system/apex/com.android.runtime.debug 2019-05-22 10:59:15.365 1640-1640/? E/apexd: Failed to activate packages from /product/apex : Failed to scan /product/apex : Can't open /product/apex for reading : generic:2 2019-05-22 10:59:16.473 1652-1652/? A/art_apex: Device is not fsverity-enabled.
Any help appreciated!