Problem when compiling extension after adding extern library

hello
in my extension i tried to add extern library : "commons-lang3" , when i test it's ok but when compiling .apk i got this message :

Blockquote
App Inventor is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.006 seconds
[LoadComponentInfo] Starting Task
[LoadComponentInfo] INFO: Generating assets...
[LoadComponentInfo] Component assets needed, n = 0
[LoadComponentInfo] INFO: Generating activities...
[LoadComponentInfo] Component activities needed, n = 0
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers...
[LoadComponentInfo] Component content providers needed, n = 0
[LoadComponentInfo] INFO: Generating libraries...
[LoadComponentInfo] Libraries needed, n = 0
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK...
[LoadComponentInfo] INFO: Generating native libraries...
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions...
[LoadComponentInfo] usesLocation = False
[LoadComponentInfo] Permissions needed, n = 2
[LoadComponentInfo] Component services needed, n = 0
[LoadComponentInfo] INFO: Generating component broadcast receivers...
[LoadComponentInfo] Task succeeded in 0.012 seconds
[PrepareAppIcon] Starting Task
[PrepareAppIcon] INFO: Creating mipmap dirs...
[PrepareAppIcon] INFO: Generating icons...
[PrepareAppIcon] Generating icons for mipmap-mdpi
[PrepareAppIcon] Generating icons for mipmap-hdpi
[PrepareAppIcon] Generating icons for mipmap-xhdpi
[PrepareAppIcon] Generating icons for mipmap-xxhdpi
[PrepareAppIcon] Generating icons for mipmap-xxxhdpi
[PrepareAppIcon] Task succeeded in 1.161 seconds
[XmlConfig] Starting Task
[XmlConfig] INFO: Creating animation xml
[XmlConfig] Creating zoom_enter.xml
[XmlConfig] Creating fadeout.xml
[XmlConfig] Creating slide_v_exit.xml
[XmlConfig] Creating fadein.xml
[XmlConfig] Creating zoom_exit.xml
[XmlConfig] Creating slide_v_enter.xml
[XmlConfig] Creating zoom_exit_reverse.xml
[XmlConfig] Creating slide_v_enter_reverse.xml
[XmlConfig] Creating zoom_enter_reverse.xml
[XmlConfig] Creating slide_enter_reverse.xml
[XmlConfig] Creating slide_exit.xml
[XmlConfig] Creating hold.xml
[XmlConfig] Creating slide_enter.xml
[XmlConfig] Creating slide_v_exit_reverse.xml
[XmlConfig] Creating slide_exit_reverse.xml
[XmlConfig] INFO: Creating style xml
[XmlConfig] INFO: Creating provider_path xml
[XmlConfig] INFO: Creating network_security_config xml
[XmlConfig] INFO: Generating adaptive icon file
[XmlConfig] INFO: Generating round adaptive icon file
[XmlConfig] INFO: Generating adaptive icon background file
[XmlConfig] Task succeeded in 0.011 seconds
[CreateManifest] Starting Task
[CreateManifest] INFO: Reading project specs...
[CreateManifest] VCode: 1
[CreateManifest] VName: 1.0
[CreateManifest] Min SDK 7
[CreateManifest] INFO: Writing screen 'appinventor.ai_akhodja.multiplier.Screen1'
[CreateManifest] Task succeeded in 0.003 seconds
[AttachNativeLibs] Starting Task
[AttachNativeLibs] Task succeeded in 0.001 seconds
[AttachAarLibs] Starting Task
[AttachAarLibs] Task succeeded in 0.13 seconds
[AttachCompAssets] Starting Task
[AttachCompAssets] Task succeeded in 0.0 seconds
[MergeResources] Starting Task
[MergeResources] Task succeeded in 0.192 seconds
[SetupLibs] Starting Task
[SetupLibs] Task succeeded in 0.001 seconds
[RunAapt] Starting Task
[RunAapt] Task succeeded in 0.972 seconds
[GenerateClasses] Starting Task
[GenerateClasses] INFO: Source File: appinventor/ai_akhodja/multiplier/Screen1.yail
[GenerateClasses] INFO: Libraries Classpath = /tmp/kawa3425046981720028683.jar:/tmp/acra-4.4.02655146700998044407.jar:/tmp/AndroidRuntime2363133116757483619.jar:/tmp/annotation12444109351169730410.jar:/tmp/appcompat10027330928484609845.jar:/tmp/asynclayoutinflater1157037875465597521.jar:/tmp/collection1738505935286081686.jar:/tmp/constraintlayout14516189455201152000.jar:/tmp/constraintlayout-solver14019640791900055617.jar:/tmp/coordinatorlayout16939594551041341406.jar:/tmp/core2270845882660060849.jar:/tmp/core-common17453135906907332007.jar:/tmp/core-runtime5338607508986287084.jar:/tmp/cursoradapter3746123562594294403.jar:/tmp/customview8442668820428339509.jar:/tmp/documentfile3353836578750906979.jar:/tmp/drawerlayout18389234732394954883.jar:/tmp/fragment9676622271375984506.jar:/tmp/interpolator9581886357062912377.jar:/tmp/legacy-support-core-ui8974887490503259169.jar:/tmp/legacy-support-core-utils381577782012007435.jar:/tmp/lifecycle-common17499450067639197680.jar:/tmp/lifecycle-livedata5424653618216578809.jar:/tmp/lifecycle-livedata-core2182525607523862246.jar:/tmp/lifecycle-runtime16660232882417358061.jar:/tmp/lifecycle-viewmodel12486583457630074181.jar:/tmp/loader12861041548824351805.jar:/tmp/localbroadcastmanager13510841033931935756.jar:/tmp/print10191089883330009000.jar:/tmp/slidingpanelayout12971605098622976978.jar:/tmp/swiperefreshlayout13848351539956988364.jar:/tmp/vectordrawable16731927873549774482.jar:/tmp/vectordrawable-animated2335080309365992980.jar:/tmp/versionedparcelable15806795632363094150.jar:/tmp/viewpager7309922264269958935.jar:/tmp/1723464830646_8236166697553720320-0/youngandroidproject/../assets/external_comps/com.etskhodja/files/AndroidRuntime.jar:/tmp/1723464830646_8236166697553720320-0/youngandroidproject/../build/classes:/tmp/android6916468595833208288.jar
[GenerateClasses] ERROR: Kawa compile has failed.
(compiling appinventor/ai_akhodja/multiplier/Screen1.yail to appinventor.ai_akhodja.multiplier.Screen1)

