BlocklyCompile Errors Prevent Successfully Building App Inventor

Hello, I am trying to get a development environment up and running using Vagrant.
To do so, I am following the Readme on GitHub

But the ant command fails with the following error.

     [java] Exception in thread "main" java.lang.IllegalArgumentException: File not found at: /vagrant/appinventor/blocklyeditor/../lib/closure-library/closure/goog
     [java]     at
     [java]     at org.plovr.Manifest.getInputs(
     [java]     at org.plovr.Manifest.getFiles(
     [java]     at org.plovr.Manifest.getFiles(
     [java]     at org.plovr.Manifest.getAllDependencies(
     [java]     at org.plovr.Manifest.getInputsInCompilationOrder(
     [java]     at org.plovr.Manifest.getCompilerArguments(
     [java]     at org.plovr.CompileRequestHandler.compile(
     [java]     at org.plovr.cli.BuildCommand.runCommandWithOptions(
     [java]     at org.plovr.cli.BuildCommand.runCommandWithOptions(
     [java]     at org.plovr.cli.AbstractCommandRunner.runCommand(
     [java]     at org.plovr.cli.Command.execute(
     [java]     at org.plovr.cli.Main.mainWithExitCode(
     [java]     at org.plovr.cli.Main.main(

/vagrant/appinventor/build.xml:16: The following error occurred while executing this line:
/vagrant/appinventor/build-common.xml:299: The following error occurred while executing this line:
/vagrant/appinventor/blocklyeditor/build.xml:120: Java returned: 1

Total time: 2 minutes 44 seconds

The versions of java and ant are as follows:

vagrant@ubuntu-bionic:/vagrant/appinventor$ java -version
openjdk version "1.8.0_312"
OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~18.04-b07)
OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)
vagrant@ubuntu-bionic:/vagrant/appinventor$ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019

Please guide me.

You have to run this command to solve it.

git submodule update --init

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.