Cannot build aab and apk

Hello Appzard


I got this error when I build the aab or the apk file. Please help me to fix

Hello @ILOCANO_TV ,
Can you please attach the AIA here or send it privately (via PM) so I can diagnose the reason for this error?

2 Likes

i have sent a message sir. please check inbox. thank you

Please give me update sir

Hello, I didn’t get the error while building your app on the latest version of appzard.
Please answer the following questions:
1- Are you using the latest version of appzard? To check, click the Update Appzard button in Appzard GUI
2- Have you created this AIA from scratch or you have imported it from another builder?

1 Like

I have the latest version sir. I created it form the scratch


Can you build any AAB / APK? Create an empty project and try to build the APK.
If that doesn’t work, check this:

1 Like

still error

And again:

1 Like

I re imported my app aia and remove some screens. i only left 3 screens. i try to build the apk and it works. why like that?

mine have only 2 screen it build to 85% than say building failed
I have try to build empty project the same error happen

this error
Appzard is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating style xml
________Creating provider_path xml
________Creating network_security_config xml
________Generating adaptive icon file
________Generating round adaptive icon file
________Generating adaptive icon background file
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT2 compile time: 4.919 seconds
AAPT2 link time: 8.2 seconds
________Compiling source files
(compiling C:\Users\abdil\AppData\Local\Temp\1678887256720_0.2813721476547516-0\youngandroidproject..\src\com\appzard\sumayyakhamis874\test\Screen1.yail to com.appzard.sumayyakhamis874.test.Screen1)
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:123:2: 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\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:126:2: 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\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:803: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\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:805: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\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:815:4: 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\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:820:3: 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\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:822:3: 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\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:828:5: 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\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:830:5: 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\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:836:4: 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\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:838:4: 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\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:848:4: 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\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:867:4: warning - no accessible method ‘addParent’ in gnu.mapping.Environment
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:1065:10: warning - more than one possibly applicable method ‘dispatchPermissionDeniedEvent’ in com.google.appinventor.components.runtime.Form
candidate: void com.google.appinventor.components.runtime.Form.dispatchPermissionDeniedEvent(com.google.appinventor.components.runtime.Component,java.lang.String,com.google.appinventor.components.runtime.errors.PermissionException)
candidate: void com.google.appinventor.components.runtime.Form.dispatchPermissionDeniedEvent(com.google.appinventor.components.runtime.Component,java.lang.String,java.lang.String)
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:1089:6: warning - more than one possibly applicable method ‘dispatchPermissionDeniedEvent’ in com.google.appinventor.components.runtime.Form
candidate: void com.google.appinventor.components.runtime.Form.dispatchPermissionDeniedEvent(com.google.appinventor.components.runtime.Component,java.lang.String,com.google.appinventor.components.runtime.errors.PermissionException)
candidate: void com.google.appinventor.components.runtime.Form.dispatchPermissionDeniedEvent(com.google.appinventor.components.runtime.Component,java.lang.String,java.lang.String)
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:1148:6: warning - more than one possibly applicable method ‘dispatchPermissionDeniedEvent’ in com.google.appinventor.components.runtime.Form
candidate: void com.google.appinventor.components.runtime.Form.dispatchPermissionDeniedEvent(com.google.appinventor.components.runtime.Component,java.lang.String,com.google.appinventor.components.runtime.errors.PermissionException)
candidate: void com.google.appinventor.components.runtime.Form.dispatchPermissionDeniedEvent(com.google.appinventor.components.runtime.Component,java.lang.String,java.lang.String)
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:1338:2: warning - no accessible method ‘runtimeFormErrorOccurredEvent’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:1367:6: warning - more than one possibly applicable method ‘dispatchPermissionDeniedEvent’ in com.google.appinventor.components.runtime.Form
candidate: void com.google.appinventor.components.runtime.Form.dispatchPermissionDeniedEvent(com.google.appinventor.components.runtime.Component,java.lang.String,com.google.appinventor.components.runtime.errors.PermissionException)
candidate: void com.google.appinventor.components.runtime.Form.dispatchPermissionDeniedEvent(com.google.appinventor.components.runtime.Component,java.lang.String,java.lang.String)
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:1513:15: warning - no known slot ‘toUnderlyingValue’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:1549:15: warning - no known slot ‘toUnderlyingValue’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:1682:7: warning - no known slot ‘toYailDictionary’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:1776:46: warning - no known slot ‘toUnderlyingValue’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:1777:49: warning - no known slot ‘toUnderlyingValue’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:2214:2: 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.List)
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.util.Set)
candidate: com.google.appinventor.components.runtime.util.YailList com.google.appinventor.components.runtime.util.YailList.makeList(java.lang.Object[])
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:2663:54: warning - no known slot ‘toUnderlyingValue’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:2677:2: warning - no known slot ‘setValueForKeyPath’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:3037:4: warning - no known slot ‘getDhcpInfo’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:3059:2: warning - no known slot ‘post’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:3102:3: warning - no accessible method ‘clear’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:3106:2: warning - no accessible method ‘setFormName’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:3113:4: warning - no accessible method ‘deleteComponent’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:1140:52: warning - no declaration seen for possible-component
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:1148:66: warning - no declaration seen for component
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:410:72: warning - no known slot ‘getMessage’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:412:10: warning - more than one possibly applicable method ‘makeText’ in android.widget.Toast
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,int,int)
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,java.lang.CharSequence,int)
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:412:9: warning - no known slot ‘show’ in java.lang.Object
C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm:416:8: warning - no known slot ‘getMessage’ in java.lang.Object
(compiling C:\Users\abdil\AppData\Local\Temp\runtime8727003762115030727.scm to com.google.youngandroid.runtime)
Kawa compile time: 6.05 seconds
________Invoking R8
R8 time: 145.383 seconds
___________Creating structure
___________Extracting protobuf resources
________Running bundletool
________Signing bundle
.

