On 14 January, 2017 - Anton Lundin wrote: > On 13 January, 2017 - Dirk Hohndel wrote: > > > On Sun, Jan 08, 2017 at 05:50:17PM -0800, Dirk Hohndel wrote: > > > > > > > On Jan 8, 2017, at 12:54 PM, Martin Long <[email protected]> wrote: > > > > > > > > > > > > > > > > Where can I find documentation for building Android binaries? It's not > > > > on https://subsurface-divelog.org/documentation/building/ > > > > <https://subsurface-divelog.org/documentation/building/> > > > > > > > > My mistake. I've found it in the INSTALL file. Thanks. > > > > > > I hadn't built for Android in a while. With the latest Kirigami I cannot > > > build working packages for either iOS or Android. > > > > > > I'm running out of time this weekend, not sure when I'll be able to > > > figure this out - so this is just a heads-up... > > > > This has not been forgotten, I'm just stumped and cannot figure out how to > > make this work. Anton, are you able to build a working Android binary with > > current master? Tomaz, have you taken a look, yet? > > > > Builds just fine for me. > > There's a bug in qt-android-cmake, when building the x86 version, but > that can be solved with a symlink: > android-ndk-r13b/toolchains/i686-linux-android-4.9 -> x86-4.9 > > The app doesn't run due to: > > java.lang.reflect.InvocationTargetException > at java.lang.reflect.Method.invoke(Native Method) > at > org.qtproject.qt5.android.bindings.QtLoader.loadApplication(QtLoader.java:237) > at > org.qtproject.qt5.android.bindings.QtLoader.startApp(QtLoader.java:647) > at > org.qtproject.qt5.android.bindings.QtActivityLoader.onCreate(QtActivityLoader.java:181) > at > org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:269) > at android.app.Activity.performCreate(Activity.java:6679) > at > android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118) > at > android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618) > at > android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726) > at android.app.ActivityThread.-wrap12(ActivityThread.java) > at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477) > at android.os.Handler.dispatchMessage(Handler.java:102) > at android.os.Looper.loop(Looper.java:154) > at android.app.ActivityThread.main(ActivityThread.java:6119) > at java.lang.reflect.Method.invoke(Native Method) > at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) > at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776) > Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library > "libcrypto.so.1.0.0" not found > at java.lang.Runtime.load0(Runtime.java:908) > at java.lang.System.load(System.java:1505) > at > org.qtproject.qt5.android.QtNative.loadBundledLibraries(QtNative.java:191) > at > org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:512) > ... 17 more > > I Thought we fixed that earlier? >
Anyhow, fixed that for now with vim -b but now it dies on a kirigami related error: W Subsurface: (null):0 ((null)): QQmlApplicationEngine failed to load component W Subsurface: (null):0 ((null)): qrc:///qml/main.qml:365 Type DownloadFromDiveComputer unavailable W Subsurface: qrc:///qml/DownloadFromDiveComputer.qml:10 Type Kirigami.Page unavailable W Subsurface: qrc:/Page.qml:24 module "QtQuick.Templates" plugin "qtquicktemplates2plugin" not found W Subsurface: It happens both in a x86 emulator and on a physical arm device. If I build the mobile-version for Linux it runs just fine. -- Anton Lundin +46702-161604 _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
