How to change block color of own appinventor?

Afroz_Ahmad@LAPTOP-1G90T038 MINGW64 ~/Desktop/appinventor-sources (master)
$ git submodule update --init

Afroz_Ahmad@LAPTOP-1G90T038 MINGW64 ~/Desktop/appinventor-sources (master)
$
Afroz_Ahmad@LAPTOP-1G90T038 MINGW64 ~/Desktop/appinventor-sources/appinventor (master)
$ ant clean all
Buildfile: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build.xml

clean:

clean:
   [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\appengine
   [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build
   [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\reports

clean:
   [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\blocklyeditor
   [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\build
   [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\reports

clean:

clean:

clean:
   [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\common
   [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build
   [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\reports

clean:
   [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components
   [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build
   [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\reports
   [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build

all:

init:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\appengine
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\classes
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\reports
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\reports\raw
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\reports\html

MakeWarLibsDir:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib

common_CommonUtils:

init:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\common
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\classes
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\reports
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\reports\raw
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\reports\html

CommonUtils:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\classes\CommonUtils
    [javac] Compiling 3 source files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\classes\CommonUtils
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\classes\CommonUtils\com\google\appinventor\common\utils\package-info.class
      [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\common\CommonUtils.jar
      [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\common\CommonUtils-gwt.jar

common_CommonVersion:

init:

CommonVersion:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\classes\CommonVersion
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\src\com\google\appinventor\common\version
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\src\com\google\appinventor\common\version
    [javac] Compiling 3 source files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\classes\CommonVersion
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\classes\CommonVersion\com\google\appinventor\common\version\package-info.class
      [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\common\CommonVersion.jar
      [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\common\CommonVersion-gwt.jar

components_CommonConstants:

init:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\reports
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\reports\raw
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\reports\html

CommonConstants:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\CommonConstants
    [javac] Compiling 35 source files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\CommonConstants
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\CommonConstants\com\google\appinventor\components\common\package-info.class
      [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\CommonConstants.jar
      [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\CommonConstants-gwt.jar

WarLibs:
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 11 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib

AiSharedLib:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\classes\AiSharedLib
    [javac] Compiling 78 source files to C:\Users\Afroz Ahmad\Desktop\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:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\AiSharedLib.jar
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib

AiServerLib:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\classes\AiServerLib
     [copy] Copying 4 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\classes\AiServerLib\com\google\appinventor\server
    [javac] Compiling 69 source files to C:\Users\Afroz Ahmad\Desktop\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:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\AiServerLib.jar
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib

components_AndroidRuntime:

common_CommonVersion:

init:

CommonVersion:

init:

HtmlEntities:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\HtmlEntities
    [javac] Compiling 1 source file to C:\Users\Afroz Ahmad\Desktop\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:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\HtmlEntities.jar

Barcode:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\Barcode
    [javac] Compiling 40 source files to C:\Users\Afroz Ahmad\Desktop\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:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps\Barcode.jar

CopyComponentLibraries:
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps\armeabi-v7a
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps\arm64-v8a
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps\x86_64
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 63 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 2 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps

common_CommonUtils:

init:

CommonUtils:

CommonConstants:

AnnotationProcessors:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
    [javac] Compiling 43 source files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] Note: C:\Users\Afroz Ahmad\Desktop\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: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\annotations\androidmanifest\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\annotations\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\scripts\package-info.class
     [copy] Copying 22 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
      [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\AnnotationProcessors.jar

AndroidRuntime.uptodate:

AndroidRuntime:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime
    [javac] Compiling 316 source files to C:\Users\Afroz Ahmad\Desktop\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:/Users/Afroz%20Ahmad/Desktop/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/simple_components.json
    [javac] Note: Wrote file file:/C:/Users/Afroz%20Ahmad/Desktop/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/simple_components.txt
    [javac] Note: Wrote file file:/C:/Users/Afroz%20Ahmad/Desktop/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/simple_components_build_info.json
    [javac] Note: Wrote file file:/C:/Users/Afroz%20Ahmad/Desktop/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/AutogeneratedOdeMessages.java
    [javac] Note: Wrote file file:/C:/Users/Afroz%20Ahmad/Desktop/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:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\util\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\androidmanifest\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\collect\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\errors\package-info.class
      [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\AndroidRuntime.jar
     [copy] Copying 3 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\ComponentTranslation\src\com\google\appinventor\client
     [copy] Copying 2 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\ComponentTranslation\src\com\google\appinventor\client
     [copy] Copying 11 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\docs\markdown\reference\components

AiClientLib:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes
    [javac] Compiling 398 source files to C:\Users\Afroz Ahmad\Desktop\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:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\youngandroid\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\youngandroid\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\commands\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\boxes\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\project\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\youngandroid\palette\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\simple\palette\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\simple\components\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\simple\package-info.class
    [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\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:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor
     [copy] Copying 163 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes
     [copy] Copied 15 empty directories to 9 empty directories under C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes

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

blocklyeditor_BlocklyTranslationGenerator:

CheckBlocklyTranslations:

init:
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\blocklyeditor
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\build
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\build\classes
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\reports
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\reports\raw
    [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\reports\html

CheckBlocklyCompile:

BlocklyCompile:
     [java] org.plovr.MissingProvideException: Missing provide for goog.events in ../lib/blockly/core/touch.js
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:298)
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
     [java]     at org.plovr.Manifest.buildDependencies(Manifest.java:280)
     [java]     at org.plovr.Manifest.getInputsInCompilationOrder(Manifest.java:204)
     [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] Exception in thread "main" java.lang.NullPointerException
     [java]     at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
     [java]     at org.plovr.cli.BuildCommand.processResult(BuildCommand.java:79)
     [java]     at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:63)
     [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:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build.xml:16: The following error occurred while executing this line:
C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build-common.xml:299: The following error occurred while executing this line:
C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\build.xml:120: Java returned: 1

Total time: 1 minute 4 seconds

Default Block Colors are defined in this file

Component's block colors are defined in this file

4 Likes

after changing the value you need to recompile source code

6 Likes

That's really great finding!

1 Like

I copy paste these scripts but

Afroz_Ahmad@LAPTOP-1G90T038 MINGW64 ~/Desktop/appinventor-sources/appinventor (master)
$ ant
Buildfile: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build.xml

all:

init:

MakeWarLibsDir:

common_CommonUtils:

init:

CommonUtils:

common_CommonVersion:

init:

CommonVersion:

components_CommonConstants:

init:

CommonConstants:

WarLibs:

AiSharedLib:

AiServerLib:

components_AndroidRuntime:

common_CommonVersion:

init:

CommonVersion:

init:

HtmlEntities:

Barcode:

CopyComponentLibraries:

common_CommonUtils:

init:

CommonUtils:

CommonConstants:

AnnotationProcessors:

AndroidRuntime.uptodate:

AndroidRuntime:

AiClientLib:

AiRebindLib:

blocklyeditor_BlocklyTranslationGenerator:

CheckBlocklyTranslations:

init:

CheckBlocklyCompile:

BlocklyCompile:
     [java] org.plovr.MissingProvideException: Missing provide for goog.events in ../lib/blockly/core/touch.js
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:298)
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
     [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
     [java]     at org.plovr.Manifest.buildDependencies(Manifest.java:280)
     [java]     at org.plovr.Manifest.getInputsInCompilationOrder(Manifest.java:204)
     [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] Exception in thread "main" java.lang.NullPointerException
     [java]     at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
     [java]     at org.plovr.cli.BuildCommand.processResult(BuildCommand.java:79)
     [java]     at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:63)
     [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:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build.xml:16: The following error occurred while executing this line:
C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build-common.xml:299: The following error occurred while executing this line:
C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\build.xml:120: Java returned: 1

Total time: 38 seconds
1 Like

There was a NullPointerException; the code is trying to access a variable with the value null. You're probably missing a step somewhere. If it took only 38 seconds, then it shouldn't be pretty deep within.

So what I am missing

The error is belonging to compilation error, definitely you did some modification in program in order to achieve some changes so what modification you did to achieve something, have you done some modification related to block colour changes.

I think you did some changes which need to be done in some more reference places as well.

http://plovr.com/javadoc/org/plovr/MissingProvideException.html

For block colour changes, you can refer this file as well,

https://developers.google.com/blockly/guides/create-custom-blocks/block-colour

1 Like

i prefer you to reclone ai2

2 Likes

I got error in recloning

It take 910 mb and then it failed

Sorry for the late reply, but you can see that the variable is missing in multiple locations. This means that it's probably a key step.
Could anyone please post the line of code at line 30:org.plovr.cli.Main.main?

Please anyone post the line that @nishyanthkumar say

1 Like

no need to reclone can you please explain more what you have done till now?

I mean which commands you tried and which order?

@Faraz_Firoz please read it carefully and follow the steps given below.

Step : 1 (Check Pre-Requisites)

  1. Check Java is installed or not?
    run java -version
    output java version "1.8.0_281" or 1.8.x
  2. Check Apache Ant is installed or not?
    run ant -version
    output Apache Ant(TM) version 1.10.x or higher

Step : 2 (Install Dependencies)

  1. Navigate to appinventor-sources directory
    run cd appinventor-sources (for navigation)
  2. Update Dependencies
    run git submodule update --init

Step : 3 (Navigation to the Root folder and Compilation)

  1. Navigate to appinventor directory
    run cd appinventor (for navigation)
  2. Make AuthKey
    run ant MakeAuthKey ( Before compiling the code, an auth key is needed.)
  3. Source Code Compilation
    run ant (for compilation of source code)

Notes

  1. Each and every time when you make change in your source code you need to re compile your source code and new companion app.
3 Likes

Same step but not working

@Faraz_Firoz please share compilation error

1 Like
    Microsoft Windows [Version 10.0.18362.1256]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\Afroz Ahmad>java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)

C:\Users\Afroz Ahmad>ant -version
Apache Ant(TM) version 1.10.11 compiled on July 10 2021

C:\Users\Afroz Ahmad>

Microsoft Windows [Version 10.0.18362.1256]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\Afroz Ahmad>cd C:\Users\Afroz Ahmad\Desktop\appinventor-sources

C:\Users\Afroz Ahmad\Desktop\appinventor-sources>git submodule update --init

C:\Users\Afroz Ahmad\Desktop\appinventor-sources>cd appinventor

C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor>ant MakeAuthKey
Buildfile: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build.xml

    MakeAuthKey:

    init:

    CheckAuthKey:

    MakeAuthKey:

    BUILD SUCCESSFUL
    Total time: 2 seconds

    C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor>ant
    Buildfile: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build.xml

    all:

    init:

    MakeWarLibsDir:

    common_CommonUtils:

    init:

    CommonUtils:

    common_CommonVersion:

    init:

    CommonVersion:

    components_CommonConstants:

    init:

    CommonConstants:

    WarLibs:

    AiSharedLib:

    AiServerLib:

    components_AndroidRuntime:

    common_CommonVersion:

    init:

    CommonVersion:

    init:

    HtmlEntities:

    Barcode:

    CopyComponentLibraries:

    common_CommonUtils:

    init:

    CommonUtils:

    CommonConstants:

    AnnotationProcessors:

    AndroidRuntime.uptodate:

    AndroidRuntime:

    AiClientLib:

    AiRebindLib:

    blocklyeditor_BlocklyTranslationGenerator:

    CheckBlocklyTranslations:

    init:

    CheckBlocklyCompile:

    BlocklyCompile:

         [java] org.plovr.MissingProvideException: Missing provide for goog.events in ../lib/blockly/core/touch.js
         [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:298)
         [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
         [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
         [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
         [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
         [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
         [java]     at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
         [java]     at org.plovr.Manifest.buildDependencies(Manifest.java:280)
         [java]     at org.plovr.Manifest.getInputsInCompilationOrder(Manifest.java:204)
         [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] Exception in thread "main" java.lang.NullPointerException
         [java]     at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
         [java]     at org.plovr.cli.BuildCommand.processResult(BuildCommand.java:79)
         [java]     at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:63)
         [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:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build.xml:16: The following error occurred while executing this line:
    C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build-common.xml:299: The following error occurred while executing this line:
    C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\build.xml:120: Java returned: 1

    Total time: 1 minute 55 seconds

    C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor>

Do you have a copy of Google Cloud SDK for Java? Maybe that's what you're missing here.

I have these all all I also have Google cloud sdk- and python