Before Start Installing

You need to have Lazarus and FPC installed that have the ability to do cross compiling. The Lazarus/FPC installed from Ubuntu default repository may fail to cross compile because of missing make files issue. You can get Lazarus/FPC from its official website: http://www.lazarus-ide.org/

If you have LAMW (Lazarus Android Module Wizard) installed previously, you have to uninstall the related packages and remove the ~/Android folder.

In this installation guide, the text in green color mean you need to type them in your Linux Terminal.

Download and Install Android NDK, SDK and Required Packages

Warning:
The total size of the items you’re going to download in this “Download and Install Android NDK, SDK and Required Packages” section is about 2.2 GB, so you better use a fast internet connection.