This TV target is missing the include of frameworks/base/data/fonts/fonts.mk that includes a PRODUCT_PACKAGES inclusion of fonts.xml module.
On Wednesday, July 22, 2020 at 12:32:22 AM UTC+10 Dean Wheatley wrote: > Regarding AOSP master, the TV variant of Cuttlefish > (aosp_cf_x86_tv-userdebug) does not boot fully, however I do have the phone > variant (aosp_cf_x86_phone-userdebug) booting. > > steps: > $ lunch aosp_cf_x86_tv-userdebug > $ make > $ acloud create --local-instance --local-image --hw-property disk:2g > > The issue is logged as follows: > > 07-21 10:21:44.581 270 270 I sysui_multi_action: > [757,804,799,boot_zygote_init,801,7102,802,1] > 07-21 10:21:44.583 0 0 I logd : logdr: UID=1036 GID=0 PID=373 b tail=0 > logMask=bf pid=0 start=0ns deadline=0ns > 07-21 10:21:44.585 270 270 I boot_progress_preload_start: 7108 > 07-21 10:21:44.585 270 270 D Zygote : begin preload > 07-21 10:21:44.585 270 270 I Zygote : Calling ZygoteHooks.beginPreload() > 07-21 10:21:44.587 353 391 I adbd : host-18: read thread spawning > 07-21 10:21:44.587 353 353 I adbd : host-18: already offline > 07-21 10:21:44.587 353 353 I adbd : authentication not required > 07-21 10:21:44.587 353 392 I adbd : host-18: write thread spawning > 07-21 10:21:44.598 270 270 D Zygote32Timing: BeginPreload took to > complete: 13ms > 07-21 10:21:44.598 270 270 I Zygote : Preloading classes... > 07-21 10:21:44.599 270 270 W Zygote : Class not found for preloading: > android.app.-$$Lambda$ActivityThread$ActivityClientRecord$HOrG1qglSjSUHSjKBn2rXtX0gGg > 07-21 10:21:44.599 270 270 W Zygote : Class not found for preloading: > android.app.-$$Lambda$ActivityThread$ApplicationThread$tUGFX7CUhzB4Pg5wFd5yeqOnu38 > 07-21 10:21:44.599 270 270 W Zygote : Class not found for preloading: > android.app.-$$Lambda$ActivityThread$ZXDWm3IBeFmLnFVblhB-IOZCr9o > 07-21 10:21:44.599 270 270 W Zygote : Class not found for preloading: > android.app.-$$Lambda$Dialog$zXRzrq3I7H1_zmZ8d_W7t2CQN0I > 07-21 10:21:44.599 270 270 W Zygote : Class not found for preloading: > android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA > 07-21 10:21:44.599 270 270 W Zygote : Class not found for preloading: > android.app.-$$Lambda$Notification$hOCsSZH8tWalFSbIzQ9x9IcPa9M > 07-21 10:21:44.599 270 270 W Zygote : Class not found for preloading: > android.app.-$$Lambda$ResourcesManager$QJ7UiVk_XS90KuXAsIjIEym1DnM > 07-21 10:21:44.599 270 270 W Zygote : Class not found for preloading: > android.app.-$$Lambda$SharedPreferencesImpl$EditorImpl$3CAjkhzA131V3V-sLfP2uy0FWZ0 > 07-21 10:21:44.600 270 270 W Zygote : Class not found for preloading: > android.app.-$$Lambda$oslF4K8Uk6v-6nTRoaEpCmfAptE > 07-21 10:21:44.606 270 270 W Zygote : Class not found for preloading: > android.app.admin.-$$Lambda$DevicePolicyManager$aBAov4sAc4DWENs1-hCXh31NAg0 > 07-21 10:21:44.606 270 270 W Zygote : Class not found for preloading: > android.app.admin.-$$Lambda$DevicePolicyManager$w2TynM9H41ejac4JVpNbnemNVWk > 07-21 10:21:44.607 270 270 W Zygote : Class not found for preloading: > android.app.slice.-$$Lambda$SliceProvider$bIgM5f4PsMvz_YYWEeFTjvTqevw > 07-21 10:21:44.607 270 270 W Zygote : Class not found for preloading: > android.bluetooth.BluetoothA2dp$2 > 07-21 10:21:44.609 270 270 W Zygote : Class not found for preloading: > android.content.-$$Lambda$AbstractThreadedSyncAdapter$ISyncAdapterImpl$L6ZtOCe8gjKwJj0908ytPlrD8Rc > 07-21 10:21:44.610 270 270 W Zygote : Class not found for preloading: > android.content.pm.-$$Lambda$jpya2qgMDDEok2GAoKRDqPM5lIE > 07-21 10:21:44.611 270 270 I PackageBackwardCompatibility: Loaded > android.content.pm.AndroidTestBaseUpdater > 07-21 10:21:44.611 270 270 W Zygote : Class not found for preloading: > android.content.res.-$$Lambda$Resources$4msWUw7LKsgLexLZjIfWa4oguq4 > 07-21 10:21:44.611 270 270 W Zygote : Class not found for preloading: > android.content.res.-$$Lambda$ResourcesImpl$99dm2ENnzo9b0SIUjUj2Kl3pi90 > 07-21 10:21:44.611 270 270 W Zygote : Class not found for preloading: > android.content.res.-$$Lambda$ResourcesImpl$h3PTRX185BeQl8SVC2_w9arp5Og > 07-21 10:21:44.612 270 270 W Zygote : Class not found for preloading: > android.database.sqlite.-$$Lambda$RBWjWVyGrOTsQrLCYzJ_G8Uk25Q > 07-21 10:21:44.613 270 270 W Zygote : Class not found for preloading: > android.graphics.-$$Lambda$ColorSpace$BNp-1CyCzsQzfE-Ads9uc4rJDfw > 07-21 10:21:44.613 270 270 W Zygote : Class not found for preloading: > android.graphics.-$$Lambda$ColorSpace$Rgb$8EkhO2jIf14tuA3BvrmYJMa7YXM > 07-21 10:21:44.613 270 270 W Zygote : Class not found for preloading: > android.graphics.-$$Lambda$ColorSpace$Rgb$CqKld6797g7__JnuY0NeFz5q4_E > 07-21 10:21:44.613 270 270 W Zygote : Class not found for preloading: > android.graphics.-$$Lambda$ColorSpace$Rgb$ZvS77aTfobOSa2o9MTqYMph4Rcg > 07-21 10:21:44.613 270 270 W Zygote : Class not found for preloading: > android.graphics.-$$Lambda$ColorSpace$Rgb$b9VGKuNnse0bbguR9jbOM_wK2Ac > 07-21 10:21:44.613 270 270 W Zygote : Class not found for preloading: > android.graphics.-$$Lambda$ColorSpace$Rgb$bWzafC8vMHNuVmRuTUPEFUMlfuY > 07-21 10:21:44.613 270 270 W Zygote : Class not found for preloading: > android.graphics.-$$Lambda$ColorSpace$S2rlqJvkXGTpUF6mZhvkElds8JE > 07-21 10:21:44.616 270 270 E SystemFonts: Failed initialize system > fallbacks. > 07-21 10:21:44.616 270 270 E SystemFonts: java.io.FileNotFoundException: > /system/etc/fonts.xml: open failed: ENOENT (No such file or directory) > 07-21 10:21:44.616 270 270 E SystemFonts: at > libcore.io.IoBridge.open(IoBridge.java:492) > 07-21 10:21:44.616 270 270 E SystemFonts: at > java.io.FileInputStream.<init>(FileInputStream.java:160) > 07-21 10:21:44.616 270 270 E SystemFonts: at > java.io.FileInputStream.<init>(FileInputStream.java:115) > 07-21 10:21:44.616 270 270 E SystemFonts: at > android.graphics.fonts.SystemFonts.buildSystemFallback(SystemFonts.java:247) > 07-21 10:21:44.616 270 270 E SystemFonts: at > android.graphics.fonts.SystemFonts.<clinit>(SystemFonts.java:314) > 07-21 10:21:44.616 270 270 E SystemFonts: at > android.graphics.fonts.SystemFonts.getRawSystemFallbackMap(SystemFonts.java:89) > 07-21 10:21:44.616 270 270 E SystemFonts: at > android.graphics.Typeface.<clinit>(Typeface.java:1141) > 07-21 10:21:44.616 270 270 E SystemFonts: at > java.lang.Class.classForName(Native Method) > 07-21 10:21:44.616 270 270 E SystemFonts: at > java.lang.Class.forName(Class.java:454) > 07-21 10:21:44.616 270 270 E SystemFonts: at > com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:293) > 07-21 10:21:44.616 270 270 E SystemFonts: at > com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:131) > 07-21 10:21:44.616 270 270 E SystemFonts: at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:881) > 07-21 10:21:44.616 270 270 E SystemFonts: Caused by: > android.system.ErrnoException: open failed: ENOENT (No such file or > directory) > 07-21 10:21:44.616 270 270 E SystemFonts: at libcore.io.Linux.open(Native > Method) > 07-21 10:21:44.616 270 270 E SystemFonts: at > libcore.io.ForwardingOs.open(ForwardingOs.java:166) > 07-21 10:21:44.616 270 270 E SystemFonts: at > libcore.io.BlockGuardOs.open(BlockGuardOs.java:254) > 07-21 10:21:44.616 270 270 E SystemFonts: at > libcore.io.IoBridge.open(IoBridge.java:478) > 07-21 10:21:44.616 270 270 E SystemFonts: ... 11 more > 07-21 10:21:44.616 270 270 W zygote : Landroid/graphics/Typeface; failed > initialization: java.lang.NullPointerException: Attempt to read from > field 'int android.graphics.Typeface.mStyle' on a null object reference > 07-21 10:21:44.616 270 270 W zygote : at android.graphics.Typeface > android.graphics.Typeface.create(android.graphics.Typeface, int) > (Typeface.java:839) > 07-21 10:21:44.616 270 270 W zygote : at android.graphics.Typeface > android.graphics.Typeface.create(java.lang.String, int) (Typeface.java:810) > 07-21 10:21:44.616 270 270 W zygote : at void > android.graphics.Typeface.<clinit>() (Typeface.java:1151) > 07-21 10:21:44.616 270 270 W zygote : at java.lang.Class > java.lang.Class.classForName(java.lang.String, boolean, > java.lang.ClassLoader) (Class.java:-2) > 07-21 10:21:44.616 270 270 W zygote : at java.lang.Class > java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) > (Class.java:454) > 07-21 10:21:44.616 270 270 W zygote : at void > com.android.internal.os.ZygoteInit.preloadClasses() (ZygoteInit.java:293) > 07-21 10:21:44.616 270 270 W zygote : at void > com.android.internal.os.ZygoteInit.preload(android.util.TimingsTraceLog) > (ZygoteInit.java:131) > 07-21 10:21:44.616 270 270 W zygote : at void > com.android.internal.os.ZygoteInit.main(java.lang.String[]) > (ZygoteInit.java:881) > 07-21 10:21:44.616 270 270 E Zygote : Error preloading > android.graphics.Typeface. > 07-21 10:21:44.616 270 270 E Zygote : java.lang.ExceptionInInitializerError > 07-21 10:21:44.616 270 270 E Zygote : at > java.lang.Class.classForName(Native Method) > 07-21 10:21:44.616 270 270 E Zygote : at > java.lang.Class.forName(Class.java:454) > 07-21 10:21:44.616 270 270 E Zygote : at > com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:293) > 07-21 10:21:44.616 270 270 E Zygote : at > com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:131) > 07-21 10:21:44.616 270 270 E Zygote : at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:881) > 07-21 10:21:44.616 270 270 E Zygote : Caused by: > java.lang.NullPointerException: Attempt to read from field 'int > android.graphics.Typeface.mStyle' on a null object reference > 07-21 10:21:44.616 270 270 E Zygote : at > android.graphics.Typeface.create(Typeface.java:839) > 07-21 10:21:44.616 270 270 E Zygote : at > android.graphics.Typeface.create(Typeface.java:810) > 07-21 10:21:44.616 270 270 E Zygote : at > android.graphics.Typeface.<clinit>(Typeface.java:1151) > 07-21 10:21:44.616 270 270 E Zygote : ... 5 more > 07-21 10:21:44.616 270 270 I zygote : VMRuntime.preloadDexCaches starting > 07-21 10:21:44.622 307 307 D libEGL : loaded > /vendor/lib/egl/libGLESv1_CM_swiftshader.so > 07-21 10:21:44.623 307 307 D libEGL : loaded > /vendor/lib/egl/libGLESv2_swiftshader.so > 07-21 10:21:44.629 270 270 I zygote : VMRuntime.preloadDexCaches strings > total=393351 before=9781 after=9781 > 07-21 10:21:44.630 270 270 I zygote : VMRuntime.preloadDexCaches types > total=37067 before=7638 after=7895 > 07-21 10:21:44.630 270 270 I zygote : VMRuntime.preloadDexCaches fields > total=166232 before=9090 after=9380 > 07-21 10:21:44.630 270 270 I zygote : VMRuntime.preloadDexCaches methods > total=291896 before=12717 after=12835 > 07-21 10:21:44.630 270 270 I zygote : VMRuntime.preloadDexCaches finished > 07-21 10:21:44.630 270 270 E Zygote : System zygote died with exception > 07-21 10:21:44.630 270 270 E Zygote : java.lang.ExceptionInInitializerError > 07-21 10:21:44.630 270 270 E Zygote : at > java.lang.Class.classForName(Native Method) > 07-21 10:21:44.630 270 270 E Zygote : at > java.lang.Class.forName(Class.java:454) > 07-21 10:21:44.630 270 270 E Zygote : at > com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:293) > 07-21 10:21:44.630 270 270 E Zygote : at > com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:131) > 07-21 10:21:44.630 270 270 E Zygote : at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:881) > 07-21 10:21:44.630 270 270 E Zygote : Caused by: > java.lang.NullPointerException: Attempt to read from field 'int > android.graphics.Typeface.mStyle' on a null object reference > 07-21 10:21:44.630 270 270 E Zygote : at > android.graphics.Typeface.create(Typeface.java:839) > 07-21 10:21:44.630 270 270 E Zygote : at > android.graphics.Typeface.create(Typeface.java:810) > 07-21 10:21:44.630 270 270 E Zygote : at > android.graphics.Typeface.<clinit>(Typeface.java:1151) > 07-21 10:21:44.630 270 270 E Zygote : ... 5 more > 07-21 10:21:44.630 270 270 D AndroidRuntime: Shutting down VM > > > > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/c77dce71-ae88-4881-9092-6bead2e026aen%40googlegroups.com.
