Author Topic: Android : Lazarus Android Module Wizard : Instalation on Linux 64 (Ubuntu 14.04)  (Read 3839 times)


  • New Member
  • *
  • Posts: 15
Hello , this is my way to install Lazarus Android Module Wizard . What is yours?
Do you have problems?

_Get Android SDK and NDK.
_Download sdk packages for your version of android.
_Create a simbolic link (ln -s) to your sdk/ndk folder (/Android -> /your/folder/ (ndk and sdk))
_Add to your ~/.bashrc:
export PATH=$PATH:/Android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin
_Download with svn
svn co
svn co
_Compile and Install (on fixes_3_0)
make clean crossall OS_TARGET=android CPU_TARGET=arm
sudo make crossinstall OS_TARGET=android CPU_TARGET=arm
_create simbolic link:
cd /usr/local/bin
sudo ln -s /usr/local/lib/fpc/3.0.1/ppcrossarm .
sudo ln -s /Android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi-as arm-android-as
sudo ln -s /Android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld arm-android-ld
_Add lines below to /etc/fpc.cfg
_ Install packages on Lazarus
_ After create projects change lines on Menu/Project/Project Options/ Paths and Other. The lines must reflect the folders, replace x86 for x86_64.
On file, on second line, clear slash from /bin
Ex: /Android/sdk/platform-tools/adb install -r /bin/an1-debug.apk
=> /Android/sdk/platform-tools/adb install -r bin/an1-debug.apk


  • Hero Member
  • *****
  • Posts: 1791
Hi Osvaldo,

In today update I  tried fix this issues:

...The lines must reflect the folders, replace x86 for x86_64...

...clear slash from /bin...

Can you test its?

Thank you!
« Last Edit: January 31, 2015, 06:59:20 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard


  • New Member
  • *
  • Posts: 15
A great job! After a clean install with the new version I succeeded !

Thank U.


TinyPortal © 2005-2018