此代码在之前的版本中有效,应用程序代码未更改。我确实在主题上进行了更改,以增加对Facebook / Google登录的支持。在" DON' T编辑"我的CN1项目中的代码,我收到了错误;
error: cannot find symbol
setInlineStylesTheme(resourceObjectInstance
错误发生在多个位置,但这里是一些代码;
private void initGuiBuilderComponents(com.codename1.ui.util.Resources resourceObjectInstance) {
guiBuilderBindComponentListeners();
setLayout(new com.codename1.ui.layouts.LayeredLayout());
setInlineStylesTheme(resourceObjectInstance);
setInlineStylesTheme(resourceObjectInstance);
setTitle("Processing");
setName("Processing");
addComponent(gui_Box_Layout_Y);
gui_Box_Layout_Y.setInlineStylesTheme(resourceObjectInstance);
.
.
.
gui_Table_Layout.addComponent(ButtonAbandonConstraint, gui_ButtonAbandon);
gui_TextFieldCancelReason.setInlineStylesTheme(resourceObjectInstance);
gui_TextFieldCancelReason.setName("TextFieldCancelReason");
gui_TextFieldCancelReason.setRows(2);
gui_ButtonCancel.setText("Cancel");
gui_ButtonCancel.setInlineStylesTheme(resourceObjectInstance);
gui_ButtonCancel.setName("ButtonCancel");
gui_ButtonPrevious.setText("Previous");
gui_ButtonPrevious.setInlineStylesTheme(resourceObjectInstance);
gui_ButtonPrevious.setName("ButtonPrevious");
gui_ButtonProcess.setText("Process");
gui_ButtonProcess.setInlineStylesTheme(resourceObjectInstance);
gui_ButtonProcess.setName("ButtonProcess");
gui_ButtonNext.setText("Next");
gui_ButtonNext.setInlineStylesTheme(resourceObjectInstance);
gui_ButtonNext.setName("ButtonNext");
gui_ButtonAbandon.setText("Order Abandoned");
gui_ButtonAbandon.setInlineStylesTheme(resourceObjectInstance);
gui_ButtonAbandon.setName("ButtonAbandon");
gui_LabelDrinkNumber.setText("Search");
gui_LabelDrinkNumber.setInlineStylesTheme(resourceObjectInstance);
.
.
.
答案 0 :(得分:3)
您需要更新项目库。右键单击项目>属性>更新项目库。