When Compiled I get Errors

hello sir @ewpatton i tried again but this time some other error came -

$ ant noplay
Picked up _JAVA_OPTIONS: -Xmx2048M
Buildfile: C:\AppInventorExtensions\appinventor-sources-master\appinventor\build.xml

noplay:

init:

MakeWarLibsDir:

common_CommonUtils:

init:

CommonUtils:

common_CommonVersion:

init:

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

components_CommonConstants:

init:

CommonConstants:

WarLibs:

AiSharedLib:

AiServerLib:

components_AndroidRuntime:

common_CommonVersion:

init:

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

init:

HtmlEntities:

Barcode:

CopyComponentLibraries:

common_CommonUtils:

init:

CommonUtils:

CommonConstants:

AnnotationProcessors:

AndroidRuntime.uptodate:

AndroidRuntime:
    [javac] Compiling 297 source files to C:\AppInventorExtensions\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] warning: In component FileMaker, event PermissionsNotGranted is missing a description.
    [javac] warning: In component FileMaker, method AskRequiredPermissions is missing a description.
    [javac] warning: In component FileMaker, method MakeFile is missing a description.
    [javac] warning: In component FileMaker, method EditFile is missing a description.
    [javac] warning: In component FileMaker, method ReadFile is missing a description.
    [javac] warning: In component FileMaker, method ChangeFileExtension is missing a description.
    [javac] warning: In component SpellChecker, event GotSuggestions is missing a description.
    [javac] warning: In component SpellChecker, method GetSuggestions is missing a description.
    [javac] Note: Wrote file file:/C:/AppInventorExtensions/appinventor-sources-master/appinventor/components/build/classes/AndroidRuntime/simple_components.json
    [javac] warning: In component FileMaker, event PermissionsNotGranted is missing a description.
    [javac] warning: In component FileMaker, method AskRequiredPermissions is missing a description.
    [javac] warning: In component FileMaker, method MakeFile is missing a description.
    [javac] warning: In component FileMaker, method EditFile is missing a description.
    [javac] warning: In component FileMaker, method ReadFile is missing a description.
    [javac] warning: In component FileMaker, method ChangeFileExtension is missing a description.
    [javac] warning: In component SpellChecker, event GotSuggestions is missing a description.
    [javac] warning: In component SpellChecker, method GetSuggestions is missing a description.
    [javac] Note: Wrote file file:/C:/AppInventorExtensions/appinventor-sources-master/appinventor/components/build/classes/AndroidRuntime/simple_components.txt
    [javac] Note: Wrote file file:/C:/AppInventorExtensions/appinventor-sources-master/appinventor/components/build/classes/AndroidRuntime/simple_components_build_info.json
    [javac] warning: In component FileMaker, event PermissionsNotGranted is missing a description.
    [javac] warning: In component FileMaker, method AskRequiredPermissions is missing a description.
    [javac] warning: In component FileMaker, method MakeFile is missing a description.
    [javac] warning: In component FileMaker, method EditFile is missing a description.
    [javac] warning: In component FileMaker, method ReadFile is missing a description.
    [javac] warning: In component FileMaker, method ChangeFileExtension is missing a description.
    [javac] warning: In component SpellChecker, event GotSuggestions is missing a description.
    [javac] warning: In component SpellChecker, method GetSuggestions is missing a description.
    [javac] Note: Wrote file file:/C:/AppInventorExtensions/appinventor-sources-master/appinventor/components/build/classes/AndroidRuntime/AutogeneratedOdeMessages.java
    [javac] Note: Wrote file file:/C:/AppInventorExtensions/appinventor-sources-master/appinventor/components/build/classes/AndroidRuntime/ComponentsTranslation.java
    [javac] warning: In component FileMaker, event PermissionsNotGranted is missing a description.
    [javac] warning: In component FileMaker, method AskRequiredPermissions is missing a description.
    [javac] warning: In component FileMaker, method MakeFile is missing a description.
    [javac] warning: In component FileMaker, method EditFile is missing a description.
    [javac] warning: In component FileMaker, method ReadFile is missing a description.
    [javac] warning: In component FileMaker, method ChangeFileExtension is missing a description.
    [javac] warning: In component SpellChecker, event GotSuggestions is missing a description.
    [javac] warning: In component SpellChecker, method GetSuggestions is missing a description.
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 32 warnings
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\util\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\androidmanifest\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\collect\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\errors\package-info.class
      [jar] Building jar: C:\AppInventorExtensions\appinventor-sources-master\appinventor\build\components\AndroidRuntime.jar
     [copy] Copying 3 files to C:\AppInventorExtensions\appinventor-sources-master\appinventor\build\components
    [mkdir] Created dir: C:\AppInventorExtensions\appinventor-sources-master\appinventor\build\components\ComponentTranslation\src\com\google\appinventor\client
     [copy] Copying 2 files to C:\AppInventorExtensions\appinventor-sources-master\appinventor\build\components\ComponentTranslation\src\com\google\appinventor\client
     [copy] Copying 12 files to C:\AppInventorExtensions\appinventor-sources-master\appinventor\docs\markdown\reference\components

