Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 4 Support (Qt 6) › Felgo 4 probelem with generate aplication for Android

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25205

    Ingrifo

    Hello,

    On linux Felgo 3 build apk for Android ok

    After upgrade to Felgo 4 dont build apk.

     

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

    You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

    See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

    FAILURE: Build failed with an exception.

    * What went wrong:
    Could not determine the dependencies of task ‘:compileDebugJavaWithJavac’.
    > Could not resolve all dependencies for configuration ‘:debugRuntimeClasspath’.
    > Could not determine artifacts for androidx.core:core:1.3.2
    > Could not get resource ‘https://maven.google.com/androidx/core/core/1.3.2/core-1.3.2.aar’.
    > Could not HEAD ‘https://maven.google.com/androidx/core/core/1.3.2/core-1.3.2.aar’.
    > The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.4.2/userguide/build_environment.html#gradle_system_properties
    > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed

    * Try:
    > Run with –stacktrace option to get the stack trace.
    > Run with –info or –debug option to get more log output.
    > Run with –scan to get full insights.

    * Get more help at https://help.gradle.org

    BUILD FAILED in 13s
    Building the android package failed!
    — For more information, run this command with –verbose.
    10:03:17: The process “/home/intrack/Felgo/Felgo/android/bin/androiddeployqt” exited with code 14.
    Error while building/deploying project intrack (kit: Android Qt 5.15.2 Clang Multi-Abi)
    The kit Android Qt 5.15.2 Clang Multi-Abi has configuration issues which might be the root cause for this problem.
    When executing step “Build Android APK”
    10:03:17: Elapsed time: 00:39.

     

    #25207

    Günther
    Felgo Team

    Hi Ingrifo,

    please make sure to use the latest Android tool versions described in https://felgo.com/doc/felgo-deployment-android/#install-required-android-components. You can also try to build an empty Felgo project created from the wizard to make sure the build works. In case your custom project has a different Gradle configuration you can use the working project for reference.

    The most important steps for migrating the Android settings to Felgo 4 are described here: https://felgo.com/doc/felgo-updates-felgo-4-qt-6-migration-guide/#android-migration-steps

    Best,
    Günther

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded