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

Forums

OverviewFelgo 2 Support (Qt 5) › Compile android whit error

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

    Paolo Mazzon

    I tried to compile my app on Android bat not worked,while in normal mode worked.

     

    06:58:22: Running steps for project ClientPaolo1...
    06:58:22: Configuration unchanged, skipping qmake step.
    06:58:22: Starting: "D:\android-ndk-r17c\prebuilt\windows-x86_64\bin\make.exe" 
    make: Nothing to be done for `first'.
    06:58:23: The process "D:\android-ndk-r17c\prebuilt\windows-x86_64\bin\make.exe" exited normally.
    06:58:23: Removing directory D:\GoogleDrive\c++\QT\build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug\android-build/assets
    06:58:24: Removing directory D:\GoogleDrive\c++\QT\build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug\android-build/libs
    06:58:24: Starting: "D:\android-ndk-r17c\prebuilt\windows-x86_64\bin\make.exe" "INSTALL_ROOT=D:\GoogleDrive\c++\QT\build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug\android-build" install
    D:\GoogleDrive\c++\QT\FelgoCasa\Felgo\android_x86\bin\qmake.exe -install qinstall D:\GoogleDrive\c++\QT\ClientPaolo1\qml D:\GoogleDrive\c++\QT\build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug\android-build\assets\qml
    D:\GoogleDrive\c++\QT\FelgoCasa\Felgo\android_x86\bin\qmake.exe -install qinstall D:\GoogleDrive\c++\QT\ClientPaolo1\assets D:\GoogleDrive\c++\QT\build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug\android-build\assets\assets
    D:\GoogleDrive\c++\QT\FelgoCasa\Felgo\android_x86\bin\qmake.exe -install qinstall -exe libClientPaolo1.so D:\GoogleDrive\c++\QT\build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug\android-build\libs\x86\libClientPaolo1.so
    06:58:25: The process "D:\android-ndk-r17c\prebuilt\windows-x86_64\bin\make.exe" exited normally.
    06:58:25: Starting: "D:\GoogleDrive\c++\QT\FelgoCasa\Felgo\android_x86\bin\androiddeployqt.exe" --input D:/GoogleDrive/c++/QT/build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug/android-libClientPaolo1.so-deployment-settings.json --output D:/GoogleDrive/c++/QT/build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug/android-build --android-platform android-28 --jdk "C:/Program Files/Java/jdk1.8.0_201" --gradle
    Generating Android Package
      Input file: D:/GoogleDrive/c++/QT/build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug/android-libClientPaolo1.so-deployment-settings.json
      Output directory: D:/GoogleDrive/c++/QT/build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug/android-build/
      Application binary: D:/GoogleDrive/c++/QT/build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug/libClientPaolo1.so
      Android build platform: android-28
      Install to device: No
      -- Skipping D:/GoogleDrive/c++/QT/FelgoCasa/Felgo/android_x86/plugins/iconengines/libqsvgicon.so. It has unmet dependencies: lib/libQt5Svg.so.
      -- Skipping D:/GoogleDrive/c++/QT/FelgoCasa/Felgo/android_x86/plugins/imageformats/libqsvg.so. It has unmet dependencies: lib/libQt5Svg.so.
      -- Skipping D:/GoogleDrive/c++/QT/FelgoCasa/Felgo/android_x86/plugins/position/libqtposition_serialnmea.so. It has unmet dependencies: lib/libQt5SerialPort.so.
    To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/3.4/userguide/gradle_daemon.html.
    Daemon will be stopped at the end of the build stopping after processing
    NDK is missing a "platforms" directory.
    If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to C:\Users\Paolo\AppData\Local\Android\Sdk\ndk-bundle.
    If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
    
    :preBuild UP-TO-DATE
    :preDebugBuild UP-TO-DATE
    :checkDebugManifest
    :preReleaseBuild UP-TO-DATE
    :prepareAndroidArchCoreRuntime110Library
    :prepareAndroidArchLifecycleLivedataCore110Library
    :prepareAndroidArchLifecycleRuntime110Library
    :prepareAndroidArchLifecycleViewmodel110Library
    :prepareComAndroidSupportAnimatedVectorDrawable2710Library
    :prepareComAndroidSupportAppcompatV72710Library
    :prepareComAndroidSupportSupportCompat2710Library
    :prepareComAndroidSupportSupportCoreUi2710Library
    :prepareComAndroidSupportSupportCoreUtils2710Library
    :prepareComAndroidSupportSupportFragment2710Library
    :prepareComAndroidSupportSupportVectorDrawable2710Library
    :prepareDebugDependencies
    :compileDebugAidl FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':compileDebugAidl'.
    > java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Error while executing process C:\Users\Paolo\AppData\Local\Android\Sdk\build-tools\29.0.0-rc2\aidl.exe with arguments {-pC:\Users\Paolo\AppData\Local\Android\Sdk\platforms\android-28\framework.aidl -oD:\GoogleDrive\c++\QT\build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug\android-build\build\generated\source\aidl\debug -ID:\GoogleDrive\c++\QT\FelgoCasa\Felgo\android_x86\src\android\java\src -ID:\GoogleDrive\c++\QT\build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug\android-build\src -ID:\GoogleDrive\c++\QT\build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug\android-build\aidl -ID:\GoogleDrive\c++\QT\build-ClientPaolo1-Android_for_x86_GCC_4_9_Qt_5_11_1_Android_x86_Felgo-Debug\android-build\src\debug\aidl -IC:\Users\Paolo\.android\build-cache\50f1b3f383f1f06bb25fe8034ba4dfccb9d79435\output\aidl -IC:\Users\Paolo\.android\build-cache\ad306bea58000f3da5f5e1b35934dc5a4839380c\output\aidl -IC:\Users\Paolo\.android\build-cache\3baa50309239d6d46b3e6e4fc740db3fa7d013b0\output\aidl -IC:\Users\Paolo\.android\build-cache\398551f01848776261cd09c0af5bc58397794251\output\aidl -IC:\Users\Paolo\.android\build-cache\3d8a083708d0ab5fc49dab61c16f2d40fef93518\output\aidl -IC:\Users\Paolo\.android\build-cache\eb4cc7d5f77742b206aaa0d601da690165705f70\output\aidl -IC:\Users\Paolo\.android\build-cache\5ecb1cef35d2d947c1962006f48b40e5716b3e14\output\aidl -IC:\Users\Paolo\.android\build-cache\e693bf3c6b41d3d4b818298b87f15ad568624449\output\aidl -IC:\Users\Paolo\.android\build-cache\1ef82f5d800a98460549c913db52354f097448fa\output\aidl -IC:\Users\Paolo\.android\build-cache\6f22bfde2261382769275bd960ac2a51b910bda2\output\aidl -IC:\Users\Paolo\.android\build-cache\33d2bd1b012ce823324e9f1cdc36a675b1cfc9c3\output\aidl -dC:\Users\Paolo\AppData\Local\Temp\aidl1338188229430577005.d D:\GoogleDrive\c++\QT\FelgoCasa\Felgo\android_x86\src\android\java\src\org\kde\necessitas\ministro\IMinistro.aidl}
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    BUILD FAILED
    
    Total time: 9.475 secs
    Warning: QML import could not be resolved in any of the import paths: com.yourcompany.wizardEVAP
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl
    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.Controls.Fusion.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl
    Building the android package failed!
      -- For more information, run this command with --verbose.
    06:58:46: The process "D:\GoogleDrive\c++\QT\FelgoCasa\Felgo\android_x86\bin\androiddeployqt.exe" exited with code 14.
    Error while building/deploying project ClientPaolo1 (kit: Android for x86 (GCC 4.9, Qt 5.11.1 Android x86 Felgo))
    When executing step "Build Android APK"
    06:58:46: Elapsed time: 00:24.

     

    #21436

    Günther
    Felgo Team
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