Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Italian
  4. Errore di Compilazione con Android

Errore di Compilazione con Android

Scheduled Pinned Locked Moved Solved Italian
4 Posts 2 Posters 748 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Polly
    wrote on 6 Jul 2020, 12:10 last edited by
    #1

    Salve sto sperimentando Qt con android e sto provando a fare una semplice applicazione di turismo che poi dovrò estendere. All'inizio infatti deve essere semplicissima, vedere un testo e basta, poi man mano voglio aggiungere tutte le modifiche . Però mentre con gli esempi la compilazione è riuscita benissimo e non mi dà problemi, con questa mia semplicissima app. Trovo questa risposta

      -- Skipping C:/Qt/5.15.0/android/plugins/iconengines/libplugins_iconengines_qsvgicon_armeabi-v7a.so. It has unmet dependencies: lib/libQt5Svg_armeabi-v7a.so,lib/libQt5Widgets_armeabi-v7a.so.
      -- Skipping C:/Qt/5.15.0/android/plugins/imageformats/libplugins_imageformats_qsvg_armeabi-v7a.so. It has unmet dependencies: lib/libQt5Svg_armeabi-v7a.so,lib/libQt5Widgets_armeabi-v7a.so.
    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.Controls.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.Controls.Fusion.impl
    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.Imagine.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.Material.impl
    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.Universal.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl
    > Task :preBuild UP-TO-DATE
    > Task :preDebugBuild UP-TO-DATE
    
    > Task :compileDebugAidl FAILED
    aidl.exe E 07-06 14:01:58 10104  4764 io_delegate.cpp:50] Failed to GetFullPathName(C:\Users\polly\OneDrive\Documenti\LaboratorioQT_definizione\build-ArquatoApo-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\build\generated\aidl_source_output_dir\debug\out\org\kde\necessitas\ministro\IMinistro.java)
    
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':compileDebugAidl'.
    > 1 exception was raised by workers:
      java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: com.android.ide.common.process.ProcessException: Error while executing process C:\Users\polly\Android\sdk\build-tools\28.0.3\aidl.exe with arguments {-pC:\Users\polly\Android\sdk\platforms\android-30\framework.aidl -oC:\Users\polly\OneDrive\Documenti\LaboratorioQT_definizione\build-ArquatoApo-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\build\generated\aidl_source_output_dir\debug\out -IC:\Users\polly\OneDrive\Documenti\LaboratorioQT_definizione\build-ArquatoApo-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src -IC:\Users\polly\OneDrive\Documenti\LaboratorioQT_definizione\build-ArquatoApo-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\debug\aidl -IC:\Qt\5.15.0\android\src\android\java\src -IC:\Users\polly\OneDrive\Documenti\LaboratorioQT_definizione\build-ArquatoApo-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\aidl -dC:\Users\polly\AppData\Local\Temp\aidl2002872346066390839.d C:\Qt\5.15.0\android\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. Run with --scan to get full insights.
    
    * Get more help at https://help.gradle.org
    
    BUILD FAILED in 6s
    1 actionable task: 1 executed
    Building the android package failed!
      -- For more information, run this command with --verbose.
    14:01:58: The process "C:\Qt\5.15.0\android\bin\androiddeployqt.exe" exited with code 14.
    Error while building/deploying project ArquatoApo (kit: Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.15.0 for Android))
    When executing step "Build Android APK"
    14:01:58: Elapsed time: 00:20.
    

    Qualcuno mi può spiegare cosa è successo ed eventualmente cosa devo modificare?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      guerinoni
      wrote on 7 Jul 2020, 17:51 last edited by
      #2

      @Polly
      Hai installato correttamente SDK e NDK?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Polly
        wrote on 8 Jul 2020, 15:38 last edited by
        #3

        Si tutto era installato correttamente. Infatti gli esempi si caricavano correttamente sullo smartphone. Il problema era una stupidata atomica, vale a dire il percorso occupava più di 260 caratteri, infatti come ho riscritto il programma in una cartella più semplice automaticamente il tutto è andato. Adesso ho Qt per android (cheficaaaataaa)

        1 Reply Last reply
        1
        • G Offline
          G Offline
          guerinoni
          wrote on 8 Jul 2020, 16:08 last edited by
          #4

          @Polly
          Metti solo il post con Solved :D

          1 Reply Last reply
          0

          1/4

          6 Jul 2020, 12:10

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved