Build successful but No aix extension file!

Hello,
I write my first java project and try to build it as aix extension, when i run" ant extensions" command it shows "BUILD SUCCESSFUL" but the extention folder is empty, can you help me with this issue? this is the log:

$ ant extensions
Picked up _JAVA_OPTIONS: -Xmx1024m
Buildfile: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build.xml

extensions:

clean:
   [delete] Deleting directory C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components
   [delete] Deleting directory C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build
   [delete] Deleting directory C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\reports

common_CommonVersion:

init:

CommonVersion:

init:
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\reports
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\reports\raw
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\reports\html

HtmlEntities:
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\HtmlEntities
    [javac] Compiling 1 source file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\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:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\HtmlEntities.jar

Barcode:
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\Barcode
    [javac] Compiling 40 source files to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\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:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps\Barcode.jar

CopyComponentLibraries:
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps\armeabi-v7a
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps\arm64-v8a
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps\x86_64
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 59 files to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 2 files to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps
     [copy] Copying 1 file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\deps

common_CommonUtils:

init:

CommonUtils:

CommonConstants:
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\CommonConstants
    [javac] Compiling 7 source files to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\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:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\CommonConstants\com\google\appinventor\components\common\package-info.class
      [jar] Building jar: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\CommonConstants.jar
      [jar] Building jar: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\CommonConstants-gwt.jar

AnnotationProcessors:
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
    [javac] Compiling 41 source files to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\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:\AppInventorExtensiones\apache-ant-1.10.1-bin\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:\AppInventorExtensiones\apache-ant-1.10.1-bin\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] 4 warnings
    [javac] Creating empty C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\annotations\androidmanifest\package-info.class
    [javac] Creating empty C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\annotations\package-info.class
    [javac] Creating empty C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\scripts\package-info.class
     [copy] Copying 22 files to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
      [jar] Building jar: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\AnnotationProcessors.jar

AndroidRuntime.uptodate:

AndroidRuntime:
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\AndroidRuntime
    [javac] Compiling 293 source files to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\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] warning: In component Picker, event BeforePicking is missing a description.
    [javac] warning: In component Picker, event AfterPicking is missing a description.
    [javac] Note: Wrote file file:///C:/AppInventorExtensiones/apache-ant-1.10.1-bin/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/simple_components.json
    [javac] warning: In component Picker, event BeforePicking is missing a description.
    [javac] warning: In component Picker, event AfterPicking is missing a description.
    [javac] Note: Wrote file file:///C:/AppInventorExtensiones/apache-ant-1.10.1-bin/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/simple_components.txt
    [javac] Note: Wrote file file:///C:/AppInventorExtensiones/apache-ant-1.10.1-bin/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/simple_components_build_info.json
    [javac] warning: In component Picker, event BeforePicking is missing a description.
    [javac] warning: In component Picker, event AfterPicking is missing a description.
    [javac] Note: Wrote file file:///C:/AppInventorExtensiones/apache-ant-1.10.1-bin/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/AutogeneratedOdeMessages.java
    [javac] Note: Wrote file file:///C:/AppInventorExtensiones/apache-ant-1.10.1-bin/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/ComponentsTranslation.java
    [javac] warning: In component Picker, event BeforePicking is missing a description.
    [javac] warning: In component Picker, event AfterPicking is missing a description.
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 12 warnings
    [javac] Creating empty C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\util\package-info.class
    [javac] Creating empty C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\androidmanifest\package-info.class
    [javac] Creating empty C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\collect\package-info.class
    [javac] Creating empty C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\package-info.class
    [javac] Creating empty C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\package-info.class
    [javac] Creating empty C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\errors\package-info.class
      [jar] Building jar: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\AndroidRuntime.jar
     [copy] Copying 3 files to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\ComponentTranslation\src\com\google\appinventor\client
     [copy] Copying 2 files to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\build\components\ComponentTranslation\src\com\google\appinventor\client
     [copy] Copying 11 files to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\docs\markdown\reference\components

ExternalComponentGenerator:
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\classes\ExternalComponentGenerator
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\externalComponents
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\externalComponents-class
    [javac] Compiling 1 source file to C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\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] Extensions : Generating extensions

unjarAllExtensionLibraries:

jarAllExtensions:

dexAllExtensions:

extensions:
    [mkdir] Created dir: C:\AppInventorExtensiones\apache-ant-1.10.1-bin\appinventor-sources\appinventor\components\build\extensions

BUILD SUCCESSFUL
Total time: 19 seconds


Have you updated the app inventor sources to the latest version?

Also check your package name.

Are you sure that you have placed java file in src folder? :thinking:

1 Like

Are you building it with the Extension Template Repository?

1 Like

Can someone try to compile an old extension?Because it isn't even working with me too :confused:.I'm using the app inventor sources.And i've placed the java file in the src folder and checked that i have the latest version.

dont forget set annotation @SimpleObject(external = true) :ok_hand:

1 Like

i've add it of course :+1:

Just wanted to confirm.this problem has nothing with the app-inventor sources.because i got the same log in appybuilder code editor.It was something in my code. :face_with_monocle:

Why was this error?

Because I've accidentally removed the @DesignerComponent annotation at all :sweat_smile: :disappointed_relieved: Btw, thanks @kangris the error was really near from what you told me :+1: That happens when you remove when ( or even both as well ) from the two annotation @SimpleObject and @DesignerComponent.You must check this out.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.