.apk work fine but .aab failed

In Appzard GUI, Click on ‘Copy Logs’ and paste it in a txt file. Then, send it here

File is too big what should i do or upload segment file
but this are the last lines


________Invoking R8

R8 time: 150.706 seconds

___________Creating structure

___________Extracting protobuf resources

________Running bundletool

________Signing bundle


Mar 15, 2023 8:11:02 PM com.google.appinventor.buildserver.BuildServer build
INFO: Build error output: Error: Your build failed due to an error in the Activity Metadata stage, not because of an error in your program.
Error: Your build failed due to an error in the Content Providers stage, not because of an error in your program.
Error: Your build failed due to an error in the Metadata stage, not because of an error in your program.
Error: Your build failed due to an error in the Services stage, not because of an error in your program.
Error: Your build failed due to an error in the Services stage, not because of an error in your program.

Mar 15, 2023 8:11:02 PM com.google.appinventor.buildserver.BuildServer checkMemory
INFO: Build 3 current used memory: 21988672 bytes
Mar 15, 2023 8:11:02 PM com.google.appinventor.buildserver.BuildServer buildAndCreateZip
SEVERE: Build 3 Failed: 1 Error: Your build failed due to an error in the Activity Metadata stage, not because of an error in your program.
Error: Your build failed due to an error in the Content Providers stage, not because of an error in your program.
Error: Your build failed due to an error in the Metadata stage, not because of an error in your program.
Error: Your build failed due to an error in the Services stage, not because of an error in your program.
Error: Your build failed due to an error in the Services stage, not because of an error in your program.

Mar 15, 2023 8:11:02 PM com.google.appinventor.buildserver.BuildServer$1 run
INFO: CallbackURL: http://localhost:8888/ode2/receivebuild/vdohohwueiter5juufgfv3qumirnkr7v56mpzk5i98a2lny7rvf25oa23xevpc582qshcubqv4gg49hozfvn3sldt1uez2n751iakgs3dckqlb8mf/build/Android
Mar 15, 2023 8:11:02 PM com.google.appinventor.buildserver.BuildServer checkMemory
INFO: Build 3 current used memory: 20904064 bytes
Mar 15, 2023 8:11:02 PM com.google.appinventor.server.ReceiveBuildServlet doPost
INFO: Saving build output files: build/Android/build.out
Mar 15, 2023 8:11:02 PM com.google.appinventor.buildserver.BuildServer checkMemory
INFO: Build 3 current used memory: 18652272 bytes
Mar 15, 2023 8:11:02 PM com.google.appinventor.buildserver.BuildServer$1 run
INFO: BUILD 3 FINISHED

Yes, because it contains build logs for 3 builds. You should close the instance and restart the appzard, then, rebuild the aab and send logs. However, you can upload the logs file on Google drive and send me the link

This file
hhh.txt (739.7 KB)

there is a bug when building aab using custom keystore. It will be fixed soon

1 Like

thank you.
If i have used my key and i want to build new project with Appzard key, how to revert

1 Like