genexusgenexus-sd

Error after activate frontend android in genexus


I get an error after activate frontend android in genexus.

My genexus18 u4 and mysql database.

enter image description here

enter image description here

Calculating Mobile Targets for Frontend (Front end)
========== Android Compilation started ==========
Command: gradle :SBLGMPAudit:assembleDebug --no-daemon --parallel -Dorg.gradle.jvmargs=-Xmx3072m -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.4.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

Task :SBLGMPAudit:preBuild UP-TO-DATE Task :SBLGMPAudit:preDebugBuild UP-TO-DATE Task :SBLGMPAudit:mergeDebugNativeDebugMetadata NO-SOURCE Task :SBLGMPAudit:compileDebugAidl NO-SOURCE Task :SBLGMPAudit:compileDebugRenderscript NO-SOURCE Task :SBLGMPAudit:generateDebugBuildConfig UP-TO-DATE Task :SBLGMPAudit:javaPreCompileDebug UP-TO-DATE Task :SBLGMPAudit:checkDebugAarMetadata FAILED error: error: FAILURE: Build failed with an exception. error: error: * What went wrong: error: Execution failed for task ':SBLGMPAudit:checkDebugAarMetadata'. error: > Could not resolve all files for configuration ':SBLGMPAudit:debugRuntimeClasspath'. error: > Failed to transform fotoapparat-2.7.0.aar (io.fotoapparat.fotoapparat:fotoapparat:2.7.0) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}. error: > Could not find fotoapparat-2.7.0.aar (io.fotoapparat.fotoapparat:fotoapparat:2.7.0). error: Searched in the following locations: error: https://jitpack.io/io/fotoapparat/fotoapparat/fotoapparat/2.7.0/fotoapparat-2.7.0.aar error: > Failed to transform adapter-rxjava-2.7.0.aar (io.fotoapparat.fotoapparat:adapter-rxjava:2.7.0) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}. error: > Could not find adapter-rxjava-2.7.0.aar (io.fotoapparat.fotoapparat:adapter-rxjava:2.7.0). error: Searched in the following locations: error: https://jitpack.io/io/fotoapparat/fotoapparat/adapter-rxjava/2.7.0/adapter-rxjava-2.7.0.aar error: > Failed to transform adapter-rxjava2-2.7.0.aar (io.fotoapparat.fotoapparat:adapter-rxjava2:2.7.0) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}. error: > Could not find adapter-rxjava2-2.7.0.aar (io.fotoapparat.fotoapparat:adapter-rxjava2:2.7.0). error: Searched in the following locations: error: https://jitpack.io/io/fotoapparat/fotoapparat/adapter-rxjava2/2.7.0/adapter-rxjava2-2.7.0.aar 3 actionable tasks: 1 executed, 2 up-to-date Failed: Build All


Solution

  • Try adding this line:

    maven { url 'https://maven.scijava.org/content/repositories/public' }

    before this line:

    maven { url 'https://jitpack.io' }

    At build.gradle (e.g. "C:\Program Files (x86)\GeneXus\GeneXus18\Android\Templates\RootProject\build.gradle")

    Reference: https://www.genexus.com/en/developers/websac?data=60721;;