?
How did Line 846 become Line 848?
Also, I didn't ask you to remove the parenthesis; they are needed in the declaration.
Right, you can't just remove the Parenthesis, since they're part of initializing the class, in the form of an Object.
Edit: Replied to the wrong person, sorry. This message was destined towards @SRIKAR_B.S.S
@SRIKAR_B.S.S I strongly recommend you first clear your Java programming concepts because you don't know how to import classes and how to create method and what is object and how it will create.
I know them when I made extensions with imports too!!!
I don't think so..
Please read the messages properly
I made Extension with imports
Exactly what I meant. Just because you used it, doesn't mean you know what it does.
What!?!?!
You said
And I even don't find what you're saying there
Then what were you trying to say?
Check the image I first replied to.
Line 848 initializes a new Label object.
You put a space between Label and the opening parenthesis, which will cause an error. I told you to remove the space, not the parenthesis.
Look at Line 848 here ^
Just make this simple changes your code will compiled successfully
No space is not actually creating error but he didn't import class in source file so that's why it shows error.
Follow this tutorial link
Nice, ok. I'm not sure if it's because I'm using JDK 7, but it does cause an error for me.
I already imported it...
I'll try now
YaClientApp:
[java] Compiling module com.google.appinventor.YaClient-dev
[java] Ignored 3 units with compilation errors in first pass.
[java] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[java] Computing all possible rebind results for 'com.google.appinventor.client.OdeMessages'
[java] Rebinding com.google.appinventor.client.OdeMessages
[java] Invoking generator com.google.gwt.i18n.rebind.LocalizableGenerator
[java] Processing interface com.google.appinventor.client.OdeMessages
[java] Generating method body for gitBuildId()
[java] [ERROR] Argument 0 beyond range of arguments: Ausgabe: {0} Version: {1}
[java] [ERROR] Errors in 'com/google/appinventor/client/Ode.java'
[java] [ERROR] Line 143: Failed to resolve 'com.google.appinventor.client.OdeMessages' via deferred binding
[java] [WARN] For the following type(s), generated source was never committed (did you forget to call commit()?)
[java] [WARN] com.google.appinventor.client.OdeMessages_de
[java] Computing all possible rebind results for 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource'
[java] Rebinding com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource
[java] Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
[java] JsniBundleGenerator - importing external javascript: com/google/appinventor/client/editor/youngandroid/blockly.js
[java] Computing all possible rebind results for 'com.google.appinventor.client.utils.HTML5DragDrop.HTML5DragDropSupport'
[java] Rebinding com.google.appinventor.client.utils.HTML5DragDrop.HTML5DragDropSupport
[java] Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
[java] JsniBundleGenerator - importing external javascript: com/google/appinventor/client/utils/html5dnd.js
[java] Computing all possible rebind results for 'com.google.appinventor.client.widgets.ExpiredServiceOverlayExpiredServiceOverlayUiBinderImplGenMessages'
[java] Rebinding com.google.appinventor.client.widgets.ExpiredServiceOverlayExpiredServiceOverlayUiBinderImplGenMessages
[java] Invoking generator com.google.gwt.i18n.rebind.LocalizableGenerator
[java] Processing interface com.google.appinventor.client.widgets.ExpiredServiceOverlayExpiredServiceOverlayUiBinderImplGenMessages
[java] Generating method body for gitBuildId()
[java] [ERROR] Argument 0 beyond range of arguments: Ausgabe: {0} Version: {1}
[java] [ERROR] Errors in 'gen/com/google/appinventor/client/widgets/ExpiredServiceOverlay_ExpiredServiceOverlayUiBinderImpl.java'
[java] [ERROR] Line 18: Failed to resolve 'com.google.appinventor.client.widgets.ExpiredServiceOverlayExpiredServiceOverlayUiBinderImplGenMessages' via deferred binding
[java] [WARN] For the following type(s), generated source was never committed (did you forget to call commit()?)
[java] [WARN] com.google.appinventor.client.widgets.ExpiredServiceOverlayExpiredServiceOverlayUiBinderImplGenMessages_de
[java] Computing all possible rebind results for 'com.google.appinventor.client.explorer.dialogs.NoProjectDialogBoxNoProjectDialogBoxUiBinderImplGenMessages'
[java] Rebinding com.google.appinventor.client.explorer.dialogs.NoProjectDialogBoxNoProjectDialogBoxUiBinderImplGenMessages
[java] Invoking generator com.google.gwt.i18n.rebind.LocalizableGenerator
[java] Processing interface com.google.appinventor.client.explorer.dialogs.NoProjectDialogBoxNoProjectDialogBoxUiBinderImplGenMessages
[java] Generating method body for gitBuildId()
[java] [ERROR] Argument 0 beyond range of arguments: Ausgabe: {0} Version: {1}
[java] [ERROR] Errors in 'gen/com/google/appinventor/client/explorer/dialogs/NoProjectDialogBox_NoProjectDialogBoxUiBinderImpl.java'
[java] [ERROR] Line 18: Failed to resolve 'com.google.appinventor.client.explorer.dialogs.NoProjectDialogBoxNoProjectDialogBoxUiBinderImplGenMessages' via deferred binding
[java] [WARN] For the following type(s), generated source was never committed (did you forget to call commit()?)
[java] [WARN] com.google.appinventor.client.explorer.dialogs.NoProjectDialogBoxNoProjectDialogBoxUiBinderImplGenMessages_de
BUILD FAILED
E:\srikar\Funmora_Builder\appinventor\build.xml:16: The following error occurred while executing this line:
E:\srikar\Funmora_Builder\appinventor\appengine\build.xml:581: Java returned: 1
Total time: 1 minute 5 seconds
what you added in OdeMessage.java can you share with us?
build log is saying that you have not added params in gitBuildId() method.
This thing
@DefaultMessage("MESSAGE DISPLAYED ON BROWSER")
@Description("sort discription of message.")
String gitBuildId();
I think But the problem was, I kept the both things:
@DefaultMessage("Built: {0} Version: {1}")
@Description("Label showing the ant build date and the git version")
String gitBuildId(String date, String version);
@DefaultMessage("MESSAGE DISPLAYED ON BROWSER")
@Description("sort discription of message.")
String gitBuildId();
I added the label import in TopToolbar.java but not in OdeMessages.java