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
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
Can anyone DM me can tell me how to implement Copy Screen feature, your contribution will be very very helpful for my journey
imports and message string missing
I solved everything there, but any answer to this question?
well this one is already present in odeMessages you need to change gitbuildId to funmoraverison
No you need to modify too in all messages files.
That what Parva said , first learn Java
First try to understand, I said that it is hard to edit all the changes I made in all the languages...
That's ok. It would be better if you learn Java, since it would be easier for you to do this yourself.
Head First Java is an amazing book to kickstart your Java learning (it contains GUI/GUI-related stuff too), why don't you try using it?
Well, friend I know you can copy paste codes from all over internet, but to know what it actually is, You need to invest time, I agree u can make extensions but, Copy Paste != Real Knowledge.
In contrast to time at which you started, it seems you learned a lot but, knowledge is incomplete unless you explore from depth, I also used to do copy paste in starting, But, after exploration of Ai2 and Various java classes/methods, it seems easy to me now,
What you can do is investment of some time to understand java thoroughly, asking on community can just give you ideas, atmost some code snippets, but its useless if you just use ctrl + c and ctrl + v. I along with whole community suggest you to :
Regards