Open jiaxiaolong opened 3 years ago
用release.sh发布,现在ui运行起来了,但报以下错误,还有UI上没有鼠标图标显示,能指导一下从哪里入手查找问题吗?谢谢 ./CleanAir try /userdata/awtk/cleanair try set app_root:/userdata/awtk/cleanair/res app_root=/userdata/awtk/cleanair/res using card '/dev/dri/card0' modeset_open return 0 mode for connector 56 is 800x1280 modeset_prepare return 0 use dev 0x188778 w=800 h=1280 ratio=1.000000 800 1280 ratio=1.000000 800 1280 input_run:313: open keyboard successful, fd=4, filename=/dev/input/event1 input_run:257: open mouse successful, fd=5, filename=/dev/input/event5 Build at: Jul 5 2021 23:24:36 tk_strncpy:308 condition(dst != NULL && src != NULL) failed! window main open label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed! label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed! label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed! label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed! label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed! label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed! label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed! label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed! label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed! label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed! label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed! label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed! label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!
有些demo是没有设置显示鼠标的,你跑一下awtk自带的demoui看看,有一个API控制是否显示鼠标
您好,我移植到海思平台,运行例子报以下错误,请问是什么原因呢? /media/app/awtk # ./demo1
try /media/app/awtk try set app_root:/media/app/awtk/res try set app_root:/media/app/awtk/demos try /media/app/awtk try set app_root:/media/app/awtk/res try set app_root:/media/app/awtk/demos app_root= Not found valid assets folder! fb_info_t: /dev/fb0 xres=1280 yres=720 xres_virtual=1280 yres_virtual=720 bits_per_pixel=16 line_length=2560 fb_info_t: red(10 5) green(5 5) blue(0 5) xpanstep=1 ywrapstep=0 fb_size=1843200 fb_total_size=33177600 fb_nr=1 smem_len=33177600 fb_open clear fb_open ok sh: dmidecode: not found ratio=1.000000 1280 720 ratio=1.000000 1280 720 input_run:310: open keyboard failed, fd=-1, filename=/dev/input/event1 input_run:254: open mouse failed, fd=-1, filename=/dev/input/mouse0 assets_manager_preload:801 condition(info != NULL) failed! assets_manager_preload:801 condition(info != NULL) failed! Build at: Jul 5 2021 20:10:41 theme_find_style:104 condition(theme->data != NULL) failed! theme_find_style:104 condition(theme->data != NULL) failed! theme_find_style:104 condition(theme->data != NULL) failed! theme_find_style:104 condition(theme->data != NULL) failed! theme_find_style:104 condition(theme->data != NULL) failed! theme_find_style:104 condition(theme->data != NULL) failed! theme_find_style:104 condition(theme->data != NULL) failed! theme_find_style:104 condition(theme->data != NULL) failed! theme_find_style:104 condition(theme->data != NULL) failed! theme_find_style:104 condition(theme->data != NULL) failed! theme_find_style:104 condition(theme->data != NULL) failed! theme_find_style:104 condition(theme->data != NULL) failed!