Subsurface Android Build fails to run

Robert Helling helling at atdotde.de
Fri Jun 10 00:54:41 PDT 2016


Axel,

> On 10.06.2016, at 09:50, Axel Richter <axel.richter68 at yahoo.com> wrote:
> 
> I just built the subsurface-android successfully. When I try to start on the phone, I get the welcome-screen and after three seconds the app disappears. The logcat shows:
> 
> D/Subsurface(31698): (null):0 ((null)): can't find Qt localization for locale "de-DE" searching in "assets:/translations"
> W/Subsurface(31698): (null):0 ((null)): QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
> W/Subsurface(31698): (null):0 ((null)): QQmlApplicationEngine failed to load component
> W/Subsurface(31698): (null):0 ((null)): qrc:///qml/main.qml:339 <qrc:///qml/main.qml:339> Type DiveDetails unavailable
> W/Subsurface(31698): qrc:///qml/DiveDetails.qml:218 <qrc:///qml/DiveDetails.qml:218> Type Kirigami.OverlaySheet unavailable
> W/Subsurface(31698): qrc:////imports/org/kde/kirigami/OverlaySheet.qml:106 <qrc:////imports/org/kde/kirigami/OverlaySheet.qml:106> CornerShadow is not a type
> 
> and
> 
> I/SurfaceFlinger(  258): id=295 Removed org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity (5/7)
> I/SurfaceFlinger(  258): id=295 Removed org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity (-2/7)
> I/SurfaceFlinger(  258): id=295 Removed org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity (-2/7)
> I/ActivityManager(  940): Process org.subsurfacedivelog.mobile (pid 30976)(adj 0) has died(68,387)
> I/WindowState(  940): WIN DEATH: Window{1ccf333b u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity}
> I/SQLiteSecureOpenHelper(26907): getWritableDatabase(pwd)
> I/SQLiteSecureOpenHelper(26907): getDatabaseLocked(b,b,pwd)...
> W/ActivityManager(  940): Force removing ActivityRecord{2f2605e6 u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity t404}: app died, no saved state
> 
> I attach the build log. Any clue is very appreciated.


it’s a bit hard to tell (also since I do not have an Android device myself) since in the mobile version there are a lot of log messages that could either be warnings (like probably the one about the missing localization) or fatal errors. My guess would be that the “Type DiveDetails unavailable” and the next is the actual problem.\

Are you sure you are building with the latest version of kirigami? Running subsurface/scripts/mobilecomponents.sh before building might help.

Best
Robert

--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics
                      Scientific Coordinator
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik
                      Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339
                      http://www.atdotde.de

Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1D    and
DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160610/f2e4f2d8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160610/f2e4f2d8/attachment-0001.sig>


More information about the subsurface mailing list