ExternalComponentGenerator:
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\classes\ExternalComponentGenerator
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\externalComponents
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\externalComponents-class
[javac] Compiling 1 source file to C:\appinventor-sources-master\appinventor\components\build\classes\ExternalComponentGenerator
[javac] warning: [options] bootstrap class path not set in conjunction with -source 7
[javac] warning: [options] source value 7 is obsolete and will be removed in a future release
[javac] warning: [options] target value 7 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] 4 warnings
[java] java.nio.file.NoSuchFileException: C:\appinventor-sources-master\appinventor\build\components\simple_components.json
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:861)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:231)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[java] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[java] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.base/java.lang.reflect.Method.invoke(Method.java:564)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
[java] at org.apache.tools.ant.Task.perform(Task.java:350)
[java] at org.apache.tools.ant.Target.execute(Target.java:449)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:470)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
[java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[java] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[java] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.base/java.lang.reflect.Method.invoke(Method.java:564)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
[java] at org.apache.tools.ant.Task.perform(Task.java:350)
[java] at org.apache.tools.ant.Target.execute(Target.java:449)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:470)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
[java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:830)
[java] at org.apache.tools.ant.Main.startAnt(Main.java:223)
[java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
[java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
[java] Caused by: java.nio.file.NoSuchFileException: C:\appinventor-sources-master\appinventor\build\components\simple_components.json
[java] at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
[java] at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
[java] at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
[java] at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:235)
[java] at java.base/java.nio.file.Files.newByteChannel(Files.java:375)
[java] at java.base/java.nio.file.Files.newByteChannel(Files.java:426)
[java] at java.base/java.nio.file.Files.readAllBytes(Files.java:3272)
[java] at com.google.appinventor.components.scripts.ExternalComponentGenerator.readFile(ExternalComponentGenerator.java:291)
[java] at com.google.appinventor.components.scripts.ExternalComponentGenerator.main(ExternalComponentGenerator.java:50)
[java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.base/java.lang.reflect.Method.invoke(Method.java:564)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:218)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:155)
[java] ... 32 more
[java] Java Result: -1
unjarAllExtensionLibraries:
jarAllExtensions:
dexAllExtensions:
extensions:
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\extensions
BUILD SUCCESSFUL
Total time: 15 seconds
This is almost purely a guess:
java.nio.file.NoSuchFileException was Added in API level 26 Android OS Oreo v8.0.
I typically try not to target anything above API level 21 myself, I wonder if the API level being so high is causing some kind of issues.
$ ant extensions
Buildfile: C:\appinventor-sources-master\appinventor\build.xml
extensions:
clean:
[delete] Deleting directory C:\appinventor-sources-master\appinventor\build\components
[delete] Deleting directory C:\appinventor-sources-master\appinventor\components\build
[delete] Deleting directory C:\appinventor-sources-master\appinventor\components\reports
common_CommonVersion:
init:
CommonVersion:
[exec] Result: 128
[exec] Result: 128
init:
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\build\components
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\classes
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\reports
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\reports\raw
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\reports\html
HtmlEntities:
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\classes\HtmlEntities
[javac] Compiling 1 source file to C:\appinventor-sources-master\appinventor\components\build\classes\HtmlEntities
[javac] warning: [options] bootstrap class path not set in conjunction with -source 7
[javac] warning: [options] source value 7 is obsolete and will be removed in a future release
[javac] warning: [options] target value 7 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] 4 warnings
[jar] Building jar: C:\appinventor-sources-master\appinventor\components\build\HtmlEntities.jar
Barcode:
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\classes\Barcode
[javac] Compiling 40 source files to C:\appinventor-sources-master\appinventor\components\build\classes\Barcode
[javac] warning: [options] bootstrap class path not set in conjunction with -source 7
[javac] warning: [options] source value 7 is obsolete and will be removed in a future release
[javac] warning: [options] target value 7 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[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] 4 warnings
[jar] Building jar: C:\appinventor-sources-master\appinventor\build\components\deps\Barcode.jar
CopyComponentLibraries:
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps\armeabi-v7a
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps\arm64-v8a
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps\x86_64
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 57 files to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 2 files to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
[copy] Copying 1 file to C:\appinventor-sources-master\appinventor\build\components\deps
common_CommonUtils:
init:
CommonUtils:
CommonConstants:
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\classes\CommonConstants
[javac] Compiling 7 source files to C:\appinventor-sources-master\appinventor\components\build\classes\CommonConstants
[javac] warning: [options] bootstrap class path not set in conjunction with -source 7
[javac] warning: [options] source value 7 is obsolete and will be removed in a future release
[javac] warning: [options] target value 7 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] 4 warnings
[javac] Creating empty C:\appinventor-sources-master\appinventor\components\build\classes\CommonConstants\com\google\appinventor\components\common\package-info.class
[jar] Building jar: C:\appinventor-sources-master\appinventor\build\components\CommonConstants.jar
[jar] Building jar: C:\appinventor-sources-master\appinventor\build\components\CommonConstants-gwt.jar
AnnotationProcessors:
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\classes\AnnotationProcessors
[javac] Compiling 33 source files to C:\appinventor-sources-master\appinventor\components\build\classes\AnnotationProcessors
[javac] warning: [options] bootstrap class path not set in conjunction with -source 7
[javac] warning: [options] source value 7 is obsolete and will be removed in a future release
[javac] warning: [options] target value 7 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] Note: C:\appinventor-sources-master\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:\appinventor-sources-master\appinventor\components\src\com\google\appinventor\components\scripts\ComponentProcessor.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 4 warnings
[javac] Creating empty C:\appinventor-sources-master\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\annotations\androidmanifest\package-info.class
[javac] Creating empty C:\appinventor-sources-master\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\annotations\package-info.class
[javac] Creating empty C:\appinventor-sources-master\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\scripts\package-info.class
[copy] Copying 22 files to C:\appinventor-sources-master\appinventor\components\build\classes\AnnotationProcessors
[jar] Building jar: C:\appinventor-sources-master\appinventor\components\build\AnnotationProcessors.jar
AndroidRuntime.uptodate:
AndroidRuntime:
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime
[javac] Compiling 282 source files to C:\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime
[javac] warning: [options] bootstrap class path not set in conjunction with -source 7
[javac] warning: [options] source value 7 is obsolete and will be removed in a future release
[javac] warning: [options] target value 7 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[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] 4 warnings
[javac] Creating empty C:\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\util\package-info.class
[javac] Creating empty C:\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\androidmanifest\package-info.class
[javac] Creating empty C:\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\collect\package-info.class
[javac] Creating empty C:\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\package-info.class
[javac] Creating empty C:\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\package-info.class
[javac] Creating empty C:\appinventor-sources-master\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\errors\package-info.class
[jar] Building jar: C:\appinventor-sources-master\appinventor\build\components\AndroidRuntime.jar
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\build\components\ComponentTranslation\src\com\google\appinventor\client
ExternalComponentGenerator:
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\classes\ExternalComponentGenerator
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\externalComponents
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\externalComponents-class
[javac] Compiling 1 source file to C:\appinventor-sources-master\appinventor\components\build\classes\ExternalComponentGenerator
[javac] warning: [options] bootstrap class path not set in conjunction with -source 7
[javac] warning: [options] source value 7 is obsolete and will be removed in a future release
[javac] warning: [options] target value 7 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] 4 warnings
[java] java.nio.file.NoSuchFileException: C:\appinventor-sources-master\appinventor\build\components\simple_components.json
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:861)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:231)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[java] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[java] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.base/java.lang.reflect.Method.invoke(Method.java:564)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
[java] at org.apache.tools.ant.Task.perform(Task.java:350)
[java] at org.apache.tools.ant.Target.execute(Target.java:449)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:470)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
[java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[java] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[java] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.base/java.lang.reflect.Method.invoke(Method.java:564)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
[java] at org.apache.tools.ant.Task.perform(Task.java:350)
[java] at org.apache.tools.ant.Target.execute(Target.java:449)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:470)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
[java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:830)
[java] at org.apache.tools.ant.Main.startAnt(Main.java:223)
[java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
[java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
[java] Caused by: java.nio.file.NoSuchFileException: C:\appinventor-sources-master\appinventor\build\components\simple_components.json
[java] at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
[java] at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
[java] at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
[java] at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:235)
[java] at java.base/java.nio.file.Files.newByteChannel(Files.java:375)
[java] at java.base/java.nio.file.Files.newByteChannel(Files.java:426)
[java] at java.base/java.nio.file.Files.readAllBytes(Files.java:3272)
[java] at com.google.appinventor.components.scripts.ExternalComponentGenerator.readFile(ExternalComponentGenerator.java:291)
[java] at com.google.appinventor.components.scripts.ExternalComponentGenerator.main(ExternalComponentGenerator.java:50)
[java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.base/java.lang.reflect.Method.invoke(Method.java:564)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:218)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:155)
[java] ... 32 more
[java] Java Result: -1
unjarAllExtensionLibraries:
jarAllExtensions:
dexAllExtensions:
extensions:
[mkdir] Created dir: C:\appinventor-sources-master\appinventor\components\build\extensions
BUILD SUCCESSFUL
Total time: 20 seconds