A Guide For building Appinventor In both Windows and Linux!

In line 68 you can change that
<center><p><a href="/login/sendlink" style="text-decoration:none;">${passwordclickhereLabel}</a></p></center>

Replace your text with ${passwordclickhereLabel}

1 Like

Many many thanks for this :blush:

1 Like

BTW can I got to know that from where these tags
${passwordclikcherelabel} is getting values

These string substitutions in the JSP file are provided by LoginServlet.java.

3 Likes

hi

i've got this error to start the server

this is my error

C:\Users\MAUARII\Desktop\appinventor-sources\appinventor>java_dev_appserver --port=8888 --address=0.0.0.0 appengine/build/war/
Executing [C:\Program Files\Java\jre1.8.0_311\bin\java, -Dfile.encoding=UTF-8, -classpath, C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\java\lib\appengine-tools-api.jar, com.google.appengine.tools.development.DevAppServerMain, --property=kickstart.user.dir=C:\Users\MAUARII\Desktop\appinventor-sources\appinventor, --no_java_agent, --promote_yaml, --port=8888, --address=0.0.0.0, C:\Users\MAUARII\Desktop\appinventor-sources\appinventor\appengine\build\war]
janv. 04, 2022 12:46:19 AM com.google.appengine.tools.development.SystemPropertiesManager setSystemProperties
INFOS: Overwriting system property key 'java.util.logging.config.file', value 'C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\java\config\sdk\logging.properties' with value 'WEB-INF/logging.properties' from 'C:\Users\MAUARII\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\appengine-web.xml'
2022-01-04 00:46:19.160:INFO::main: Logging initialized @12594ms to org.eclipse.jetty.util.log.StdErrLog
2022-01-04 00:46:19.222:WARN:oejs.AbstractConnector:main: Ignoring deprecated socket close linger time
java.io.IOException: Failed to bind to /0.0.0.0:8888
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310)
at com.google.appengine.tools.development.jetty9.JettyContainerService.connectContainer(JettyContainerService.java:337)
at com.google.appengine.tools.development.AbstractContainerService.createConnection(AbstractContainerService.java:282)
at com.google.appengine.tools.development.AbstractInstanceHolder.createConnection(AbstractInstanceHolder.java:53)
at com.google.appengine.tools.development.AbstractModule.createConnection(AbstractModule.java:88)
at com.google.appengine.tools.development.Modules.createConnections(Modules.java:113)
at com.google.appengine.tools.development.DevAppServerImpl.doStart(DevAppServerImpl.java:255)
at com.google.appengine.tools.development.DevAppServerImpl.access$000(DevAppServerImpl.java:58)
at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:233)
at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:231)
at java.security.AccessController.doPrivileged(Native Method)
at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:231)
at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:406)
at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:59)
at com.google.appengine.tools.development.DevAppServerMain.run(DevAppServerMain.java:259)
at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:250)
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344)
... 16 more

Please help ...

I dont know where to run the command also

java_dev_appserver --port=8888 --address=0.0.0.0 appengine/build/war/

Hello @XPF_Support

You will need to check that no other program is using port :8888 and that there's no other Appinventor instance making use of the port.
One way to find out processes using the port and killing them is the following:
1- Run netstat -ano | grep ":8888" in a gitbash terminal

  • You should be listed a process and its PID ( the last one at right )
    2- Using the PID you get earlier, run tskill PID to trrminate the process.
2 Likes

ok i try now thank your for your fast reply

1 Like

thank you

Server is runnig on localhost. THANK YOU @mohamed_tamer

1 Like

a


I am confusing in step 6 in windows

help wanted

Check path for Google Cloud SDK

You have to use this command in git bash

java_dev_appserver.sh --port=8888 --address=0.0.0.0 appengine/build/war

when using java_dev_appserver cmd in git bash dont forget to add .sh or .cmd which will make the cmd java_dev_appserver.sh --port=8888 --address=0.0.0.0 appengine/build/war

its all running well but, i got error of build failed and I tried after whitelisting the directory from antivirus program, I was using ant 1.10.12 and java 8 SDK

can you show?

Hey! I resolved this error . but I got another error I am using gitbash here
s

Have you checked path as mentioned above ?

Did you read anything i said?

ok thanks for it

w
I meet another error

You have to download python for making gclousdk work