Trying to start making extensions I ran into a BlocklyCompile Error

Hello all! I’m taking my first steps into developing extensions and got stuck in setting up the environment. I followed the steps given at: https://community.makeroid.tk/t/how-to-create-an-extension/27 but I ran into a BlockilyCompile Error when trying to build appinventor:

DCDC@DCDC-PC MINGW64 /c/ai/appinventor
    $ ant
    Buildfile: C:\ai\appinventor\build.xml

all:

init:

MakeWarLibsDir:

common_BlocksEditorHttpConstants:

init:

BlocksEditorHttpConstants:

common_CommonUtils:

init:

CommonUtils:

common_CommonVersion:

init:

CommonVersion:
 [exec] Result: 128
 [exec] Result: 128

components_CommonConstants:

init:

CommonConstants:

WarLibs:

AiSharedLib:

AiServerLib:

components_JsonComponentDescription:

init:

CommonConstants:

ComponentProcessingLib:

HtmlEntities:

common_CommonUtils:

init:

CommonUtils:

AnnotationProcessors:

common_CommonVersion:

init:

CommonVersion:
 [exec] Result: 128
 [exec] Result: 128

AndroidRuntime:

JsonComponentDescription:

components_ComponentTranslation:

init:

CommonConstants:

ComponentProcessingLib:

HtmlEntities:

common_CommonUtils:

init:

CommonUtils:

AnnotationProcessors:

common_CommonVersion:

init:

CommonVersion:
 [exec] Result: 128
 [exec] Result: 128

AndroidRuntime:

ComponentTranslation:

AiClientLib:

AiRebindLib:

blocklyeditor_BlocklyCompile:

init:

CheckBlocklyCompile:

BlocklyCompile:
 [java] Exception in thread "main" java.lang.IllegalArgumentException: File not found at: C:\ai\appinventor\blocklyeditor\..\lib\closure-library\closure\goog
 [java]     at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
 [java]     at org.plovr.Manifest.getInputs(Manifest.java:393)
 [java]     at org.plovr.Manifest.getFiles(Manifest.java:369)
 [java]     at org.plovr.Manifest.getFiles(Manifest.java:363)
 [java]     at org.plovr.Manifest.getAllDependencies(Manifest.java:324)
 [java]     at org.plovr.Manifest.getInputsInCompilationOrder(Manifest.java:193)
 [java]     at org.plovr.Manifest.getCompilerArguments(Manifest.java:177)
 [java]     at org.plovr.CompileRequestHandler.compile(CompileRequestHandler.java:94)
 [java]     at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:58)
 [java]     at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:31)
 [java]     at org.plovr.cli.AbstractCommandRunner.runCommand(AbstractCommandRunner.java:41)
 [java]     at org.plovr.cli.Command.execute(Command.java:47)
 [java]     at org.plovr.cli.Main.mainWithExitCode(Main.java:56)
 [java]     at org.plovr.cli.Main.main(Main.java:30)
 [java] Picked up _JAVA_OPTIONS: -Xmx1024M

BUILD FAILED
C:\ai\appinventor\build.xml:16: The following error occurred while executing this line:
C:\ai\appinventor\build-common.xml:284: The following error occurred while executing this line:
C:\ai\appinventor\blocklyeditor\build.xml:63: Java returned: 1

Total time: 11 seconds
Picked up _JAVA_OPTIONS: -Xmx1024M

Any ideas on how to solve it? I have checked the documentation about how to check the dependencies but I’m getting nowhere appinventor-sources/README.md at master · mit-cml/appinventor-sources · GitHub

Thank you!

You haven’t had downloaded submodules from Github, but those are not required for making extensions. You can simply run ant extensions command to build an extension successfully

1 Like

Thank you so much!

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