Recent

Author Topic: How to create an working android package  (Read 7831 times)

Christian

  • New Member
  • *
  • Posts: 37
How to create an working android package
« on: October 07, 2012, 12:47:52 pm »
HI,

i try to get for more than an week every description in the wiki to get an working android lcl executable.

1. the VM Image
Unpacking with standart fileroller in ubuntu fails, with unzip on commandline it works
when you start lazarus in the vm lazarus says "Compiler "/usr/bin/fpc" does not support target arm-linux"

2. i have build binutils 2.2 from source, build fpc from fpc4android branch
i can build executables with these combination but they crash on my p500 and also on my wildfire directly

is there an working way to get an android executable ?

Christian

  • New Member
  • *
  • Posts: 37
Re: How to create an working android package
« Reply #1 on: October 11, 2012, 08:14:27 pm »
I now tried to use an clean fpc 2.6_fixes and link everything with and against the original toolchain included in android ndk. Result is same on my 2 Phones and also on arm Emulator the Application crashs

E/AndroidRuntime(  426): FATAL EXCEPTION: main
E/AndroidRuntime(  426): java.lang.UnsatisfiedLinkError: LCLOnCreate
E/AndroidRuntime(  426):    at com.pascal.lcltest.LCLActivity.LCLOnCreate(Native Method)
E/AndroidRuntime(  426):    at com.pascal.lcltest.LCLActivity.onCreate(LCLActivity.java:246)

 

TinyPortal © 2005-2018