Facing issue while building appinventor InvokeDynamic not supported

Hi Greate MIT Team !

I want to run appinventor in my server using powershell here is my system configuration

image

and clean process is success full

Buildfile: /root/appinventor-sources/appinventor/build.xml

clean:

clean:
   [delete] Deleting directory /root/appinventor-sources/appinventor/build/appengine
   [delete] Deleting directory /root/appinventor-sources/appinventor/appengine/build
   [delete] Deleting directory /root/appinventor-sources/appinventor/appengine/reports

clean:
   [delete] Deleting directory /root/appinventor-sources/appinventor/build/blocklyeditor
   [delete] Deleting directory /root/appinventor-sources/appinventor/blocklyeditor/build
   [delete] Deleting directory /root/appinventor-sources/appinventor/blocklyeditor/reports

clean:

clean:
   [delete] Deleting directory /root/appinventor-sources/appinventor/build/buildserver
   [delete] Deleting directory /root/appinventor-sources/appinventor/buildserver/build
   [delete] Deleting directory /root/appinventor-sources/appinventor/buildserver/reports

clean:
   [delete] Deleting directory /root/appinventor-sources/appinventor/build/common
   [delete] Deleting directory /root/appinventor-sources/appinventor/common/build
   [delete] Deleting directory /root/appinventor-sources/appinventor/common/reports

clean:
   [delete] Deleting directory /root/appinventor-sources/appinventor/build/components
   [delete] Deleting directory /root/appinventor-sources/appinventor/components/build
   [delete] Deleting directory /root/appinventor-sources/appinventor/components/reports

clean:
   [delete] Deleting directory /root/appinventor-sources/appinventor/build

BUILD SUCCESSFUL
Total time: 1 second

creating auth key is also successful

Buildfile: /root/appinventor-sources/appinventor/build.xml

MakeAuthKey:

init:
    [mkdir] Created dir: /root/appinventor-sources/appinventor/build/appengine
    [mkdir] Created dir: /root/appinventor-sources/appinventor/appengine/build
    [mkdir] Created dir: /root/appinventor-sources/appinventor/appengine/build/classes
    [mkdir] Created dir: /root/appinventor-sources/appinventor/appengine/reports
    [mkdir] Created dir: /root/appinventor-sources/appinventor/appengine/reports/raw
    [mkdir] Created dir: /root/appinventor-sources/appinventor/appengine/reports/html

CheckAuthKey:

MakeAuthKey:

BUILD SUCCESSFUL
Total time: 0 seconds

when i am trying to build everything going ok until

     [java]
     [java] PARSE ERROR:
     [java] InvokeDynamic not supported
     [java] ...while preparsing cst 0047 at offset 00000144
     [java] ...while parsing androidx/core/app/ActivityCompat.class
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.shaded.apache.commons.logging.LogFactory$4) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.shaded.apache.commons.logging.LogFactory$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.shaded.apache.commons.logging.LogFactory$5) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.shaded.apache.commons.logging.LogFactory$2) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.shaded.apache.commons.logging.LogFactory$3) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.shaded.apache.commons.logging.LogFactory$6) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.shaded.apache.commons.logging.impl.LogFactoryImpl$2) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.shaded.apache.commons.logging.impl.SimpleLog$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.shaded.apache.commons.logging.impl.WeakHashtable$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.shaded.apache.commons.logging.impl.LogFactoryImpl$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.shaded.apache.commons.logging.impl.LogFactoryImpl$3) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.log.Log$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.servlet.CGI$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.util.Scanner$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.util.ajax.JSON$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.util.ajax.JSON$2) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.util.ajax.JSONPojoConvertor$2) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.util.ajax.JSONPojoConvertor$3) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.util.ajax.JSONPojoConvertor$4) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.util.ajax.JSONPojoConvertor$5) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.util.ajax.JSONPojoConvertor$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.io.nio.SelectorManager$SelectSet$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.AbstractBuffers$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.HttpConnection$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.HttpFields$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.HttpFields$4) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.HttpFields$2) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.HttpFields$3) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.HttpFields$5) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.Request$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.deployer.ContextDeployer$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.nio.SelectChannelConnector$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.security.HashUserRealm$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.security.HashUserRealm$2) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.security.SecurityHandler$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.security.SecurityHandler$2) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.security.SslSocketConnector$SslConnection$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.servlet.HashSessionManager$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.jetty.servlet.HashSessionManager$2) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.resource.JarResource$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] warning: Ignoring InnerClasses attribute for an anonymous inner class
     [java] (org.mortbay.xml.XmlParser$Node$1) that doesn't come with an
     [java] associated EnclosingMethod attribute. This class was probably produced by a
     [java] compiler that did not target the modern .class file format. The recommended
     [java] solution is to recompile the class from source, using an up-to-date compiler
     [java] and without specifying any "-target" type options. The consequence of ignoring
     [java] this warning is that reflective operations on this class will incorrectly
     [java] indicate that it is *not* an inner class.
     [java] 1 error; aborting
     [java] [RunMultidex] ERROR: DX returned an error code
     [java] [RunMultidex] Task errored in 39.429 seconds

BUILD FAILED
/root/appinventor-sources/appinventor/build.xml:22: The following error occurred while executing this line:
/root/appinventor-sources/appinventor/buildserver/build.xml:204: Java returned: 1

Total time: 5 minutes 9 seconds

so please help what this this error and how to solve it.

thank you.

Where is your git HEAD currently pointed at? We have supported desugarring Java 8 functionality (e.g., InvokeDynamic) to work with Android since January.

root@codestudio-srv1:~# java -version
openjdk version "1.8.0_422"
OpenJDK Runtime Environment (build 1.8.0_422-8u422-b05-1~20.04-b05)
OpenJDK 64-Bit Server VM (build 25.422-b05, mixed mode)
root@codestudio-srv1:~# git log -1
fatal: not a git repository (or any of the parent directories): .git
root@codestudio-srv1:~# git symbolic-ref --short HEAD
fatal: not a git repository (or any of the parent directories): .git
root@codestudio-srv1:~# git branch --show-current
fatal: not a git repository (or any of the parent directories): .git
root@codestudio-srv1:~# git --version
git version 2.25.1
root@codestudio-srv1:~#

after applying git init command

root@codestudio-srv1:~/appinventor-sources/appinventor# git symbolic-ref --short HEAD
master
root@codestudio-srv1:~/appinventor-sources/appinventor# git branch --show-current
master
root@codestudio-srv1:~/appinventor-sources/appinventor# git --version
git version 2.25.1
root@codestudio-srv1:~/appinventor-sources/appinventor#

and trying to build same error again

The fact that you received the error fatal: not a git repository suggests that you did not clone from GitHub. This is necessary for two reasons: 1) some dependencies are indicated in the .gitmodules file, which doesn't get included when exporting a ZIP file from GitHub, and 2) the build derives its ID based on the git history, which is lost when using the aforementioned export. Try using a git clone of our main repo and then proceed from there.

1 Like

ok i have deleted that and run the command

git clone https://github.com/mit-cml/appinventor-sources.git

after cloning success

cd appinventor-sources
than
git submodule update --init

and then
./buildtoools
and made auth key success , when i am trying to build appinventor by pressing 3 or ant all the same error throw

please if you provide me steps from start to end that i can follow i will thankful of you

sir please have a look i am trying to install it since two weak

What is the output of ant -diagnostics?

Hello, I was searching for a similar problem in another project and found this post, I made a clone of the inventor app on GitHub, when building with the repository's own GitHub Action (which is disabled for some reason) I have the same problem, However, updating it to use Java 11 works again.