I can't generate androidlcltest in linux 386 lazarus / 43-Android ---------------------------------------------------------------------- Fortuna1 · 2012-09-12 06:21 Precompiled FreePascal for lazy people http://zengl.org/wiki/doku.php? id=compilation:android#precompiled_freepascal_for_lazy_people Linux 386  fpc-src-2.6.0-0.laz.i686.rpm fpc-2.6.0-0.laz.i686.rpm lazarus-1.0-1.i386.rpm download fpc4android-r20768.7z and  unpack into  /usr/lib/fpc/2.6.0 copy ppcrossarm from bin/i386-linux   into /usr/lib/fpc/2.6.0 and create symlink to it into /usr/bin: sudo ln -sf /usr/lib/fpc/2.6.0/ppcrossarm /usr/bin/ppcarm Installing Android SDK Android NDK Change Compiler Options   Libraries (-F) ../../Download/android-ndk-r8b/platforms/android-8/arch- arm/usr/lib;../../Download/android-ndk-r8b/toolchains/arm-linux- androideabi-4.4.3/prebuilt/linux-x86/lib/gcc/arm-linux- androideabi/4.4.3  Then  I open androidlcltest.lpi and compile But i get message fcllaz.pas(0,0) Fatal: Can not find unit system used by fcllaz. What is wrong in my Installing steps ---------------------------------------------------------------------- felipemdc · 2012-09-12 10:22 Why don't you use the official build and install instructions? http://wiki.lazarus.freepascal.org/Android_Interface#Using_the_pre- compiled_compiler_in_Windows ---------------------------------------------------------------------- Fortuna1 · 2012-09-12 11:14 ok I try install this http://wiki.lazarus.freepascal.org/Android_Interface#Using_the_pre- compiled_compiler_in_Windows Step 1 - Download and unzip the pre-compiled compiler fpc4android_2_5_1_2_apr_2012 Step 2    I install   lazarus-1.0-fpc-2.6.0-win32 Is this version ok. What version sugestion ? ---------------------------------------------------------------------- felipemdc · 2012-09-12 12:02 Quote from: Fortuna1 on September 12, 2012, 01:14:41 pmStep 2    I install   lazarus-1.0-fpc-2.6.0-win32 Is this version ok. What version sugestion ? There are many improvements for CustomDrawn in trunk which were not merged to the Lazarus 1.0 branch.... I would recommend a snapshot of Lazarus 1.1 instead. From here: http://freepascal.dfmk.hu/test/lazarus/ Lazarus-1.1-38618-fpc-2.6.0-20120912-win32.exe ---------------------------------------------------------------------- Fortuna1 · 2012-09-12 12:42 Ok  Now put Compiler Options Libraries (-FI) C:\android-ndk-r8b\platforms\android-8\arch-arm\usr\lib\;C:\android- ndk-r8b\toolchains\arm-linux- androideabi-4.4.3\prebuilt\windows\lib\gcc\arm-linux- androideabi\4.4.3\ NOw  compile    anroidlcltest   without erros. I get    liblclapp.so I have    Samsug note III. I do not know where to put my program(liblclapp.so) on the tablet and how to start it. ---------------------------------------------------------------------- felipemdc · 2012-09-12 12:45 The library is the first step, but after obtaining it you need to package it in a APK, as explained here: http://wiki.lazarus.freepascal.org/Custom_Drawn_Interface/Android#Comp iling_the_example_LCL_Android_Application and here: http://wiki.lazarus.freepascal.org/Custom_Drawn_Interface/Android#Step _4_-_Creating_the_APK_package_in_Windows ---------------------------------------------------------------------- felipemdc · 2012-09-12 12:47 After you have the APK to install it on the phone you can copy the .apk file to the phone memory. Install on the phone a file manager using the Google Play Store, previously known as Google Market. I use the "OI File Manager" Using the file manager navigate to where the .apk file is and click it. This will open the installer and install it. Another way is using the command line "adb install myfile.apk" To start any app, just go to the list of applications on the phone and select the icon of the app. ---------------------------------------------------------------------- Fortuna1 · 2012-09-17 17:10 http://www.lazarus.freepascal.org/index.php/topic,18161.0.html Many thanks to all. Now work wonderful. Best greetings from Slovenia