Forum > CustomDrawn

How to create an working android package



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 ?

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(


[0] Message Index

Go to full version