Hello,
I wrote my first java project and try to build it as app inventor extension using the extension template, when I run the "ant" command it shows "BUILD SUCCESSFUL" but the out folder is empty and it doesn't show an extension was built, can you help me with this issue? this is the log:
C:\Users\waltersr\OneDrive - Wentworth Institute of Technology\Documents\Classes\senior project\my-extension>ant clean
ANT_OPTS is set to -Djava.security.manager=allow
Buildfile: C:\Users\waltersr\OneDrive - Wentworth Institute of Technology\Documents\Classes\senior project\my-extension\build.xml
clean:
[delete] Deleting directory C:\Users\waltersr\OneDrive - Wentworth Institute of Technology\Documents\Classes\senior project\my-extension\build
[delete] Deleting directory C:\Users\waltersr\OneDrive - Wentworth Institute of Technology\Documents\Classes\senior project\my-extension\out
BUILD SUCCESSFUL
Total time: 0 seconds
C:\Users\waltersr\OneDrive - Wentworth Institute of Technology\Documents\Classes\senior project\my-extension>ant
ANT_OPTS is set to -Djava.security.manager=allow
Buildfile: C:\Users\waltersr\OneDrive - Wentworth Institute of Technology\Documents\Classes\senior project\my-extension\build.xml
javac.helpers:
[mkdir] Created dir: C:\Users\waltersr\OneDrive - Wentworth Institute of Technology\Documents\Classes\senior project\my-extension\build\classes
javac:
[javac] Compiling 2 source files to C:\Users\waltersr\OneDrive - Wentworth Institute of Technology\Documents\Classes\senior project\my-extension\build\classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 7
[javac] Note: Wrote file file:///C:/Users/waltersr/OneDrive%20-%20Wentworth%20Institute%20of%20Technology/Documents/Classes/senior%20project/my-extension/build/classes/simple_components.json
[javac] Note: Wrote file file:///C:/Users/waltersr/OneDrive%20-%20Wentworth%20Institute%20of%20Technology/Documents/Classes/senior%20project/my-extension/build/classes/simple_components.txt
[javac] Note: Wrote file file:///C:/Users/waltersr/OneDrive%20-%20Wentworth%20Institute%20of%20Technology/Documents/Classes/senior%20project/my-extension/build/classes/simple_components_build_info.json
[javac] Note: Wrote file file:///C:/Users/waltersr/OneDrive%20-%20Wentworth%20Institute%20of%20Technology/Documents/Classes/senior%20project/my-extension/build/classes/AutogeneratedOdeMessages.java
[javac] Note: Wrote file file:///C:/Users/waltersr/OneDrive%20-%20Wentworth%20Institute%20of%20Technology/Documents/Classes/senior%20project/my-extension/build/classes/ComponentsTranslation.java
[javac] 1 warning
process:
[mkdir] Created dir: C:\Users\waltersr\OneDrive - Wentworth Institute of Technology\Documents\Classes\senior project\my-extension\out
[mkdir] Created dir: C:\Users\waltersr\OneDrive - Wentworth Institute of Technology\Documents\Classes\senior project\my-extension\build\externalComponents
[mkdir] Created dir: C:\Users\waltersr\OneDrive - Wentworth Institute of Technology\Documents\Classes\senior project\my-extension\build\externalComponents-classes
[java]
[java] Extensions : Generating extensions
unjarAllExtensionLibraries:
jarAllExtensions:
dexAllExtensions:
extensions:
all:
BUILD SUCCESSFUL
Total time: 3 seconds
I tried testing it with existing extensions too and those didn't work either. If needed I can upload the extension code too.