@SparseMind So the APK it tries to install on your phone has been built correctly and can be found under the location it is looking for it? It tells you which adb command it tries to run. Trying to run it manually would be a starting point for debugging the issue.
Search Criteria
Package Details: android-aarch64-qt5 5.15.2-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/android-aarch64-qt5.git (read-only, click to copy) |
---|---|
Package Base: | android-aarch64-qt5 |
Description: | Qt 5 for Android |
Upstream URL: | https://www.qt.io |
Licenses: | GPL3, LGPL |
Groups: | android-qt5 |
Submitter: | hipersayan_x |
Maintainer: | None |
Last Packager: | hipersayan_x |
Votes: | 14 |
Popularity: | 0.000000 |
First Submitted: | 2018-11-22 19:14 (UTC) |
Last Updated: | 2021-03-14 20:01 (UTC) |
Dependencies (26)
- android-aarch64-libjpeg-turboAUR
- android-aarch64-libpngAUR
- android-aarch64-libtiffAUR
- android-aarch64-libwebpAUR
- android-aarch64-opensslAUR
- android-aarch64-zlibAUR
- android-ndkAUR (android-ndk-10eAUR, android-ndk-14bAUR, android-ndk-11cAUR, android-ndk-16bAUR, android-ndk-r18bAUR, android-ndk-19AUR, android-ndk-20bAUR, android-ndk-r17cAUR, android-ndk-16b-optAUR, android-ndk-25AUR, android-ndk-betaAUR)
- android-sdkAUR (android-sdk-dummyAUR, android-sdk-cmdline-tools-latest-dummyAUR, android-sdk-debianAUR, android-sdk-cmdline-tools-latestAUR)
- android-sdk-build-toolsAUR (android-sdk-build-tools-19AUR, android-sdk-build-tools-19.0.1AUR, android-sdk-build-tools-19.0.2AUR, android-sdk-build-tools-19.0.3AUR, android-sdk-build-tools-21AUR, android-sdk-build-tools-21.0.1AUR, android-sdk-build-tools-21.1AUR, android-sdk-build-tools-21.1.2AUR, android-sdk-build-tools-22AUR, android-sdk-build-tools-22.0.1AUR, android-sdk-build-tools-23AUR, android-sdk-build-tools-23.0.2AUR, android-sdk-build-tools-23.0.1AUR, android-sdk-build-tools-23.0.3AUR, android-sdk-build-tools-19.1AUR, android-sdk-build-tools-dummyAUR)
- android-sdk-platform-toolsAUR (android-sdk-platform-tools-dummyAUR)
- apache-ant (ant-gitAUR, ant)
- java-runtime-headless-openjdk (jdk10-openj9-binAUR, jdk16-adoptopenjdkAUR, jdk16-microsoft-openjdkAUR, liberica-jre-11-binAUR, jre16-openjdk-headlessAUR, jre14-openjdk-headlessAUR, jre18-openjdk-headlessAUR, liberica-jre-11-full-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jre19-openjdk-headlessAUR, jdk11-openjdk-dcevmAUR, jre12-openjdk-headlessAUR, jdk11-dragonwell-standard-binAUR, zulu-15-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre13-openjdk-headlessAUR, jre15-openjdk-headlessAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-lite-binAUR, jdk17-openj9-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-openjdk-wakefield-headlessAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk8-perfAUR, zulu-jdk-fx-binAUR, zulu-jre-fx-binAUR, jdk-temurinAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, zulu-21-binAUR, zulu-8-binAUR, zulu-11-binAUR, zulu-17-binAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre-openjdk-headless, jre11-openjdk, jre11-openjdk-headless, jre17-openjdk, jre17-openjdk-headless, jre21-openjdk, jre21-openjdk-headless, jre8-openjdk-headless)
- android-environmentAUR (make)
- android-pkg-configAUR (make)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR) (make)
- gperf (gperf-gitAUR) (make)
- java-environment-openjdk (jdk10-openj9-binAUR, jdk16-adoptopenjdkAUR, jdk16-microsoft-openjdkAUR, liberica-jre-11-binAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, jdk-android-studioAUR, liberica-jre-11-full-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk19-openjdkAUR, jdk11-openjdk-dcevmAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, zulu-15-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-lite-binAUR, jdk17-openj9-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jdk17-jetbrains-binAUR, jdk21-jetbrains-binAUR, jdk-openjdk-wakefieldAUR, jdk8-perfAUR, zulu-jdk-fx-binAUR, jdk-temurinAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, zulu-21-binAUR, zulu-8-binAUR, zulu-11-binAUR, zulu-17-binAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (make)
- libgl (nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, libglvnd-gitAUR, libglvnd) (make)
- libxslt (libxslt-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- Show 6 more dependencies...
Required by (1)
Sources (4)
Martchus commented on 2018-11-30 16:24 (UTC)
SparseMind commented on 2018-11-30 16:21 (UTC) (edited on 2018-11-30 16:22 (UTC) by SparseMind)
Hi! When I build apk file - all build is OK! But when I try to load apk to my device, I get the following errors:
adb: failed to install /home/build-TestProject-Android_arm64_v8a_GCC_4_9_Qt_Qt_5_11_2_aarch64-Debug/android-build//build/outputs/apk/android-build-debug.apk: Installing to device failed!
Installing Android package to device.
Running command "/opt/android-sdk/platform-tools/adb -s 94623533 install -r /home/build-TestProject-Android_arm64_v8a_GCC_4_9_Qt_Qt_5_11_2_aarch64-Debug/android-build//build/outputs/apk/android-build-debug.apk"
Process «/opt/android-libs/aarch64/bin/androiddeployqt» exit with code 16.
What is wrong now?) Please help me!)
hipersayan_x commented on 2018-11-28 20:59 (UTC)
Also a too late response but maybe useful still. For those having the library linking errors as Emeric said, in the Build Environment set ANDROID_NDK_PLATFORM=android-X where X is the minimum platform configured when building the android-*-qt5 packages.
hipersayan_x commented on 2018-11-28 20:52 (UTC)
It may be working now.
SparseMind commented on 2018-11-28 17:13 (UTC)
Yes, that's it. I'll wait while you check. Before the change of the paths everything was going without any errors.
hipersayan_x commented on 2018-11-28 12:35 (UTC) (edited on 2018-11-28 12:35 (UTC) by hipersayan_x)
Oh I understand, the PKGBUILD build ok, but when building your app and making the Android APK, it give you the error message, right? let me check.
Your environment seems to be ok.
SparseMind commented on 2018-11-28 04:30 (UTC) (edited on 2018-11-28 04:31 (UTC) by SparseMind)
I deleted everything and rebuilt the package. When trying to compile the result is the same =( QtCreator show this information about Qt 5.11.2 (aarch64):
QMAKE_SPEC linux-g++
QMAKE_VERSION 3.1
QMAKE_XSPEC android-clang
QT_HOST_BINS /opt/android-libs/aarch64/bin
QT_HOST_DATA /opt/android-libs/aarch64/lib/qt
QT_HOST_LIBS /opt/android-libs/aarch64/lib
QT_HOST_PREFIX /opt/android-libs/aarch64
QT_INSTALL_ARCHDATA /opt/android-libs/aarch64/lib/qt
QT_INSTALL_BINS /opt/android-libs/aarch64/bin
QT_INSTALL_CONFIGURATION /opt/android-libs/aarch64/etc/xdg
QT_INSTALL_DATA /opt/android-libs/aarch64/share/qt
QT_INSTALL_DEMOS /opt/android-libs/aarch64/share/qt/examples
QT_INSTALL_DOCS /opt/android-libs/aarch64/share/qt/doc
QT_INSTALL_EXAMPLES /opt/android-libs/aarch64/share/qt/examples
QT_INSTALL_HEADERS /opt/android-libs/aarch64/include
QT_INSTALL_IMPORTS /opt/android-libs/aarch64/lib/qt/imports
QT_INSTALL_LIBEXECS /opt/android-libs/aarch64/lib/qt/libexec
QT_INSTALL_LIBS /opt/android-libs/aarch64/lib
QT_INSTALL_PLUGINS /opt/android-libs/aarch64/lib/qt/plugins
QT_INSTALL_PREFIX /opt/android-libs/aarch64
QT_INSTALL_QML /opt/android-libs/aarch64/lib/qt/qml
QT_INSTALL_TESTS /opt/android-libs/aarch64/share/qt/tests
QT_INSTALL_TRANSLATIONS /opt/android-libs/aarch64/share/qt/translations
QT_SYSROOT
QT_VERSION 5.11.2
hipersayan_x commented on 2018-11-27 19:06 (UTC)
SparseMind, plugins folder is now located at /opt/android-libs/aarch64/lib/qt/plugins, maybe you are rebuilding the package from a previous build? try removing the pkg and src folders and build the package again.
SparseMind commented on 2018-11-27 01:41 (UTC) (edited on 2018-11-27 01:43 (UTC) by SparseMind)
Hi, I have the following error when I try to build android package:
readelf: Error: '/opt/android-libs/aarch64/plugins/platforms/android/libqtforandroid.so': No such file
readelf: Error: '/opt/android-libs/aarch64/plugins/bearer/libqandroidbearer.so': No such file
readelf: Error: '/opt/android-libs/aarch64/plugins/bearer/libqandroidbearer.so': No such file
readelf: Error: '/opt/android-libs/aarch64/plugins/platforms/android/libqtforandroid.so': No such file
readelf: Error: '/opt/android-libs/aarch64/plugins/platforms/android/libqtforandroid.so': No such file
readelf: Error: '/opt/android-libs/aarch64/plugins/platforms/android/libqtforandroid.so': No such file
readelf: Error: '/opt/android-libs/aarch64/plugins/bearer/libqandroidbearer.so': No such file
qmlimportscanner: No such file or directory: "/opt/android-libs/aarch64/qml" Invalid json output from qmlimportscanner.
What is wrong? How to fix this problem?
Qt Creator 4.8.0-beta1 (4.7.82)
Qt 5.11.2
hipersayan_x commented on 2018-11-19 21:13 (UTC)
From now on, android-qt5-* will have the following file structure:
/opt/android-libs/architecture/bin
/opt/android-libs/architecture/include
/opt/android-libs/architecture/lib
/opt/android-libs/architecture/lib/qt
/opt/android-libs/architecture/share
The purpose of this change is to coexist with other 3rd-party Android libraries, and create an homogeneous development environment. More changes would come in the future in order to improving the situation.
Apologies for the inconvenience caused.
Pinned Comments
hipersayan_x commented on 2021-07-07 15:05 (UTC) (edited on 2021-07-07 15:09 (UTC) by hipersayan_x)
I'll drop this package, I been thinking and there are a lot of strong reasons not to waste any time maintaining it.
KDE doesn't provide an easy way to download the entire Qt source code in a single package, like in the official Qt releases.
Also, KDE doesn't provides tagged versions, I've to keep tracking manually the latest commits, or converting it to a git package.
It will require to split this package into 47x4 packages, 47 Qt modules and 4 architectures to maintain, that's 188 packages to maintain, absurd!
Cloning a git repository is slower than just downloading a source package file, making the build even much slower and painful.
Is a lot of work for something that will be dead in 1 year or 2 at most.
Good luck to the one that will step up to take care of this monstrosity, to the rest of developers, don't be lazy and consider switching to Qt6.