简体   繁体   English

CodeNameone 中的空指针异常

[英]Null Pointer Exception in CodeNameone

I would like to apply css to my codename one application, I have downloaded cn1css-ant-task.jar from git hub and put in my lib directory and I applied css to my app, everything is working fine but after some time I got an error.我想将 css 应用于我的代号为 one 的应用程序,我已经从 git hub 下载了 cn1css-ant-task.jar 并将其放入我的 lib 目录中,并将 css 应用于我的应用程序,一切正常,但一段时间后我得到了错误。在此处输入图片说明

The exception you are getting from the CSS processor is "unsupported property": Overflow .您从 CSS 处理器获得的例外是“不受支持的属性”: Overflow

Don't use overflow in the CSS used with Codename One.不要在与 Codename One 一起使用的 CSS 中使用overflow Notice that you can't just get an arbitrary CSS off the internet and use it.请注意,您不能只是从 Internet 上获取任意 CSS 并使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM