Build Failed when trying to build the sources

Hello Team

Can you please help me with this error message. I have followed this procedure.

https://docs.google.com/document/d/1Xc9yt02x3BRoq5m1PJHBr81OOv69rEBy8LVG_84j9jc/pub

Error:
Manifest
[java] INFO: VName: 2.57b
[java] Feb 23, 2020 2:24:47 PM com.google.appinventor.buildserver.Execution execute
[java] INFO: ___Executing C:\Users\APPBUI~1\AppData\Local\Temp\aapt7830921953052138045 package -v -f -M C:\Users\APPBUI~1\AppData\Local\Temp\1582448082981_0.717564337675808-0\youngandroidproject…\build\AndroidManifest.xml -S C:\Users\APPBUI~1\AppData\Local\Temp\1582448082981_0.717564337675808-0\youngandroidproject…\build\intermediates\res\merged -A C:\Users\APPBUI~1\AppData\Local\Temp\1582448082981_0.717564337675808-0\youngandroidproject…\build\assets -I C:\Users\APPBUI~1\AppData\Local\Temp\android3824666029844780883.jar -F C:\Users\APPBUI~1\AppData\Local\Temp\1582448082981_0.717564337675808-0\youngandroidproject…\build\deploy\MIT AI2 Companion.ap -m -J C:\Users\APPBUI~1\AppData\Local\Temp\1582448082981_0.717564337675808-0\youngandroidproject…\build\generated\src --custom-package edu.mit.appinventor.aicompanion3 --output-text-symbols C:\Users\APPBUI~1\AppData\Local\Temp\1582448082981_0.717564337675808-0\youngandroidproject…\build\generated\symbols --no-version-vectors
[java] Feb 23, 2020 2:24:48 PM com.google.appinventor.buildserver.Compiler runAaptPackage
[java] WARNING: YAIL compiler - AAPT execution failed.

BUILD FAILED
C:\workareas\appinventor-sources\appinventor\build.xml:21: The following error occurred while executing this line:
C:\workareas\appinventor-sources\appinventor\buildserver\build.xml:189: Java returned: 1

Total time: 3 minutes 5 seconds

As the document states it isn’t always up to date with the App Inventor sources. Try following the README. If this error keeps occurring, please provide more information on which step in the document or after which command the build fails.

Thanks @bartmathijssen

Here is the full log… thank you for your help in advance.

     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 11 files to C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib

AiSharedLib:
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\appengine\build\classes\AiSharedLib
    [javac] Compiling 89 source files to C:\workareas\appinventor-sources\appinventor\appengine\build\classes\AiSharedLib
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
      [jar] Building jar: C:\workareas\appinventor-sources\appinventor\appengine\build\AiSharedLib.jar
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib

AiServerLib:
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\appengine\build\classes\AiServerLib
     [copy] Copying 3 files to C:\workareas\appinventor-sources\appinventor\appengine\build\classes\AiServerLib\com\google\appinventor\server
    [javac] Compiling 82 source files to C:\workareas\appinventor-sources\appinventor\appengine\build\classes\AiServerLib
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [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.
      [jar] Building jar: C:\workareas\appinventor-sources\appinventor\appengine\build\AiServerLib.jar
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib

components_AndroidRuntime:

common_CommonVersion:

init:

CommonVersion:

init:

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

Barcode:
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\components\build\classes\Barcode
    [javac] Compiling 40 source files to C:\workareas\appinventor-sources\appinventor\components\build\classes\Barcode
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [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] 1 warning
      [jar] Building jar: C:\workareas\appinventor-sources\appinventor\build\components\deps\Barcode.jar

CopyComponentLibraries:
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps\armeabi-v7a
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps\arm64-v8a
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps\x86_64
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 57 files to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 2 files to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\build\components\deps

common_CommonUtils:

init:

CommonUtils:

CommonConstants:

AnnotationProcessors:
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
    [javac] Compiling 33 source files to C:\workareas\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] Note: C:\workareas\appinventor-sources\appinventor\components\src\com\google\appinventor\components\scripts\ComponentProcessor.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: C:\workareas\appinventor-sources\appinventor\components\src\com\google\appinventor\components\scripts\ComponentProcessor.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\annotations\androidmanifest\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\annotations\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\scripts\package-info.class
     [copy] Copying 22 files to C:\workareas\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
      [jar] Building jar: C:\workareas\appinventor-sources\appinventor\components\build\AnnotationProcessors.jar

AndroidRuntime.uptodate:

AndroidRuntime:
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\components\build\classes\AndroidRuntime
    [javac] Compiling 276 source files to C:\workareas\appinventor-sources\appinventor\components\build\classes\AndroidRuntime
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] Note: Wrote file file:/C:/workareas/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/simple_components.json
    [javac] Note: Wrote file file:/C:/workareas/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/simple_components.txt
    [javac] Note: Wrote file file:/C:/workareas/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/simple_components_build_info.json
    [javac] Note: Wrote file file:/C:/workareas/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/AutogeneratedOdeMessages.java
    [javac] Note: Wrote file file:/C:/workareas/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/ComponentsTranslation.java
    [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:\workareas\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\util\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\androidmanifest\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\collect\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\errors\package-info.class
      [jar] Building jar: C:\workareas\appinventor-sources\appinventor\build\components\AndroidRuntime.jar
     [copy] Copying 3 files to C:\workareas\appinventor-sources\appinventor\build\components
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\build\components\ComponentTranslation\src\com\google\appinventor\client
     [copy] Copying 2 files to C:\workareas\appinventor-sources\appinventor\build\components\ComponentTranslation\src\com\google\appinventor\client
     [copy] Copying 11 files to C:\workareas\appinventor-sources\appinventor\docs\markdown\reference\components

AiClientLib:
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes
    [javac] Compiling 410 source files to C:\workareas\appinventor-sources\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:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\youngandroid\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\youngandroid\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\commands\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\boxes\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\project\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\youngandroid\palette\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\simple\palette\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\simple\components\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\simple\package-info.class
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\youngandroid\properties\package-info.class
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor
     [copy] Copying 141 files to C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes
     [copy] Copied 15 empty directories to 11 empty directories under C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes

AiRebindLib:
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\appengine\build\classes\AiRebindLib
    [javac] Compiling 1 source file to C:\workareas\appinventor-sources\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:\workareas\appinventor-sources\appinventor\appengine\build\AiRebindLib.jar

blocklyeditor_BlocklyCompile:

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

CheckBlocklyCompile:

BlocklyCompile:

CheckDocs:

BuildDocs:
     [exec] Execute failed: java.io.IOException: Cannot run program "bundle" (in directory "C:\workareas\appinventor-sources\appinventor\docs\markdown"): CreateProcess error=2, The system cannot find the file specified
     [exec] Execute failed: java.io.IOException: Cannot run program "bundle" (in directory "C:\workareas\appinventor-sources\appinventor\docs\markdown"): CreateProcess error=2, The system cannot find the file specified

CopyToBuildWar:
     [copy] Copying 435 files to C:\workareas\appinventor-sources\appinventor\appengine\build\war
     [copy] Copying 8 files to C:\workareas\appinventor-sources\appinventor\appengine\build\war\static\css
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\appengine\build\war\static\media
     [copy] Copying 28 files to C:\workareas\appinventor-sources\appinventor\appengine\build\war\static\media
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\youngandroid
     [copy] Copying 6 files to C:\workareas\appinventor-sources\appinventor\appengine\build\war\static
     [copy] Copying 27 files to C:\workareas\appinventor-sources\appinventor\appengine\build\war\static

CheckYaClientApp:

YaClientApp:
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\appengine\build\extra
     [java] Compiling module com.google.appinventor.YaClient
     [java]    Ignored 3 units with compilation errors in first pass.
     [java] Compile with -strict or with -logLevel set to DEBUG or WARN to see all errors.
     [java]    Ignored 2 units with compilation errors in first pass.
     [java] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
     [java]    Computing all possible rebind results for 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource'
     [java]       Rebinding com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource
     [java]          Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
     [java]             JsniBundleGenerator - importing external javascript: com/google/appinventor/client/editor/youngandroid/blockly.js
     [java]    Compiling 1 permutation
     [java]       Compiling permutation 0...
     [java]    Compile of permutations succeeded
     [java]    Compilation succeeded -- 118.764s
     [java] Linking into C:\workareas\appinventor-sources\appinventor\appengine\build\war\ode; Writing extras to C:\workareas\appinventor-sources\appinventor\appengine\build\extra\ode
     [java]    Link succeeded
     [java]    Linking succeeded -- 4.271s

CheckKeystore:

Keystore:
     [echo] Using KeyczarTool to generate keystore
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF\keystore
     [java] log4j:WARN No appenders could be found for logger (org.keyczar.Keyczar).
     [java] log4j:WARN Please initialize the log4j system properly.
     [java] log4j:WARN No appenders could be found for logger (org.keyczar.Keyczar).
     [java] log4j:WARN Please initialize the log4j system properly.

CheckAuthKey:

InstallAuthKey:
    [unzip] Expanding: C:\Users\APPBUILDER\.appinventor\authkey.zip into C:\workareas\appinventor-sources\appinventor\appengine\build\war\WEB-INF

all:

init:

CheckBlocklyCompile:

BlocklyCompile:

all:

init:

CommonUtils:

CommonVersion:

all:

init:
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\build\buildserver
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\buildserver\build
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\buildserver\build\classes
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\buildserver\reports
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\buildserver\reports\raw
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\buildserver\reports\html

common_CommonUtils:

init:

CommonUtils:

common_CommonVersion:

init:

CommonVersion:

components_CommonConstants:

init:

CommonConstants:

CopyToRunLibDir:
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\buildserver\build\run\lib
     [copy] Copying 37 files to C:\workareas\appinventor-sources\appinventor\buildserver\build\run\lib

components_AndroidRuntime:

common_CommonVersion:

init:

CommonVersion:

init:

HtmlEntities:

Barcode:

CopyComponentLibraries:

common_CommonUtils:

init:

CommonUtils:

CommonConstants:

AnnotationProcessors:

AndroidRuntime.uptodate:

AndroidRuntime:

BuildServer:
    [mkdir] Created dir: C:\workareas\appinventor-sources\appinventor\buildserver\build\classes\BuildServer
    [javac] Compiling 20 source files to C:\workareas\appinventor-sources\appinventor\buildserver\build\classes\BuildServer
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning
    [javac] Creating empty C:\workareas\appinventor-sources\appinventor\buildserver\build\classes\BuildServer\com\google\appinventor\buildserver\package-info.class
     [copy] Copying 11 files to C:\workareas\appinventor-sources\appinventor\buildserver\build\classes\BuildServer\files
     [copy] Copying 92 files to C:\workareas\appinventor-sources\appinventor\buildserver\build\classes\BuildServer\files
     [copy] Copying 5 files to C:\workareas\appinventor-sources\appinventor\buildserver\build\classes\BuildServer\tools
     [copy] Copying 3 files to C:\workareas\appinventor-sources\appinventor\buildserver\build\classes\BuildServer\tools
      [jar] Building jar: C:\workareas\appinventor-sources\appinventor\buildserver\build\run\lib\BuildServer.jar

all:

init:

CommonConstants:

common_CommonVersion:

init:

CommonVersion:

HtmlEntities:

Barcode:

CopyComponentLibraries:

common_CommonUtils:

init:

CommonUtils:

AnnotationProcessors:

AndroidRuntime.uptodate:

AndroidRuntime:

all:

init:

CheckKeystore:

MakeKeyStore:

CheckPlayAppSrcZip:

GenPlayAppSrcZip:
     [copy] Copying 1 file to C:\workareas\appinventor-sources\appinventor\aiplayapp
      [zip] Building zip: C:\workareas\appinventor-sources\appinventor\buildserver\build\aiplayapp.zip
   [delete] Deleting: C:\workareas\appinventor-sources\appinventor\aiplayapp\android.keystore

common_CommonUtils:

init:

CommonUtils:

common_CommonVersion:

init:

CommonVersion:

components_CommonConstants:

init:

CommonConstants:

CopyToRunLibDir:

components_AndroidRuntime:

common_CommonVersion:

init:

CommonVersion:

init:

HtmlEntities:

Barcode:

CopyComponentLibraries:

common_CommonUtils:

init:

CommonUtils:

CommonConstants:

AnnotationProcessors:

AndroidRuntime.uptodate:

AndroidRuntime:

BuildServer:

CheckPlayApp:

PlayApp:
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder build
     [java] INFO: temporary project root: C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\android.keystore from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\assets\AI2Companion-Icon.png from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\assets\Instructions.png from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\assets\connectwCode.png from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\assets\connectwQR.png from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\assets\external_comps\edu.mit.appinventor.companionextras\classes.jar from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\assets\external_comps\edu.mit.appinventor.companionextras\component.json from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\assets\external_comps\edu.mit.appinventor.companionextras\components.json from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\assets\external_comps\edu.mit.appinventor.companionextras\extension.properties from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\assets\external_comps\edu.mit.appinventor.companionextras\files\AndroidRuntime.jar from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\assets\external_comps\edu.mit.appinventor.companionextras\files\component_build_info.json from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\assets\external_comps\edu.mit.appinventor.companionextras\files\component_build_infos.json from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\assets\mooning.png from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\assets\splash.html from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\src\edu\mit\appinventor\aicompanion3\Screen1.bky from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\src\edu\mit\appinventor\aicompanion3\Screen1.scm from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\src\edu\mit\appinventor\aicompanion3\Screen1.yail from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\youngandroidproject\project.properties from input zip
     [java] Feb 23, 2020 2:58:55 PM com.google.appinventor.buildserver.Compiler generatePermissions
     [java] INFO: usesLocation = False
     [java] Component assets needed, n = 2
     [java] Component activities needed, n = 3
     [java] Libraries needed, n = 34
     [java] Native Libraries needed, n = 3
     [java] Permissions needed, n = 101
     [java] Feb 23, 2020 2:58:57 PM com.google.appinventor.buildserver.Compiler writeAndroidManifest
     [java] INFO: VCode: 12825703
     [java] Feb 23, 2020 2:58:57 PM com.google.appinventor.buildserver.Compiler writeAndroidManifest
     [java] INFO: VName: 2.57b
     [java] Feb 23, 2020 2:59:00 PM com.google.appinventor.buildserver.Execution execute
     [java] INFO: ____Executing C:\Users\APPBUI~1\AppData\Local\Temp\aapt1669747309946432073 package -v -f -M C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\youngandroidproject\..\build\AndroidManifest.xml -S C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\youngandroidproject\..\build\intermediates\res\merged -A C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\youngandroidproject\..\build\assets -I C:\Users\APPBUI~1\AppData\Local\Temp\android14567380678486680.jar -F C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\youngandroidproject\..\build\deploy\MIT AI2 Companion.ap_ -m -J C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\youngandroidproject\..\build\generated\src --custom-package edu.mit.appinventor.aicompanion3 --output-text-symbols C:\Users\APPBUI~1\AppData\Local\Temp\1582450135143_0.4074922880726821-0\youngandroidproject\..\build\generated\symbols --no-version-vectors
     [java] Feb 23, 2020 2:59:02 PM com.google.appinventor.buildserver.Compiler runAaptPackage
     [java] WARNING: YAIL compiler - AAPT execution failed.

BUILD FAILED
C:\workareas\appinventor-sources\appinventor\build.xml:21: The following error occurred while executing this line:
C:\workareas\appinventor-sources\appinventor\buildserver\build.xml:189: Java returned: 1

Total time: 3 minutes 29 seconds

no changes. I have downloaded the sources using below steps and executed the build.

## 2.2  The App Inventor source code

Note: If you intend to work with the sources and contribute back to the project, instead of cloning the project as explained in this section, you should fork it instead. More information on how to do that in the document: [Developing App Inventor with git and github](https://www.google.com/url?q=https://docs.google.com/document/d/1sAw0QObTxTWqRX7GQRCa2z9TIV2r5AKT9UKMFF1acZI/pub&sa=D&ust=1582441676594000).

The App Inventor source code is available as a Free and Open Source Software that you can download.  Once you’ve installed the other software listed in section 3, you can clone a git repository of the source code by running the following git command from a shell:

  git clone [https://github.com/mit-cml/appinventor-sources.git](https://www.google.com/url?q=https://github.com/mit-cml/appinventor-sources.git&sa=D&ust=1582441676596000)

This will create a folder named “appinventor-sources” where the sources (and a copy of the repository) will reside. If you have problems with this command, please visit the MIT Center for Mobile Learning  github site at [https://github.com/mit-cml](https://www.google.com/url?q=https://github.com/mit-cml&sa=D&ust=1582441676597000).

We’ll refer to this folder throughout the rest of these instructions as the appinventor parent folder.  The appinventor  parent folder also contains a file called sample-.gitignore. This file should be copied to another file simply named .gitignore which will keep generated files from being added to the git  index (note that the file will be hidden in the finder and terminal after renaming. You can view it passing the flag -a to the ls command: ls -al).

Checking out Blockly as a dependency is also needed, and can be done by issuing the following command (from the appinventor-sources folder):

  git submodule update --init

If you intend to make changes to the MIT CML’s  Blockly fork, please follow instructions in the [Readme file](https://www.google.com/url?q=https://github.com/mit-cml/appinventor-sources%23checkout-dependencies&sa=D&ust=1582441676599000).

## 2.3 App Inventor Dependencies

You will need to install the following items before you build App Inventor. Make sure that the appropriate directories are in your PATH environment variable, otherwise commands in the remainder of this document likely will fail.

* Java Development Kit (JDK) 1.8

* You should be able to run javac -version to get a version number. It should say something along the lines of javac 1.8.0_112 (the first two digits need to match)

* Apache Ant 1.10+

* You should be able to run ant -version to get a version number.

## 2.4 Building App Inventor

As of September 10, 2013 all future development of MIT App Inventor is oriented to App Inventor 2. To that end, the master branch is now the code for App Inventor 2. For a quick guide on the development workflow that the team at MIT follows please look at the [Contributing through github](https://www.google.com/url?q=http://josmas.github.io/contributingToAppInventor2/%23/&sa=D&ust=1582441676601000) slide deck. If you intend to do work on App Inventor 1, the branch ai1 in github is what you are looking for.

With everything set up as above, open your favorite terminal program and navigate to the appinventor-sources parent  folder.  It contains a subfolder called appinventor, and we’ll refer to this folder as the appinventor folder 

Now you can run the command:

$ ant clean

Cleaning isn’t necessary every time you build, but it’s a good idea to clean each time before you build  in case some junk has crept into the various build directories. Note again that if you clean, all your projects will go away, so make sure you have copies of the projects before cleaning. Also note that if you clean, the compilation process will take longer (ant builds incremental changes only, but clean deletes all the available packaged projects).

The App Inventor system requires a secret key called the “authkey.” If you change this key, all users will find themselves logged out when you update your service. To make this key persistant, it is store in a directory name “.appinventor” placed in your home directory on your computer, not in the App Inventor sources. If you have never built App Inventor before, you need to create this key. In general you only need to do this once, even if you delete the App Inventor sources and re-download them.

To build this key, do:

$ ant MakeAuthKey

If you forget this step, you will get an error in the next step. If you do, just do the “MakeAuthKey” step and re-do the step below and all should work.

After you’ve cleaned, you can build App Inventor by running the command

$ ant

Building should take several minutes and end with the message BUILD SUCCESSFUL.  If something goes wrong, it’s most likely a problem with  ant or Java or the App Inventor source.

Done ant clean and rebuilt with ant. It failed again.

PlayApp:
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder build
     [java] INFO: temporary project root: C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\android.keystore from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\assets\AI2Companion-Icon.png from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\assets\Instructions.png from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\assets\connectwCode.png from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\assets\connectwQR.png from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\assets\external_comps\edu.mit.appinventor.companionextras\classes.jar from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\assets\external_comps\edu.mit.appinventor.companionextras\component.json from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\assets\external_comps\edu.mit.appinventor.companionextras\components.json from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\assets\external_comps\edu.mit.appinventor.companionextras\extension.properties from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\assets\external_comps\edu.mit.appinventor.companionextras\files\AndroidRuntime.jar from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\assets\external_comps\edu.mit.appinventor.companionextras\files\component_build_info.json from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\assets\external_comps\edu.mit.appinventor.companionextras\files\component_build_infos.json from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\assets\mooning.png from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\assets\splash.html from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\src\edu\mit\appinventor\aicompanion3\Screen1.bky from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\src\edu\mit\appinventor\aicompanion3\Screen1.scm from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\src\edu\mit\appinventor\aicompanion3\Screen1.yail from input zip
     [java] Feb 23, 2020 4:30:41 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
     [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\youngandroidproject\project.properties from input zip
     [java] Component assets needed, n = 2
     [java] Component activities needed, n = 3
     [java] Libraries needed, n = 34
     [java] Native Libraries needed, n = 3
     [java] Permissions needed, n = 101
     [java] Feb 23, 2020 4:30:42 PM com.google.appinventor.buildserver.Compiler generatePermissions
     [java] INFO: usesLocation = False
     [java] Feb 23, 2020 4:30:44 PM com.google.appinventor.buildserver.Compiler writeAndroidManifest
     [java] INFO: VCode: 12825703
     [java] Feb 23, 2020 4:30:44 PM com.google.appinventor.buildserver.Compiler writeAndroidManifest
     [java] INFO: VName: 2.57b
     [java] Feb 23, 2020 4:30:46 PM com.google.appinventor.buildserver.Execution execute
     [java] INFO: ____Executing C:\Users\APPBUI~1\AppData\Local\Temp\aapt9139732976051864360 package -v -f -M C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\youngandroidproject\..\build\AndroidManifest.xml -S C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\youngandroidproject\..\build\intermediates\res\merged -A C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\youngandroidproject\..\build\assets -I C:\Users\APPBUI~1\AppData\Local\Temp\android8097769009845784369.jar -F C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\youngandroidproject\..\build\deploy\MIT AI2 Companion.ap_ -m -J C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\youngandroidproject\..\build\generated\src --custom-package edu.mit.appinventor.aicompanion3 --output-text-symbols C:\Users\APPBUI~1\AppData\Local\Temp\1582455641873_0.894836746465636-0\youngandroidproject\..\build\generated\symbols --no-version-vectors
     [java] Feb 23, 2020 4:30:49 PM com.google.appinventor.buildserver.Compiler runAaptPackage
     [java] WARNING: YAIL compiler - AAPT execution failed.

BUILD FAILED
C:\workareas\appinventor-sources\appinventor\build.xml:21: The following error occurred while executing this line:
C:\workareas\appinventor-sources\appinventor\buildserver\build.xml:189: Java returned: 1

Total time: 4 minutes 6 seconds

Java and Ant Versions:
C:>
C:>java -version
Picked up _JAVA_OPTIONS: -Xmx1024M
java version “1.8.0_191”
Java™ SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot™ 64-Bit Server VM (build 25.191-b12, mixed mode)

C:\>ant -version
Picked up _JAVA_OPTIONS: -Xmx1024M
Apache Ant(TM) version 1.10.7 compiled on September 1 2019

C:\>
1 Like

check with command javac -version

1 Like

C:\Users\APPBUILDER>javac -version
‘javac’ is not recognized as an internal or external command,
operable program or batch file.

1 Like

Ok

Java was installed already on my pc. let me re-install and try

ok.

I had these versions… I am un-installing all of them and re-installing only jdk1.8 now

image

1 Like

These are already setup

image
image

1 Like

1 Like

Hi,

Why are you using two accounts at the same time?

You are also using

hahah… i have multiple accounts on for my gmail… It switched with single signon. Anyway to avoid confusion i have removed the post to avoid confusion. Thanks for catching up :wink:

I have re-installed jdk and tried to rebuid the sources… I get the same error

 [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\assets\external_comps\edu.mit.appinventor.companionextras\extension.properties from input zip
 [java] Feb 23, 2020 5:36:35 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
 [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\assets\external_comps\edu.mit.appinventor.companionextras\files\AndroidRuntime.jar from input zip
 [java] Feb 23, 2020 5:36:35 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
 [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\assets\external_comps\edu.mit.appinventor.companionextras\files\component_build_info.json from input zip
 [java] Feb 23, 2020 5:36:35 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
 [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\assets\external_comps\edu.mit.appinventor.companionextras\files\component_build_infos.json from input zip
 [java] Feb 23, 2020 5:36:35 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
 [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\assets\mooning.png from input zip
 [java] Feb 23, 2020 5:36:35 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
 [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\assets\splash.html from input zip
 [java] Feb 23, 2020 5:36:35 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
 [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\src\edu\mit\appinventor\aicompanion3\Screen1.bky from input zip
 [java] Feb 23, 2020 5:36:35 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
 [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\src\edu\mit\appinventor\aicompanion3\Screen1.scm from input zip
 [java] Feb 23, 2020 5:36:35 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
 [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\src\edu\mit\appinventor\aicompanion3\Screen1.yail from input zip
 [java] Feb 23, 2020 5:36:35 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
 [java] INFO: extracting C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\youngandroidproject\project.properties from input zip
 [java] Feb 23, 2020 5:36:36 PM com.google.appinventor.buildserver.Compiler generatePermissionsComponent assets needed, n = 2
 [java]
 [java] Component activities needed, n = 3INFO: usesLocation = False
 [java] Libraries needed, n = 34
 [java]
 [java] Native Libraries needed, n = 3
 [java] Permissions needed, n = 101
 [java] Feb 23, 2020 5:36:38 PM com.google.appinventor.buildserver.Compiler writeAndroidManifest
 [java] INFO: VCode: 12825703
 [java] Feb 23, 2020 5:36:38 PM com.google.appinventor.buildserver.Compiler writeAndroidManifest
 [java] INFO: VName: 2.57b
 [java] Feb 23, 2020 5:36:40 PM com.google.appinventor.buildserver.Execution execute
 [java] INFO: ____Executing C:\Users\APPBUI~1\AppData\Local\Temp\aapt8959870876815484267 package -v -f -M C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\youngandroidproject\..\build\AndroidManifest.xml -S C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\youngandroidproject\..\build\intermediates\res\merged -A C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\youngandroidproject\..\build\assets -I C:\Users\APPBUI~1\AppData\Local\Temp\android641201801990186575.jar -F C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\youngandroidproject\..\build\deploy\MIT AI2 Companion.ap_ -m -J C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\youngandroidproject\..\build\generated\src --custom-package edu.mit.appinventor.aicompanion3 --output-text-symbols C:\Users\APPBUI~1\AppData\Local\Temp\1582459595618_0.05001900360499756-0\youngandroidproject\..\build\generated\symbols --no-version-vectors
 [java] Feb 23, 2020 5:36:41 PM com.google.appinventor.buildserver.Compiler runAaptPackage
 [java] WARNING: YAIL compiler - AAPT execution failed.

BUILD FAILED
C:\workareas\appinventor-sources\appinventor\build.xml:21: The following error occurred while executing this line:
C:\workareas\appinventor-sources\appinventor\buildserver\build.xml:189: Java returned: 1

Total time: 3 minutes 25 seconds

Checkout this: http://josmas.github.io/contributingToAppInventor2/#/10

Maybe you’re missing this command.
$ git submodule update --init
@Khan

Maybe the problem is in declaring the environment variable path for java.
can check that by running the following commands in cmd.
1)javac
2)java

If it’s failing in the AAPT step, try running the aapt.exe file in lib/android/tools/windows. If it doesn’t run, then my guess is that you may be using a 32 bit version of Windows (I think we are only bundling the 64 bit version). Normally when AAPT fails it produces an error message, which I don’t see in your log file.

2 Likes

I got succeeded with the build. It was Operating System Issue thanks to @Krishjha07 for helping me out. :slightly_smiling_face: and everyone in the community.

1 Like

Thanks @ewpatton for this useful info. I will document it for future reference.

Could you please be more specific about the problem/solution in case someone else has a similar problem and finds this thread?