AiClientLib:
    [mkdir] Created dir: C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes
    [javac] Compiling 391 source files to C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\youngandroid\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\youngandroid\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\commands\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\boxes\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\project\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\youngandroid\palette\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\simple\palette\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\simple\components\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\simple\package-info.class
    [javac] Creating empty C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\youngandroid\properties\package-info.class
     [copy] Copying 1 file to C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor
     [copy] Copying 161 files to C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes
     [copy] Copied 15 empty directories to 9 empty directories under C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\war\WEB-INF\classes

AiRebindLib:
    [mkdir] Created dir: C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\classes\AiRebindLib
    [javac] Compiling 1 source file to C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\classes\AiRebindLib
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
      [jar] Building jar: C:\AppInventorExtensions\appinventor-sources-master\appinventor\appengine\build\AiRebindLib.jar

blocklyeditor_BlocklyTranslationGenerator:

CheckBlocklyTranslations:

init:
    [mkdir] Created dir: C:\AppInventorExtensions\appinventor-sources-master\appinventor\build\blocklyeditor
    [mkdir] Created dir: C:\AppInventorExtensions\appinventor-sources-master\appinventor\blocklyeditor\build
    [mkdir] Created dir: C:\AppInventorExtensions\appinventor-sources-master\appinventor\blocklyeditor\build\classes
    [mkdir] Created dir: C:\AppInventorExtensions\appinventor-sources-master\appinventor\blocklyeditor\reports
    [mkdir] Created dir: C:\AppInventorExtensions\appinventor-sources-master\appinventor\blocklyeditor\reports\raw
    [mkdir] Created dir: C:\AppInventorExtensions\appinventor-sources-master\appinventor\blocklyeditor\reports\html

CheckBlocklyCompile:

BlocklyCompile:
     [java] Picked up _JAVA_OPTIONS: -Xmx2048M
     [java] Exception in thread "main" java.lang.IllegalArgumentException: File not found at: C:\AppInventorExtensions\appinventor-sources-master\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)

BUILD FAILED
C:\AppInventorExtensions\appinventor-sources-master\appinventor\build.xml:50: The following error occurred while executing this line:
C:\AppInventorExtensions\appinventor-sources-master\appinventor\build-common.xml:299: The following error occurred while executing this line:
C:\AppInventorExtensions\appinventor-sources-master\appinventor\blocklyeditor\build.xml:118: Java returned: 1

Total time: 15 seconds

try running
git submodule deinit --all
and after that
git submodule update --init

1 Like

thanks but my antivirus is deleting the file everytime i reported the issue to quick heal

1 Like

Whitelist the appinventor directory
as I have written here

:wink:

1 Like


@Pradevel pls help

this is not a command

have you installed google cloud SDK?

sorry i did not installed and i already received a message from @Pradevel for downloading it