Package Details: android-aarch64-qt5 5.13.0-2

Git Clone URL: https://aur.archlinux.org/android-aarch64-qt5.git (read-only)
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: hipersayan_x
Last Packager: hipersayan_x
Votes: 9
Popularity: 0.004909
First Submitted: 2018-11-22 19:14
Last Updated: 2019-07-23 21:23

Dependencies (18)

Required by (1)

Sources (3)

Latest Comments

1 2 3 Next › Last »

luntik2012 commented on 2019-04-01 09:26

android-aarch64-qt5 5.12.2-1  (2019-03-18 17:01)
( Unsupported package: Potentially dangerous ! )
==> android-aarch64-qt5 dependencies:
 - java-runtime-headless-openjdk<=8 (already installed)
 - apache-ant (already installed)
 - android-ndk>=r18.b (already installed)
 - android-platform-22 (already installed)
 - android-sdk-build-tools (already installed)
 - android-sdk-platform-tools (already installed)
 - libgl (already installed) [makedepend]
 - sqlite (already installed) [makedepend]
 - zlib (already installed) [makedepend]
 - python2 (already installed) [makedepend]
 - ruby (already installed) [makedepend]
 - gperf (already installed) [makedepend]
 - libxslt (already installed) [makedepend]
 - fontconfig (already installed) [makedepend]
 - android-sdk<=25.2.5 (building from AUR)


==> Continue building android-aarch64-qt5 ? [Y/n]
==> ---------------------------------------------
==> 
==> Building and installing package
==> Install or build missing dependencies for android-aarch64-qt5:
error: target not found: android-sdk<=25.2.5

hipersayan_x commented on 2018-12-04 15:33

Yep and probably that's the reason because nobody else created that package.

Martchus commented on 2018-12-04 15:08

I have also noticed that the system image is missing. Hence I've been creating https://github.com/Martchus/PKGBUILDs/blob/master/system-image/android-arm64-v8a/PKGBUILD

It actually worked but it was slow as hell. So I'd rather continued my testing on real hardware. Or, alternatively, build everything for x86_64 which should run faster as no CPU emulation is needed.

hipersayan_x commented on 2018-12-04 15:03

Also the android-arm64-v8a-system-image package is missing in AUR, this is the image that can run the aarch64 packages, the selection for the arch name for the packages was wrong too.
And Qt Creator expect the add-ons to be located in /opt/android-sdk/add-ons/addon-google_apis-google-24 but android-google-apis changed the path to /opt/android-sdk/add-ons/addon-google_apis-google_inc-24_.
We need a serious reorganization of the packages :-/

hipersayan_x commented on 2018-12-04 14:51

The androiddeployqt ignored the path changes and as result it failed to copy the required plugins and qml files to launch the apk, the /opt/android-libs/*/jar files may also be missing.
I think we need to figure out how androiddeployqt solve the dependencies and assemble the apk, and then apply the proper patches.

SparseMind commented on 2018-12-03 05:02

I get this error after run apk-file on my device:

E nd.TestProject: No implementation found for int[] org.qtproject.qt5.android.ExtractStyle.extractNativeChunkInfo20(long) (tried Java_org_qtproject_qt5_android_ExtractStyle_extractNativeChunkInfo20 and Java_org_qtproject_qt5_android_ExtractStyle_extractNativeChunkInfo20__J)
W System.err: java.lang.reflect.InvocationTargetException
W System.err:   at java.lang.reflect.Method.invoke(Native Method)
W System.err:   at org.qtproject.qt5.android.bindings.QtLoader.loadApplication(QtLoader.java:241)
W System.err:   at org.qtproject.qt5.android.bindings.QtLoader.startApp(QtLoader.java:704)
W System.err:   at org.qtproject.qt5.android.bindings.QtActivityLoader.onCreate(QtActivityLoader.java:183)
W System.err:   at org.qtproject.qt5.android.bindings.QtActivity.onCreateHook(QtActivity.java:266)
W System.err:   at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:273)
W System.err:   at android.app.Activity.performCreate(Activity.java:7145)
W System.err:   at android.app.Activity.performCreate(Activity.java:7136)
W System.err:   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
W System.err:   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2895)
W System.err:   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3050)
W System.err:   at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
W System.err:   at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
W System.err:   at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
W System.err:   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1810)
W System.err:   at android.os.Handler.dispatchMessage(Handler.java:106)
W System.err:   at android.os.Looper.loop(Looper.java:193)
W System.err:   at android.app.ActivityThread.main(ActivityThread.java:6685)
W System.err:   at java.lang.reflect.Method.invoke(Native Method)
W System.err:   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
W System.err:   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:859)
W System.err: Caused by: java.lang.UnsatisfiedLinkError: No implementation found for int[] org.qtproject.qt5.android.ExtractStyle.extractNativeChunkInfo20(long) (tried Java_org_qtproject_qt5_android_ExtractStyle_extractNativeChunkInfo20 and Java_org_qtproject_qt5_android_ExtractStyle_extractNativeChunkInfo20__J)
W System.err:   at org.qtproject.qt5.android.ExtractStyle.extractNativeChunkInfo20(Native Method)
W System.err:   at org.qtproject.qt5.android.ExtractStyle.findPatchesMarings(ExtractStyle.java:810)
W System.err:   at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:1150)
W System.err:   at org.qtproject.qt5.android.ExtractStyle.extractViewInformations(ExtractStyle.java:1254)
W System.err:   at org.qtproject.qt5.android.ExtractStyle.extractTextAppearanceInformations(ExtractStyle.java:1347)
W System.err:   at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:2025)
W System.err:   at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:608)
W System.err:   ... 21 more

Martchus commented on 2018-12-02 21:00

@SparseMind I found what was preventing the startup in my case: https://github.com/hipersayanX/pkgbuild-android-qt5/issues/1

Maybe it is the same issue in your case.

Martchus commented on 2018-12-02 20:01

@SparseMind What error do you get? I also can't run an APK created with the latest version. adb logcat gives the following hint:

12-02 20:27:56.400 31466 31466 E passwordmanage: No implementation found for void org.qtproject.qt5.android.QtNative.handleOrientationChanged(int, int) (tried Java_org_qtproject_qt5_android_QtNative_handleOrientationChanged and Java_org_qtproject_qt5_android_QtNative_handleOrientationChanged__II)
12-02 20:27:56.400 31466 31466 W System.err: java.lang.reflect.InvocationTargetException
12-02 20:27:56.401 31466 31466 W System.err:    at java.lang.reflect.Method.invoke(Native Method)
12-02 20:27:56.401 31466 31466 W System.err:    at org.qtproject.qt5.android.bindings.QtLoader.loadApplication(QtLoader.java:247)
12-02 20:27:56.401 31466 31466 W System.err:    at org.qtproject.qt5.android.bindings.QtLoader.startApp(QtLoader.java:704)
12-02 20:27:56.402 31466 31466 W System.err:    at org.qtproject.qt5.android.bindings.QtActivityLoader.onCreate(QtActivityLoader.java:183)
12-02 20:27:56.402 31466 31466 W System.err:    at org.qtproject.qt5.android.bindings.QtActivity.onCreateHook(QtActivity.java:266)
12-02 20:27:56.402 31466 31466 W System.err:    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:273)
12-02 20:27:56.402 31466 31466 W System.err:    at android.app.Activity.performCreate(Activity.java:7136)
12-02 20:27:56.402 31466 31466 W System.err:    at android.app.Activity.performCreate(Activity.java:7127)
12-02 20:27:56.403 31466 31466 W System.err:    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
12-02 20:27:56.403 31466 31466 W System.err:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2906)
12-02 20:27:56.403 31466 31466 W System.err:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3061)
12-02 20:27:56.404 31466 31466 W System.err:    at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
12-02 20:27:56.404 31466 31466 W System.err:    at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
12-02 20:27:56.404 31466 31466 W System.err:    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
12-02 20:27:56.404 31466 31466 W System.err:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)
12-02 20:27:56.404 31466 31466 W System.err:    at android.os.Handler.dispatchMessage(Handler.java:114)
12-02 20:27:56.404 31466 31466 W System.err:    at android.os.Looper.loop(Looper.java:198)
12-02 20:27:56.404 31466 31466 W System.err:    at android.app.ActivityThread.main(ActivityThread.java:6716)
12-02 20:27:56.404 31466 31466 W System.err:    at java.lang.reflect.Method.invoke(Native Method)
12-02 20:27:56.404 31466 31466 W System.err:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
12-02 20:27:56.404 31466 31466 W System.err:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
12-02 20:27:56.405 31466 31466 W System.err: Caused by: java.lang.UnsatisfiedLinkError: No implementation found for void org.qtproject.qt5.android.QtNative.handleOrientationChanged(int, int) (tried Java_org_qtproject_qt5_android_QtNative_handleOrientationChanged and Java_org_qtproject_qt5_android_QtNative_handleOrientationChanged__II)
12-02 20:27:56.405 31466 31466 W System.err:    at org.qtproject.qt5.android.QtNative.handleOrientationChanged(Native Method)
12-02 20:27:56.405 31466 31466 W System.err:    at org.qtproject.qt5.android.QtActivityDelegate.onCreate(QtActivityDelegate.java:990)
12-02 20:27:56.405 31466 31466 W System.err:    at org.qtproject.qt5.android.QtActivityDelegate.startApplication(QtActivityDelegate.java:919)
12-02 20:27:56.405 31466 31466 W System.err:    ... 21 more

There are further similar errors, eg.:

12-02 20:28:40.110 31531 31552 E passwordmanage: No implementation found for boolean org.qtproject.qt5.android.QtNative.startQtAndroidPlugin(java.lang.String, java.lang.String) (tried Java_org_qtproject_qt5_android_QtNative_startQtAndroidPlugin and Java_org_qtproject_qt5_android_QtNative_startQtAndroidPlugin__Ljava_lang_String_2Ljava_lang_String_2)
12-02 20:28:40.112 31531 31552 E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
12-02 20:28:40.112 31531 31552 E AndroidRuntime: Process: org.martchus.passwordmanager, PID: 31531
12-02 20:28:40.112 31531 31552 E AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for boolean org.qtproject.qt5.android.QtNative.startQtAndroidPlugin(java.lang.String, java.lang.String) (tried Java_org_qtproject_qt5_android_QtNative_startQtAndroidPlugin and Java_org_qtproject_qt5_android_QtNative_startQtAndroidPlugin__Ljava_lang_String_2Ljava_lang_String_2)
12-02 20:28:40.112 31531 31552 E AndroidRuntime:        at org.qtproject.qt5.android.QtNative.startQtAndroidPlugin(Native Method)
12-02 20:28:40.112 31531 31552 E AndroidRuntime:        at org.qtproject.qt5.android.QtNative$5.run(QtNative.java:345)
12-02 20:28:40.112 31531 31552 E AndroidRuntime:        at org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)
12-02 20:28:40.112 31531 31552 E AndroidRuntime:        at org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
12-02 20:28:40.112 31531 31552 E AndroidRuntime:        at java.lang.Thread.run(Thread.java:764)
12-02 20:28:40.117  1423  4526 W ActivityManager:   Force finishing activity org.martchus.passwordmanager/.Activity

Seems like something is missing in the Java glue code provided by Qt.

SparseMind commented on 2018-12-01 04:18

I started using another USB and now the application is loaded to device correctly. But it crash immideatly after run. Then I try to load apk file to device and to install it manualy. That's ok. But when I try to run this application it crash with error. Then I create empty application using QML and try to do the same. And result was the same. Application crash with error imideatly after I try to run it.

Martchus commented on 2018-11-30 16:24

@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.