Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt for Android : ABI is incompatible,device supports ABIs: armeabi-v7a armeabi
Qt 6.11 is out! See what's new in the release blog

Qt for Android : ABI is incompatible,device supports ABIs: armeabi-v7a armeabi

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 4 Posters 4.1k Views 2 Watching
  • 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.
  • T Offline
    T Offline
    tasosxak
    wrote on last edited by
    #1

    Hi all, I have downloaded Qt Creator for linux-ubuntu.
    I try to run my app to my android phone(Samsung J5), but I get this error from Qt when I try to connect my phone to my laptop and run my app: ABI is incompatible,device supports ABIs: armeabi-v7a armeabi.

    15:10:16: Running steps for project Jar...
    15:10:16: Configuration unchanged, skipping qmake step.
    15:10:16: Starting: "/usr/bin/make" 
    make: Nothing to be done for 'first'.
    15:10:16: The process "/usr/bin/make" exited normally.
    15:10:16: Removing directory /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build/assets
    15:10:16: Removing directory /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build/libs
    15:10:16: Starting: "/usr/bin/make" INSTALL_ROOT=/home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build install
    /home/tasosxak/Qt5.10.1/5.10.1/android_x86/bin/qmake -install qinstall -exe libJar.so /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build/libs/x86/libJar.so
    15:10:16: The process "/usr/bin/make" exited normally.
    15:10:16: Starting: "/home/tasosxak/Qt5.10.1/5.10.1/android_x86/bin/androiddeployqt" --input /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-libJar.so-deployment-settings.json --output /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build --deployment bundled --android-platform android-27 --jdk /usr/lib/jvm/java-8-openjdk-amd64 --gradle
    Generating Android Package
      Input file: /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-libJar.so-deployment-settings.json
      Output directory: /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build/
      Application binary: /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/libJar.so
      Android build platform: android-27
      Install to device: No
    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.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.Fusion.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl
    The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
    The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
    :preBuild UP-TO-DATE
    :preDebugBuild UP-TO-DATE
    :checkDebugManifest
    :prepareDebugDependencies
    :compileDebugAidl UP-TO-DATE
    :compileDebugRenderscript UP-TO-DATE
    :generateDebugBuildConfig UP-TO-DATE
    :generateDebugResValues UP-TO-DATE
    :generateDebugResources UP-TO-DATE
    :mergeDebugResources UP-TO-DATE
    :processDebugManifest UP-TO-DATE
    :processDebugResources UP-TO-DATE
    :generateDebugSources UP-TO-DATE
    :incrementalDebugJavaCompilationSafeguard UP-TO-DATE
    :compileDebugJavaWithJavac UP-TO-DATE
    :compileDebugNdk NO-SOURCE
    :compileDebugSources UP-TO-DATE
    :mergeDebugShaders UP-TO-DATE
    :compileDebugShaders UP-TO-DATE
    :generateDebugAssets UP-TO-DATE
    :mergeDebugAssets UP-TO-DATE
    :transformClassesWithDexForDebug UP-TO-DATE
    :mergeDebugJniLibFolders UP-TO-DATE
    :transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
    :processDebugJavaRes NO-SOURCE
    :transformResourcesWithMergeJavaResForDebug UP-TO-DATE
    :validateSigningDebug
    :packageDebug UP-TO-DATE
    :assembleDebug UP-TO-DATE
    
    BUILD SUCCESSFUL
    
    Total time: 9.648 secs
    Android package built successfully in 11.198 ms.
      -- File: /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build//build/outputs/apk/android-build-debug.apk
    15:10:27: The process "/home/tasosxak/Qt5.10.1/5.10.1/android_x86/bin/androiddeployqt" exited normally.
    15:10:27: Could not start process "" 
    Error while building/deploying project Jar (kit: Android for x86 (GCC 4.9, Qt 5.10.1 for Android x86))
    When executing step "Custom Process Step"
    15:10:27: Elapsed time: 00:11.
    
    
    

    My Build Options:

    Android Build SDK : Android 27 ( I tried to downgrade the version)
    Qt Versions: Qt 5.10.1 for Android x86 , Qt 5.10.1 GCC 64 bit
    JDK : java8-openjdk-amd64
    NDK Version: 16.1.4479499
    SDK Version: 25.2.5

    J.HilkJ 1 Reply Last reply
    0
    • T tasosxak

      Hi all, I have downloaded Qt Creator for linux-ubuntu.
      I try to run my app to my android phone(Samsung J5), but I get this error from Qt when I try to connect my phone to my laptop and run my app: ABI is incompatible,device supports ABIs: armeabi-v7a armeabi.

      15:10:16: Running steps for project Jar...
      15:10:16: Configuration unchanged, skipping qmake step.
      15:10:16: Starting: "/usr/bin/make" 
      make: Nothing to be done for 'first'.
      15:10:16: The process "/usr/bin/make" exited normally.
      15:10:16: Removing directory /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build/assets
      15:10:16: Removing directory /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build/libs
      15:10:16: Starting: "/usr/bin/make" INSTALL_ROOT=/home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build install
      /home/tasosxak/Qt5.10.1/5.10.1/android_x86/bin/qmake -install qinstall -exe libJar.so /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build/libs/x86/libJar.so
      15:10:16: The process "/usr/bin/make" exited normally.
      15:10:16: Starting: "/home/tasosxak/Qt5.10.1/5.10.1/android_x86/bin/androiddeployqt" --input /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-libJar.so-deployment-settings.json --output /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build --deployment bundled --android-platform android-27 --jdk /usr/lib/jvm/java-8-openjdk-amd64 --gradle
      Generating Android Package
        Input file: /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-libJar.so-deployment-settings.json
        Output directory: /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build/
        Application binary: /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/libJar.so
        Android build platform: android-27
        Install to device: No
      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.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.Fusion.impl
      Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl
      The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
      The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
      :preBuild UP-TO-DATE
      :preDebugBuild UP-TO-DATE
      :checkDebugManifest
      :prepareDebugDependencies
      :compileDebugAidl UP-TO-DATE
      :compileDebugRenderscript UP-TO-DATE
      :generateDebugBuildConfig UP-TO-DATE
      :generateDebugResValues UP-TO-DATE
      :generateDebugResources UP-TO-DATE
      :mergeDebugResources UP-TO-DATE
      :processDebugManifest UP-TO-DATE
      :processDebugResources UP-TO-DATE
      :generateDebugSources UP-TO-DATE
      :incrementalDebugJavaCompilationSafeguard UP-TO-DATE
      :compileDebugJavaWithJavac UP-TO-DATE
      :compileDebugNdk NO-SOURCE
      :compileDebugSources UP-TO-DATE
      :mergeDebugShaders UP-TO-DATE
      :compileDebugShaders UP-TO-DATE
      :generateDebugAssets UP-TO-DATE
      :mergeDebugAssets UP-TO-DATE
      :transformClassesWithDexForDebug UP-TO-DATE
      :mergeDebugJniLibFolders UP-TO-DATE
      :transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
      :processDebugJavaRes NO-SOURCE
      :transformResourcesWithMergeJavaResForDebug UP-TO-DATE
      :validateSigningDebug
      :packageDebug UP-TO-DATE
      :assembleDebug UP-TO-DATE
      
      BUILD SUCCESSFUL
      
      Total time: 9.648 secs
      Android package built successfully in 11.198 ms.
        -- File: /home/tasosxak/build-Jar-Android_for_x86_GCC_4_9_Qt_5_10_1_for_Android_x86-Debug/android-build//build/outputs/apk/android-build-debug.apk
      15:10:27: The process "/home/tasosxak/Qt5.10.1/5.10.1/android_x86/bin/androiddeployqt" exited normally.
      15:10:27: Could not start process "" 
      Error while building/deploying project Jar (kit: Android for x86 (GCC 4.9, Qt 5.10.1 for Android x86))
      When executing step "Custom Process Step"
      15:10:27: Elapsed time: 00:11.
      
      
      

      My Build Options:

      Android Build SDK : Android 27 ( I tried to downgrade the version)
      Qt Versions: Qt 5.10.1 for Android x86 , Qt 5.10.1 GCC 64 bit
      JDK : java8-openjdk-amd64
      NDK Version: 16.1.4479499
      SDK Version: 25.2.5

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      Hi,
      @tasosxak said in Qt for Android : ABI is incompatible,device supports ABIs: armeabi-v7a armeabi:

      Samsung J5

      The J5 has a ARM Cortex-A54 CPU, thats arm-architecture, you're compiling for x86 that won't work.

      Open the maintenance tool of your QtCreator and install the armeabi-v7 Qt-Libary.


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      3
      • T Offline
        T Offline
        tasosxak
        wrote on last edited by
        #3

        Hi J.Hilk , thank you for your answer.
        How can I download Android for armeabi-v7 Qt-Library?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          as @J-Hilk suggested: start the MaintenanceTool application and install that version of Qt.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2
          • T Offline
            T Offline
            tasosxak
            wrote on last edited by
            #5

            Thank you very much!

            Pablo J. RoginaP 1 Reply Last reply
            0
            • T tasosxak

              Thank you very much!

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #6

              @tasosxak whenever your issue is solved, please don't forget to mark your post as such. Thanks.

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              0

              • Login

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