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

Forums

OverviewFelgo 3 Support (Qt 5) › Cloud-Build: Error when setting to Distribution Build –

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24427

    Awi

    Hi, I tried the Cloud Build feature for Distribution Build, it failed with this log message, the same files build fine for Development Build (but still cannot download the APK because of time out while downloading).

    In case you wonder, we’re reviewing Felgo and have finished an app using it, and we plan to buy the License if everything works out OK. Please let us know what works and what’s not in case this is because we have not buy the license yet. For example, the App Bundle download also returns nothing (no downloads offered)

     

    Many thanks for your support.

    Gruesse aus Indonesien,

    Awi

    ####################################################
    ###
    ## Clone project repository
    #
    – Clone Git repository
    – Clone repository
    – Load branch main
    Finished in 00h 00m 01s

    ####################################################
    ###
    ## Build & Sign project
    #
    – General options
    – Verbose output…NO
    – Zip distributables (desktop)…YES
    – Compiler options
    – Compilation target(s)…android
    – Qt Version…5.15.2
    – Download Qt for target…YES
    – Project options
    – Project file (*.pro) found…YES ~/project/repo/VehiLoc.pro
    – Override PRODUCT_IDENTIFIER…NO
    – Override PRODUCT_VERSION_CODE…5
    – Override PRODUCT_VERSION_NAME…1.0.0
    – qmake extra arguments…NONE
    – Felgo options
    – Felgo source…live
    – Felgo version…latest
    – Felgo branch…2
    – Android options
    – Sign app…YES
    – Keystore set…YES
    – Alias set…upload
    – Keystore password set…YES
    – Alias key password set (optional)…NO, but use storepass
    ———————————————————-
    – Download Qt for target ‘android’
    – Determine download URL
    – Qt ‘macx/vplayengine.2.qt.android_multi’ v5.15.2-1 available
    – Download Qt for ‘android’ v5.15.2-1
    – Successfully downloaded Qt
    – Prepare Qt
    – Download Felgo for target ‘android’
    – Determine download URL
    – Felgo ‘macx/vplayengine.2.android.multi’ v3.9.1 available
    – Download Felgo for ‘android’…
    – Successfully downloaded
    – Build project for Android
    – Preparation
    – Setup Android NDK/SDK (android)
    – Build with Android NDK v21e (21.4.7075529)
    – Build with Android Platform tools v31.0.3
    – Build with Java openjdk version “11.0.10” 2021-01-19
    – Signing enabled (signed release build)
    – Prepare project
    – Set product version
    – Build
    – Build Qt project…
    – Acquire Felgo license key
    – Felgo License key received
    Set Felgo license key for ‘com.itpro.VehiLoc’, version code 5
    – Build & sign Android app…
    – Android app build errored
    ———————————————————-
    Error text for error-android-apk-building
    ———————————————————-
    Generating Android Package
    Input file: android-VehiLoc-deployment-settings.json
    Output directory: /Users/distiller/project/repo/build-android/
    Application binary: VehiLoc
    Android build platform: android-30
    Install to device: No
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
    — Skipping /private/var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/T/.CB_20210903-1291-1imxcwv/compiler/Felgo/android/plugins/position/libplugins_position_qtposition_serialnmea_arm64-v8a.so. It has unmet dependencies: lib/libQt5SerialPort_arm64-v8a.so.
    — Skipping /private/var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/T/.CB_20210903-1291-1imxcwv/compiler/Felgo/android/plugins/iconengines/libplugins_iconengines_qsvgicon_arm64-v8a.so. It has unmet dependencies: lib/libQt5Svg_arm64-v8a.so.
    — Skipping /private/var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/T/.CB_20210903-1291-1imxcwv/compiler/Felgo/android/plugins/imageformats/libplugins_imageformats_qsvg_arm64-v8a.so. It has unmet dependencies: lib/libQt5Svg_arm64-v8a.so.
    — Skipping /private/var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/T/.CB_20210903-1291-1imxcwv/compiler/Felgo/android/plugins/position/libplugins_position_qtposition_serialnmea_armeabi-v7a.so. It has unmet dependencies: lib/libQt5SerialPort_armeabi-v7a.so.
    — Skipping /private/var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/T/.CB_20210903-1291-1imxcwv/compiler/Felgo/android/plugins/iconengines/libplugins_iconengines_qsvgicon_armeabi-v7a.so. It has unmet dependencies: lib/libQt5Svg_armeabi-v7a.so.
    — Skipping /private/var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/T/.CB_20210903-1291-1imxcwv/compiler/Felgo/android/plugins/imageformats/libplugins_imageformats_qsvg_armeabi-v7a.so. It has unmet dependencies: lib/libQt5Svg_armeabi-v7a.so.
    Downloading https://services.gradle.org/distributions/gradle-5.6.4-bin.zip
    ……………………………………………………………………………..
    Unzipping /Users/distiller/.gradle/wrapper/dists/gradle-5.6.4-bin/bxirm19lnfz6nurbatndyydux/gradle-5.6.4-bin.zip to /Users/distiller/.gradle/wrapper/dists/gradle-5.6.4-bin/bxirm19lnfz6nurbatndyydux
    Set executable permissions for: /Users/distiller/.gradle/wrapper/dists/gradle-5.6.4-bin/bxirm19lnfz6nurbatndyydux/gradle-5.6.4/bin/gradle

    Welcome to Gradle 5.6.4!

    Here are the highlights of this release:
    – Incremental Groovy compilation
    – Groovy compile avoidance
    – Test fixtures for Java projects
    – Manage plugin versions via settings script

    For more details see https://docs.gradle.org/5.6.4/release-notes.html

    Starting a Gradle Daemon (subsequent builds will be faster)

    > Configure project :
    WARNING: The option setting ‘android.bundle.enableUncompressedNativeLibs=false’ is experimental and unsupported.
    The current default is ‘true’.

    > Task :preBuild UP-TO-DATE
    > Task :prepareLintJar
    > Task :preReleaseBuild
    > Task :compileReleaseAidl
    > Task :compileReleaseRenderscript
    > Task :checkReleaseManifest
    > Task :generateReleaseBuildConfig
    > Task :generateReleaseSources
    > Task :javaPreCompileRelease
    > Task :mainApkListPersistenceRelease
    > Task :generateReleaseResValues
    > Task :generateReleaseResources
    > Task :mergeReleaseResources
    > Task :createReleaseCompatibleScreenManifests
    > Task :processReleaseManifest
    > Task :processReleaseResources

    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    > Task :compileReleaseJavaWithJavac

    > Task :compileReleaseNdk NO-SOURCE
    > Task :compileReleaseSources
    > Task :mergeReleaseShaders

    > Task :lintVitalRelease
    Calling mockable JAR artifact transform to create file: /Users/distiller/.gradle/caches/transforms-2/files-2.1/4f660477f396888e341406dfbe3fd3e2/android.jar with input /usr/local/share/android-sdk/platforms/android-30/android.jar

    > Task :compileReleaseShaders
    > Task :generateReleaseAssets
    > Task :mergeReleaseAssets
    > Task :signingConfigWriterRelease
    > Task :mergeReleaseJniLibFolders
    > Task :transformClassesWithDexBuilderForRelease
    > Task :transformClassesWithMultidexlistForRelease
    > Task :transformDexArchiveWithDexMergerForRelease
    > Task :transformNativeLibsWithMergeJniLibsForRelease
    > Task :transformNativeLibsWithStripDebugSymbolForRelease
    > Task :processReleaseJavaRes NO-SOURCE
    > Task :transformResourcesWithMergeJavaResForRelease
    > Task :packageRelease
    > Task :assembleRelease
    > Task :preDebugBuild
    > Task :compileDebugRenderscript
    > Task :generateDebugResValues
    > Task :generateDebugResources
    > Task :mergeDebugResources
    > Task :checkDebugManifest
    > Task :createDebugCompatibleScreenManifests
    > Task :mainApkListPersistenceDebug
    > Task :processDebugManifest
    > Task :bundleDebugResources
    > Task :mergeDebugShaders
    > Task :compileDebugShaders
    > Task :generateDebugAssets
    > Task :mergeDebugAssets
    > Task :compileDebugAidl
    > Task :generateDebugBuildConfig
    > Task :generateDebugSources
    > Task :javaPreCompileDebug
    > Task :processDebugResources

    > Task :compileDebugJavaWithJavac
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.

    > Task :transformClassesWithDexBuilderForDebug
    > Task :transformClassesWithMultidexlistForDebug
    > Task :transformDexArchiveWithDexMergerForDebug
    > Task :compileDebugNdk NO-SOURCE
    > Task :mergeDebugJniLibFolders
    > Task :transformNativeLibsWithMergeJniLibsForDebug
    > Task :transformNativeLibsWithStripDebugSymbolForDebug
    > Task :processDebugJavaRes NO-SOURCE
    > Task :transformResourcesWithMergeJavaResForDebug
    > Task :buildDebugPreBundle
    > Task :validateSigningDebug
    > Task :signingConfigWriterDebug
    > Task :packageDebugBundle
    > Task :bundleDebug
    > Task :bundleReleaseResources
    > Task :buildReleasePreBundle
    > Task :packageReleaseBundle
    > Task :bundleRelease
    > Task :bundle

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
    Use ‘–warning-mode all’ to show the individual deprecation warnings.
    See https://docs.gradle.org/5.6.4/userguide/command_line_interface.html#sec:command_line_warnings

    BUILD SUCCESSFUL in 2m 18s
    58 actionable tasks: 58 executed
    Signing file /Users/distiller/project/repo/build-android//build/outputs/apk/release/build-android-release-unsigned.apk
    Signing file /Users/distiller/project/repo/build-android//build/outputs/bundle/release/build-android-release.aab
    jarsigner command failed.
    — Run with –verbose for more information.
    Error reason: error-android-apk-building
    Errored in 00h 03m 26s

    #24428

    Alex
    Felgo Team

    Hi,

    there seems to be an issue when signing the app. Please double check if you provided the correct keystore, alias, storepass and keypass (optional) in your Cloud Builds project settings. Did you try if building/signing works for your locally using the provided signing details?

    Cheers,
    Alex

    #24429

    Alex
    Felgo Team
Viewing 3 posts - 1 through 3 (of 3 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