Punya build error

When trying to build Punya from sources I get the following error:

[java] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/slf4j/impl/AndroidLoggerFactory;
     [java] 2 errors; aborting
     [java] Dec 10, 2021 10:27:11 AM com.google.appinventor.buildserver.Compiler setProgress
     [java] INFO: The current progress is 75%
     [java] Dec 10, 2021 10:27:11 AM com.google.appinventor.buildserver.Compiler runMultidex
     [java] INFO: DX time: 151.772000 seconds
     [java] Dec 10, 2021 10:27:11 AM com.google.appinventor.buildserver.Compiler runMultidex
     [java] WARNING: YAIL compiler - DX execution failed.

BUILD FAILED
/vagrant/appinventor/build.xml:21: The following error occurred while executing this line:
/vagrant/appinventor/buildserver/build.xml:195: Java returned: 1

I added some libraries to components/build.xml file
<copy toFile="${public.deps.dir}/slf4j-android-1.7.30.jar" file="${lib.dir}/slf4j-android/slf4j-android-1.7.30.jar" />
and a Java class to source codes but the first time I was able to compile successfully, after that I only get BUILD ERROR. Please help

A post was merged into an existing topic: Punya built from sources error

no need to duplicate your topic !!