Error when exporting the application [DX error again]

App Inventor no ha podido compilar el proyecto.
El error de compilación es
________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: 0.453 seconds
AAPT2 link time: 0.595 seconds
________Compiling source files
(compiling appinventor/ai_irontrol2/HikDetect/Screen1.yail to appinventor.ai_irontrol2.HikDetect.Screen1)
(compiling appinventor/ai_irontrol2/HikDetect/Inicio.yail to appinventor.ai_irontrol2.HikDetect.Inicio)
(compiling /tmp/runtime3427389944842141713.scm to com.google.youngandroid.runtime)
Kawa compile time: 2.268 seconds
________Invoking DX
DX time: 18.732000 seconds
YAIL compiler - DX execution failed.

HikDetect.aia (3.9 MB)

Help me please

Your problem might be discussed in one of these threads

or it might be this


HUGE image

1 Like

Image 5251px x 5251px :face_with_head_bandage:

And in app displayed in 165px x 165px...

But I think the most important reason may be that you are using 3 different extensions from qrcode, if at least 2 of them contain zxing library then we have source of DX error.

I removed the zxing library from the one extension.

HikDetect2.aia (3.4 MB)

1 Like

Ohhh... Thank you very much if the error is solved, Thank you very much, but one question, could you do the same with this one.
HikDetect.aia (4.1 MB)

It is that this is a more updated version of the previous one and I do not know if you can also pass me the extension to which you removed the zxing library already updated without that library.

Have you checked the previous project, are all extensions working properly after removing the library?

1 Like

Yes, I already checked, it goes perfect, I already knew how to copy the extension that I modify and move it to my most updated app, Thank you very much :hugs:

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