Recent

Author Topic: [solved] LCLExample/androidlcl doesnt work on Android 4 (SIGSERV)  (Read 15991 times)

DimProfi

  • Full Member
  • ***
  • Posts: 126
    • http://www.dimprofi.de
Re: [solved] LCLExample/androidlcl doesnt work on Android 4 (SIGSERV)
« Reply #15 on: March 19, 2013, 01:37:57 pm »
... must be one of those FATAL warnings ...  %)

Cheers

Gonna be carefully with them now :D
Lazarus 1.2/FPC 2.6.4 (x86/x86_64/win32/win64/Linux) :: Be smart - use predictable {$INTERFACES CORBA}! :)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: [solved] LCLExample/androidlcl doesnt work on Android 4 (SIGSERV)
« Reply #16 on: March 19, 2013, 04:50:35 pm »
Quote
In my case replacing all occurrences to "javaEnvRef^^.GetLongField()" by "javaEnvRef^^.GetIntfield()" in "lcl/interfaces/customdrawn/customdrawnwinapi_android.inc"
Something has changed in Android 4.1 and up? Perhaps you need to tell Custom Drawn maintainer...

DimProfi

  • Full Member
  • ***
  • Posts: 126
    • http://www.dimprofi.de
Re: [solved] LCLExample/androidlcl doesnt work on Android 4 (SIGSERV)
« Reply #17 on: March 19, 2013, 08:22:59 pm »
Quote
In my case replacing all occurrences to "javaEnvRef^^.GetLongField()" by "javaEnvRef^^.GetIntfield()" in "lcl/interfaces/customdrawn/customdrawnwinapi_android.inc"
Something has changed in Android 4.1 and up? Perhaps you need to tell Custom Drawn maintainer...

Its already correct in:
lazarus-1.1-40588-20130319-src.zip

No "GetLongField", just "GetIntField" found  8-)
« Last Edit: March 19, 2013, 08:31:49 pm by dimprofi »
Lazarus 1.2/FPC 2.6.4 (x86/x86_64/win32/win64/Linux) :: Be smart - use predictable {$INTERFACES CORBA}! :)

pijnack

  • Newbie
  • Posts: 2
Re: [solved] LCLExample/androidlcl doesnt work on Android 4 (SIGSERV)
« Reply #18 on: December 15, 2014, 01:31:17 pm »
I worked with a VirtualBox Lazarus configuration, downloaded from sourceforge (dated 30-dez-2011) and had the same problem.
The solution of samsam did not work for me.
I upgraded Lazarus to version 2.6.4 and now it works fine.

 

TinyPortal © 2005-2018