Subsurface Android Build fails to run

Axel Richter axel.richter68 at yahoo.com
Fri Jun 10 05:38:18 PDT 2016


Am 10.06.2016 um 09:54 schrieb Robert Helling:
> Axel,
>
>> On 10.06.2016, at 09:50, Axel Richter 
>> <axel.richter68 at yahoo.com 
>> <mailto: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:339Type DiveDetails unavailable
>> W/Subsurface(31698):qrc:///qml/DiveDetails.qml:218Type 
>> Kirigami.OverlaySheet unavailable
>> W/Subsurface(31698):qrc:////imports/org/kde/kirigami/OverlaySheet.qml:106CornerShadow 
>> 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

Thank you Robert,

you pointed me in the right direction. The missing type 
"CornerShadow" caused "OverlaySheet" not to load and finally 
"DiveDetails". I commented the "CornerShadow" and now it 
works - maybe without shadow - no problem: no sun -> no 
shadow :-(

Axel

-- 
Axel Richter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160610/0837f47a/attachment-0001.html>


More information about the subsurface mailing list