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. Android 6.4.2 - Cannot find application binary in build
Forum Updated to NodeBB v4.3 + New Features

Android 6.4.2 - Cannot find application binary in build

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
9 Posts 3 Posters 921 Views 1 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.
  • C Offline
    C Offline
    CarlosC
    wrote on last edited by
    #1

    Hello, I'm trying to port from 5.15.2 to 6.4.2 my application but when I'm trying to build it in 6.4.2 i get this error everytime fbf0e0d0-f53c-4aa8-9041-9c3cf6a1b869-image.png
    I've tried with all of these f6150cca-de89-4281-bcc6-5ae6a1ef59e1-image.png but it doesnt matter which one I use because I always get the same error.

    PD: I have this on ANDROID_ABIS c4dbeb43-a1ad-4bbe-842c-bbc8d6a78fd7-image.png

    Any fix for this? Thank you!

    J.HilkJ 1 Reply Last reply
    0
    • M Offline
      M Offline
      morte
      wrote on last edited by
      #2

      Can you show your CMakeLists.txt?

      C 1 Reply Last reply
      0
      • M morte

        Can you show your CMakeLists.txt?

        C Offline
        C Offline
        CarlosC
        wrote on last edited by
        #3

        @morte I dont see CMakeLists.txt, I have a .pro file

        1 Reply Last reply
        0
        • C CarlosC

          Hello, I'm trying to port from 5.15.2 to 6.4.2 my application but when I'm trying to build it in 6.4.2 i get this error everytime fbf0e0d0-f53c-4aa8-9041-9c3cf6a1b869-image.png
          I've tried with all of these f6150cca-de89-4281-bcc6-5ae6a1ef59e1-image.png but it doesnt matter which one I use because I always get the same error.

          PD: I have this on ANDROID_ABIS c4dbeb43-a1ad-4bbe-842c-bbc8d6a78fd7-image.png

          Any fix for this? Thank you!

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

          @CarlosC you have a much bigger issue at hand, you're trying to ship/pack/link a x86 lib -libPredWin_x86- with a armv7a application.

          show us your pro file if you can pls.


          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.

          C 1 Reply Last reply
          0
          • J.HilkJ J.Hilk

            @CarlosC you have a much bigger issue at hand, you're trying to ship/pack/link a x86 lib -libPredWin_x86- with a armv7a application.

            show us your pro file if you can pls.

            C Offline
            C Offline
            CarlosC
            wrote on last edited by J.Hilk
            #5

            @J-Hilk QT

            QT       += core gui printsupport
            
            greaterThan(QT_MAJOR_VERSION, 4):  QT += widgets qml quick
            
            
            QT += core-private
            QT += core
            #CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
            
            CONFIG += c++11
            QT += texttospeech
            #QT += virtualkeyboard
            QT += core5compat
            CONFIG -= console
            QT += printsupport
            #android: QT += androidextras
            
            
            # You can make your code fail to compile if it uses deprecated APIs.
            # In order to do so, uncomment the following line.
            #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
            INCLUDEPATH += $$PWD
            
            SOURCES += \
                Manager.cpp \
                main.cpp
            
            HEADERS += \
                Constants.h \
                Manager.h
            
            FORMS += \
                Interfaz.ui
            
            # Default rules for deployment.
            qnx: target.path = /tmp/$${TARGET}/bin
            else: unix:!android: target.path = /opt/$${TARGET}/bin
            !isEmpty(target.path): INSTALLS += target
            
            RESOURCES += \
                iconos.qrc
            
            ANDROID_ABIS =  armeabi-v7a arm64-v8a x86 x86_64
            ANDROID_PACKAGE_SOURCE_DIR = $$PWD/AndroidSource
            
            DISTFILES += \
                .gdbinit \
                AndroidSource/AndroidManifest.xml \
                TextosAyuda/Ayuda1 \
                TextosAyuda/Ayuda1.txt \
                TextosAyuda/Ayuda2 \
                TextosAyuda/Ayuda3 \
                TextosAyuda/AyudaPruebas.txt
            
            J.HilkJ 1 Reply Last reply
            0
            • C CarlosC

              @J-Hilk QT

              QT       += core gui printsupport
              
              greaterThan(QT_MAJOR_VERSION, 4):  QT += widgets qml quick
              
              
              QT += core-private
              QT += core
              #CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
              
              CONFIG += c++11
              QT += texttospeech
              #QT += virtualkeyboard
              QT += core5compat
              CONFIG -= console
              QT += printsupport
              #android: QT += androidextras
              
              
              # You can make your code fail to compile if it uses deprecated APIs.
              # In order to do so, uncomment the following line.
              #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
              INCLUDEPATH += $$PWD
              
              SOURCES += \
                  Manager.cpp \
                  main.cpp
              
              HEADERS += \
                  Constants.h \
                  Manager.h
              
              FORMS += \
                  Interfaz.ui
              
              # Default rules for deployment.
              qnx: target.path = /tmp/$${TARGET}/bin
              else: unix:!android: target.path = /opt/$${TARGET}/bin
              !isEmpty(target.path): INSTALLS += target
              
              RESOURCES += \
                  iconos.qrc
              
              ANDROID_ABIS =  armeabi-v7a arm64-v8a x86 x86_64
              ANDROID_PACKAGE_SOURCE_DIR = $$PWD/AndroidSource
              
              DISTFILES += \
                  .gdbinit \
                  AndroidSource/AndroidManifest.xml \
                  TextosAyuda/Ayuda1 \
                  TextosAyuda/Ayuda1.txt \
                  TextosAyuda/Ayuda2 \
                  TextosAyuda/Ayuda3 \
                  TextosAyuda/AyudaPruebas.txt
              
              J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by
              #6

              @CarlosC I added code tags to your reply, to make it more readable, I hope you don't mind.

              Nothing unusual, except the double adding of core and printsupport

              there's an additional space between = and armeabi-v7a remove that The pro file can be space conscious if she wants to be :D


              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.

              C 1 Reply Last reply
              0
              • M Offline
                M Offline
                morte
                wrote on last edited by morte
                #7

                Qt 6.3/6.4 support building multi-abi packages only via cmake, i suggest to leave single abi here

                ANDROID_ABIS =  armeabi-v7a arm64-v8a x86 x86_64
                
                C 1 Reply Last reply
                0
                • M morte

                  Qt 6.3/6.4 support building multi-abi packages only via cmake, i suggest to leave single abi here

                  ANDROID_ABIS =  armeabi-v7a arm64-v8a x86 x86_64
                  
                  C Offline
                  C Offline
                  CarlosC
                  wrote on last edited by
                  #8

                  @morte thats good to know, thank you!

                  1 Reply Last reply
                  0
                  • J.HilkJ J.Hilk

                    @CarlosC I added code tags to your reply, to make it more readable, I hope you don't mind.

                    Nothing unusual, except the double adding of core and printsupport

                    there's an additional space between = and armeabi-v7a remove that The pro file can be space conscious if she wants to be :D

                    C Offline
                    C Offline
                    CarlosC
                    wrote on last edited by
                    #9

                    @J-Hilk Thank you!

                    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