Android 6.4.2 - Cannot find application binary in build
-
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
I've tried with all of thesebut it doesnt matter which one I use because I always get the same error.
PD: I have this on ANDROID_ABIS
Any fix for this? Thank you!
-
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
I've tried with all of thesebut it doesnt matter which one I use because I always get the same error.
PD: I have this on ANDROID_ABIS
Any fix for this? Thank you!
-
@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.
@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-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
@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
=
andarmeabi-v7a
remove that The pro file can be space conscious if she wants to be :D -
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
-
@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
=
andarmeabi-v7a
remove that The pro file can be space conscious if she wants to be :D