ERROR: appinventor/ai_akhodja/multiplier/Screen1.yail line 35: call to 'set-and-coerce-property!' has too few arguments (3; must be 4)

[GenerateClasses] ERROR: Can't find class file for Screen 'Screen1'
[GenerateClasses] Task errored in 2.434 seconds

what's this ?

maybe your blocks have some errors?

I have Mit App offline and i hava AppyBuilder offline also
I have no problems with those two app.
My problem is when i create an application with external library "commons-lang3" i have this :
with App inventor offline i can build .apk it's great.
with AppyBuilder offline i can test app with QR code but i can't build .apk have this error:

Blockquote
AppyBuilder is unable to compile this project.
The compiler error output was
________Creating fragment xml
________Creating provider_path xml
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 1.555 seconds
________Compiling source files
(compiling C:\Users\akhod\AppData\Local\Temp\1723468594987_0.5698326097823685-0\youngandroidproject..\src\com\appybuilder\test\phraseCoupeRush\Screen1.yail to com.appybuilder.test.phraseCoupeRush.Screen1)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:122:3: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:125:3: warning - more than one possibly applicable method 'get' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.get(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.get(java.lang.Object)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:702:7: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:704:7: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:714:9: warning - more than one possibly applicable method 'get' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.get(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.get(java.lang.Object)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:719:7: warning - more than one possibly applicable method 'remove' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.remove(java.lang.Object)
candidate: void gnu.mapping.Environment.remove(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.remove(gnu.mapping.EnvironmentKey)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:721:7: warning - more than one possibly applicable method 'remove' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.remove(java.lang.Object)
candidate: void gnu.mapping.Environment.remove(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.remove(gnu.mapping.EnvironmentKey)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:727:11: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:729:11: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:735:9: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:737:9: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:747:9: warning - more than one possibly applicable method 'get' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.get(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.get(java.lang.Object)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:766:9: warning - no accessible method 'addParent' in gnu.mapping.Environment
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:1124:3: warning - no accessible method 'runtimeFormErrorOccurredEvent' in java.lang.Object
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:1861:3: warning - more than one possibly applicable method 'makeList' in com.google.appinventor.components.runtime.util.YailList
candidate: com.google.appinventor.components.runtime.util.YailList com.google.appinventor.components.runtime.util.YailList.makeList(java.util.Collection)
candidate: com.google.appinventor.components.runtime.util.YailList com.google.appinventor.components.runtime.util.YailList.makeList(java.lang.Object)
candidate: com.google.appinventor.components.runtime.util.YailList com.google.appinventor.components.runtime.util.YailList.makeList(java.util.List)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:2543:5: warning - no known slot 'getDhcpInfo' in java.lang.Object
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:2565:3: warning - no known slot 'post' in java.lang.Object
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:2599:5: warning - no accessible method 'clear' in java.lang.Object
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:2603:3: warning - no accessible method 'setFormName' in java.lang.Object
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:2610:7: warning - no accessible method 'deleteComponent' in java.lang.Object
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:399:39: warning - no known slot 'getMessage' in java.lang.Object
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:400:66: warning - no known slot 'getMessage' in java.lang.Object
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:400:28: warning - more than one possibly applicable method 'makeText' in android.widget.Toast
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,java.lang.CharSequence,int)
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,int,int)
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:400:27: warning - no known slot 'show' in java.lang.Object
C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm:404:15: warning - no known slot 'getMessage' in java.lang.Object
(compiling C:\Users\akhod\AppData\Local\Temp\runtime2997482673832251306.scm to com.google.youngandroid.runtime)
Kawa compile time: 0.592 seconds
________Invoking DX
YAIL compiler - DX execution failed.

Appy Builder is long dead, you should not use it.

Make sure there is not duplication of library , also make sure package name contains all small letters if you are using rush.

i copied my code and i pasted it in https://ide.niotron.com/ide a i have upload the same library to niotron i have *.aix i tested it in my AppyBuilder offline it's OK .
probleme when i compile my extension whith ant or with rush i have this problem but with niotron it's OK.

i have two version of java in my computer :
java version "1.8.0_361"
java version 21

current java version is 1.8
an idas ?

What's the output of ant -diagnostics?

Proguard your extension.
This error occurs when two(or more) classes conflict, one present in builder and another present in extension.

1 Like

but this .aix runs ok with mit app offline and online... but not with AppyBuilder offline.

i think it's ok with ant :

$ ant extensions
Buildfile: D:\00_CREATION_EXTENSION\build.xml

extensions:

clean:
   [delete] Deleting directory D:\00_CREATION_EXTENSION\build\components
   [delete] Deleting directory D:\00_CREATION_EXTENSION\components\build
   [delete] Deleting directory D:\00_CREATION_EXTENSION\components\reports

common_CommonVersion:

init:

CommonVersion:
     [exec] Result: 128
     [exec] Result: 128

init:
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\build\components
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\build
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\build\classes
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\reports
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\reports\raw
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\reports\html

HtmlEntities:
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\build\classes\HtmlEntities
    [javac] Compiling 1 source file to D:\00_CREATION_EXTENSION\components\build\classes\HtmlEntities
      [jar] Building jar: D:\00_CREATION_EXTENSION\components\build\HtmlEntities.jar

Barcode:
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\build\classes\Barcode
    [javac] Compiling 40 source files to D:\00_CREATION_EXTENSION\components\build\classes\Barcode
    [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: D:\00_CREATION_EXTENSION\build\components\deps\Barcode.jar

CopyComponentLibraries:
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps\armeabi-v7a
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps\arm64-v8a
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps\x86_64
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 63 files to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 2 files to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\build\components\deps

common_CommonUtils:

init:

CommonUtils:

CommonConstants:
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\build\classes\CommonConstants
    [javac] Compiling 45 source files to D:\00_CREATION_EXTENSION\components\build\classes\CommonConstants
    [javac] Creating empty D:\00_CREATION_EXTENSION\components\build\classes\CommonConstants\com\google\appinventor\components\common\package-info.class
      [jar] Building jar: D:\00_CREATION_EXTENSION\build\components\CommonConstants.jar
      [jar] Building jar: D:\00_CREATION_EXTENSION\build\components\CommonConstants-gwt.jar

AnnotationProcessors:
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\build\classes\AnnotationProcessors
    [javac] Compiling 45 source files to D:\00_CREATION_EXTENSION\components\build\classes\AnnotationProcessors
    [javac] Note: D:\00_CREATION_EXTENSION\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] Creating empty D:\00_CREATION_EXTENSION\components\build\classes\AnnotationProcessors\com\google\appinventor\components\annotations\androidmanifest\package-info.class
    [javac] Creating empty D:\00_CREATION_EXTENSION\components\build\classes\AnnotationProcessors\com\google\appinventor\components\annotations\package-info.class
    [javac] Creating empty D:\00_CREATION_EXTENSION\components\build\classes\AnnotationProcessors\com\google\appinventor\components\scripts\package-info.class
     [copy] Copying 22 files to D:\00_CREATION_EXTENSION\components\build\classes\AnnotationProcessors
      [jar] Building jar: D:\00_CREATION_EXTENSION\components\build\AnnotationProcessors.jar

AndroidRuntime.uptodate:

AndroidRuntime:
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\build\classes\AndroidRuntime
    [javac] Compiling 381 source files to D:\00_CREATION_EXTENSION\components\build\classes\AndroidRuntime
    [javac] warning: In component Phrase, method phrase1 is missing a description.
    [javac] Note: Wrote file file:/D:/00_CREATION_EXTENSION/components/build/classes/AndroidRuntime/simple_components.json
    [javac] warning: In component Phrase, method phrase1 is missing a description.
    [javac] Note: Wrote file file:/D:/00_CREATION_EXTENSION/components/build/classes/AndroidRuntime/simple_components.txt
    [javac] Note: Wrote file file:/D:/00_CREATION_EXTENSION/components/build/classes/AndroidRuntime/simple_components_build_info.json
    [javac] warning: In component Phrase, method phrase1 is missing a description.
    [javac] Note: Wrote file file:/D:/00_CREATION_EXTENSION/components/build/classes/AndroidRuntime/AutogeneratedOdeMessages.java
    [javac] Note: Wrote file file:/D:/00_CREATION_EXTENSION/components/build/classes/AndroidRuntime/ComponentsTranslation.java
    [javac] warning: In component Phrase, method phrase1 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] 4 warnings
    [javac] Creating empty D:\00_CREATION_EXTENSION\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\util\package-info.class
    [javac] Creating empty D:\00_CREATION_EXTENSION\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\androidmanifest\package-info.class
    [javac] Creating empty D:\00_CREATION_EXTENSION\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\collect\package-info.class
    [javac] Creating empty D:\00_CREATION_EXTENSION\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\package-info.class
    [javac] Creating empty D:\00_CREATION_EXTENSION\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\package-info.class
    [javac] Creating empty D:\00_CREATION_EXTENSION\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\errors\package-info.class
      [jar] Building jar: D:\00_CREATION_EXTENSION\build\components\AndroidRuntime.jar
     [copy] Copying 3 files to D:\00_CREATION_EXTENSION\build\components
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\build\components\ComponentTranslation\src\com\google\appinventor\client
     [copy] Copying 2 files to D:\00_CREATION_EXTENSION\build\components\ComponentTranslation\src\com\google\appinventor\client
     [copy] Copying 14 files to D:\00_CREATION_EXTENSION\docs\markdown\reference\components

ExternalComponentGenerator:
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\build\classes\ExternalComponentGenerator
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\build\externalComponents
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\build\externalComponents-class
    [javac] Compiling 1 source file to D:\00_CREATION_EXTENSION\components\build\classes\ExternalComponentGenerator
     [java]
     [java] Extensions : Generating extensions
     [java]
     [java] Extensions : Generating files [com.bassy.texttoascii]
     [java] Extensions : Copying file com\bassy\texttoascii\TextToAscii.class
     [java] Extensions : Successfully created com.bassy.texttoascii build info file
     [java] Extensions : Successfully created com.bassy.texttoascii extension properties file
     [java]
     [java] Extensions : Generating files [com.bassy2.person]
     [java] Extensions : Copying file D:\00_CREATION_EXTENSION\components\build\externalComponents\..\..\src\com\bassy2\person\aiwebres\55.png
     [java] Extensions : Copying file com\bassy2\person\Person.class
     [java] Extensions : Successfully created com.bassy2.person build info file
     [java] Extensions : Successfully created com.bassy2.person extension properties file
     [java]
     [java] Extensions : Generating files [com.etskhodja]
     [java] Extensions : Copying file D:\00_CREATION_EXTENSION\components\build\externalComponents\..\..\src\com\etskhodja\aiwebres\p.png
     [java] Extensions : Copying file com\etskhodja\Phrase.class
     [java] Extensions : Successfully created com.etskhodja build info file
     [java] Extensions : Successfully created com.etskhodja extension properties file
     [java]
     [java] Extensions : Generating files [com.f]
     [java] Extensions : Copying file com\f\Khodja1.class
     [java] Extensions : Successfully created com.f build info file
     [java] Extensions : Successfully created com.f extension properties file

unjarAllExtensionLibraries:

unjarExtensionLibraries:

unjarExtensionLibraries:

unjarExtensionLibraries:
    [unzip] Expanding: D:\00_CREATION_EXTENSION\components\build\externalComponents-class\com.etskhodja\commons-lang.jar into D:\00_CREATION_EXTENSION\components\build\externalComponents-class\com.etskhodja

unjarExtensionLibraries:

jarAllExtensions:

jarExtension:
      [jar] Building jar: D:\00_CREATION_EXTENSION\components\build\externalComponents-class\com.bassy.texttoascii.jar

ProGuard:
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\components\build\externalComponents\com.bassy.texttoascii\files
     [echo] Generated build file AndroidRuntime.jar [com.bassy.texttoascii]

jarExtension:
      [jar] Building jar: D:\00_CREATION_EXTENSION\components\build\externalComponents-class\com.bassy2.person.jar

ProGuard:
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\components\build\externalComponents\com.bassy2.person\files
     [echo] Generated build file AndroidRuntime.jar [com.bassy2.person]

jarExtension:
      [jar] Building jar: D:\00_CREATION_EXTENSION\components\build\externalComponents-class\com.etskhodja.jar

ProGuard:
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\components\build\externalComponents\com.etskhodja\files
     [echo] Generated build file AndroidRuntime.jar [com.etskhodja]

jarExtension:
      [jar] Building jar: D:\00_CREATION_EXTENSION\components\build\externalComponents-class\com.f.jar

ProGuard:
     [copy] Copying 1 file to D:\00_CREATION_EXTENSION\components\build\externalComponents\com.f\files
     [echo] Generated build file AndroidRuntime.jar [com.f]

dexAllExtensions:

dexExtension:
     [echo] Dexing extension: com.bassy.texttoascii

dexExtension:
     [echo] Dexing extension: com.bassy2.person

dexExtension:
     [echo] Dexing extension: com.etskhodja

dexExtension:
     [echo] Dexing extension: com.f

extensions:
    [mkdir] Created dir: D:\00_CREATION_EXTENSION\components\build\extensions

packExtension:
      [zip] Building zip: D:\00_CREATION_EXTENSION\components\build\extensions\com.bassy.texttoascii.aix

packExtension:
      [zip] Building zip: D:\00_CREATION_EXTENSION\components\build\extensions\com.bassy2.person.aix

packExtension:
      [zip] Building zip: D:\00_CREATION_EXTENSION\components\build\extensions\com.etskhodja.aix

packExtension:
      [zip] Building zip: D:\00_CREATION_EXTENSION\components\build\extensions\com.f.aix

BUILD SUCCESSFUL
Total time: 7 seconds

Are you sure that there is no component in AppyBuilder which uses that library?

Also, I don't think this is AppyBuilder forum.

2 Likes

when i compile a code with niotron it's work very well.. but not when i compile with ant or Rush

You literally did not run the command I suggested...

Hoo i am sorry .. this is the diagnostics output :

PS D:\00_CREATION_EXTENSION> ant -diagnostics
------- Ant diagnostics report -------
Apache Ant(TM) version 1.10.14 compiled on August 16 2023

-------------------------------------------
 Implementation Version
-------------------------------------------
core tasks     : 1.10.14 in file:/D:/Android_flutter/apache-ant-1.10.14/lib/ant.jar

-------------------------------------------
 ANT PROPERTIES
-------------------------------------------
ant.version: Apache Ant(TM) version 1.10.14 compiled on August 16 2023
ant.java.version: 1.8
Is this the Apache Harmony VM? no
Is this the Kaffe VM? no
Is this gij/gcj? no
ant.core.lib: D:\Android_flutter\apache-ant-1.10.14\lib\ant.jar
ant.home: D:\Android_flutter\apache-ant-1.10.14

-------------------------------------------
 ANT_HOME/lib jar listing
-------------------------------------------
ant.home: D:\Android_flutter\apache-ant-1.10.14
ant-antlr.jar (12271 bytes)
ant-apache-bcel.jar (15617 bytes)
ant-apache-bsf.jar (10149 bytes)
ant-apache-log4j.jar (8768 bytes)
ant-apache-oro.jar (10052 bytes)
ant-apache-regexp.jar (10026 bytes)
ant-apache-resolver.jar (9916 bytes)
ant-apache-xalan2.jar (8419 bytes)
ant-commons-logging.jar (10180 bytes)
ant-commons-net.jar (91005 bytes)
ant-imageio.jar (31587 bytes)
ant-jai.jar (29588 bytes)
ant-jakartamail.jar (14691 bytes)
ant-javamail.jar (14670 bytes)
ant-jdepend.jar (14995 bytes)
ant-jmf.jar (12991 bytes)
ant-jsch.jar (55149 bytes)
ant-junit.jar (141302 bytes)
ant-junit4.jar (13656 bytes)
ant-junitlauncher.jar (96443 bytes)
ant-launcher.jar (18871 bytes)
ant-netrexx.jar (17324 bytes)
ant-swing.jar (13931 bytes)
ant-testutil.jar (28794 bytes)
ant-xz.jar (11351 bytes)
ant.jar (2303167 bytes)

-------------------------------------------
 USER_HOME/.ant/lib jar listing
-------------------------------------------
user.home: C:\Users\akhod
No such directory.

-------------------------------------------
 Tasks availability
-------------------------------------------
image : Missing dependency javax.media.jai.PlanarImage
sshexec : Missing dependency com.jcraft.jsch.Logger
scp : Missing dependency com.jcraft.jsch.Logger
sshsession : Missing dependency com.jcraft.jsch.Logger
ftp : Missing dependency org.apache.commons.net.ftp.FTPClient
jdepend : Missing dependency jdepend.textui.JDepend
xz : Missing dependency org.tukaani.xz.FilterOptions
A task being missing/unavailable should only matter if you are trying to use it

-------------------------------------------
 org.apache.env.Which diagnostics
-------------------------------------------
Not available.
Download it at https://xml.apache.org/commons/

-------------------------------------------
 XML Parser information
-------------------------------------------
XML Parser : com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
XML Parser Location: unknown
Namespace-aware parser : com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
Namespace-aware parser Location: unknown

-------------------------------------------
 XSLT Processor information
-------------------------------------------
XSLT Processor : com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl
XSLT Processor Location: unknown

-------------------------------------------
 System properties
-------------------------------------------
java.runtime.name : Java(TM) SE Runtime Environment
sun.boot.library.path : C:\Program Files\Java\jdk1.8.0_361\jre\bin
java.vm.version : 25.361-b09
ant.library.dir : D:\Android_flutter\apache-ant-1.10.14\lib
java.vm.vendor : Oracle Corporation
java.vendor.url : http://java.oracle.com/
path.separator : ;
java.vm.name : Java HotSpot(TM) 64-Bit Server VM
file.encoding.pkg : sun.io
user.script :
user.country : FR
sun.java.launcher : SUN_STANDARD
sun.os.patch.level :
java.vm.specification.name : Java Virtual Machine Specification
user.dir : D:\00_CREATION_EXTENSION
java.runtime.version : 1.8.0_361-b09
java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs : C:\Program Files\Java\jdk1.8.0_361\jre\lib\endorsed
os.arch : amd64
java.io.tmpdir : C:\Users\akhod\AppData\Local\Temp\
line.separator :

java.vm.specification.vendor : Oracle Corporation
user.variant :
os.name : Windows 10
ant.home : D:\Android_flutter\apache-ant-1.10.14
sun.jnu.encoding : Cp1256
java.library.path : C:\Program Files\Java\jdk1.8.0_361\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\PowerShell\7;C:\Program Files\Java\jdk1.8.0_361\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Siemens\Bin;C:\Program Files (x86)\Common Files\Siemens\CommonArchiving;C:\Program Files\Siemens\Solid Edge Wiring and Harness Design 2020\jre\bin;C:\Program Files\Siemens\Solid Edge Wiring and Harness Design 2020\bin;C:\Program Files\Siemens\Solid Edge Wiring and Harness Design 2020\jreWin64\1.8.0_202\jre\bin\server;C:\Program Files\Siemens\Solid Edge Wiring and Harness Design 2020\jreWin64\1.8.0_202\jre\bin;D:\Program Files\Siemens\Automation\SCADA-RT_V11\WinCC\Bin;C:\Program Files (x86)\Common Files\Siemens\ACE\Bin;C:\Program Files\Common Files\Siemens\Automation\Simatic OAM\bin;C:\Program Files (x86)\Siemens\Step7\S7bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\PKWARE\pkzipc;C:\Program Files (x86)\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Common Files\Siemens\;C:\Program Files (x86)\Common Files\Siemens\Interfaces;C:\Program Files (x86)\Common Files\Siemens\ACE\Interfaces;D:\Program Files\Siemens\Automation\SCADA-RT_V11\WinCC\Interfaces;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\Git\cmd;C:\Users\akhod\.appzard\bin;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\nodejs\;C:\zip-3.0-bin\bin;C:\Program Files\PowerShell\7\;C:\Ruby33-x64\bin;C:\Users\akhod\AppData\Local\Microsoft\WindowsApps;C:\Users\akhod\.dotnet\tools;C:\Users\akhod\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\PostgreSQL\14\bin;C:\Program Files\PostgreSQL\14\lib;C:\Users\akhod\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\Java\jdk1.8.0_361\jre\bin;D:\Android_flutter\apache-ant-1.10.14\bin;C:\Users\akhod\AppData\Roaming\npm;D:\Android_flutter\gradle-8.9\bin;C:\Users\akhod\AppData\Local\Android\Sdk\platform-tools;C:\Users\akhod\AppData\Local\Android\Sdk\build-tools;C:\Program Files\DecSoft\AppBuilder;D:\Android_flutter\gradle-8.9\bin;C:\Program Files\DecSoft\HtmlCompiler;C:\Users\akhod\Desktop\JSelect-0.3;C:\Users\akhod/.rush/bin;.
java.specification.name : Java Platform API Specification
java.class.version : 52.0
sun.management.compiler : HotSpot 64-Bit Tiered Compilers
os.version : 10.0
user.home : C:\Users\akhod
user.timezone :
java.awt.printerjob : sun.awt.windows.WPrinterJob
java.specification.version : 1.8
file.encoding : Cp1256
user.name : yssab
java.class.path : D:\Android_flutter\apache-ant-1.10.14\lib\ant-launcher.jar;D:\Android_flutter\apache-ant-1.10.14\lib\;C:\Program Files\Java\jdk1.8.0_361\lib\;D:\Android_flutter\apache-ant-1.10.14\lib\ant-antlr.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-apache-bcel.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-apache-bsf.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-apache-log4j.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-apache-oro.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-apache-regexp.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-apache-resolver.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-apache-xalan2.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-commons-logging.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-commons-net.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-imageio.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-jai.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-jakartamail.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-javamail.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-jdepend.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-jmf.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-jsch.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-junit.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-junit4.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-junitlauncher.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-launcher.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-netrexx.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-swing.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-testutil.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant-xz.jar;D:\Android_flutter\apache-ant-1.10.14\lib\ant.jar;C:\Program Files\Java\jdk1.8.0_361\lib\tools.jar
java.vm.specification.version : 1.8
sun.arch.data.model : 64
java.home : C:\Program Files\Java\jdk1.8.0_361\jre
sun.java.command : org.apache.tools.ant.launch.Launcher -cp D:\Android_flutter\apache-ant-1.10.14\lib;C:\Program Files\Java\jdk1.8.0_361\lib -diagnostics
java.specification.vendor : Oracle Corporation
user.language : fr
awt.toolkit : sun.awt.windows.WToolkit
java.vm.info : mixed mode
java.version : 1.8.0_361
java.ext.dirs : C:\Program Files\Java\jdk1.8.0_361\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
sun.boot.class.path : C:\Program Files\Java\jdk1.8.0_361\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_361\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_361\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_361\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_361\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_361\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_361\jre\classes
sun.stderr.encoding : cp720
java.vendor : Oracle Corporation
java.specification.maintenance.version : 4
file.separator : \
java.vendor.url.bug : http://bugreport.sun.com/bugreport/
sun.cpu.endian : little
sun.io.unicode.encoding : UnicodeLittle
sun.stdout.encoding : cp720
sun.desktop : windows
sun.cpu.isalist : amd64

-------------------------------------------
 Temp dir
-------------------------------------------
Temp dir is C:\Users\akhod\AppData\Local\Temp\
Temp dir is writeable
Temp dir alignment with system clock is 173 ms

-------------------------------------------
 Locale information
-------------------------------------------
Timezone GMT+01:00 offset=3600000

-------------------------------------------
 Proxy information
-------------------------------------------
Java1.5+ proxy settings:
Direct connection

1 Like