LAMW and Lazarus-2.0.10 realise lazarus / 43-Android ---------------------------------------------------------------------- shyub · 2020-11-13 15:57 LAMW_Getting_Started.txt (https://github.com/jmpessoa/lazandroidmodule wizard/blob/master/LAMW_Getting_Started.txt) describes how based on lazarus-2.0.4-61666-fpc-3.2.0-beta-42593-win32. exe get an environment for Android programming using LAMW. I tried to repeat this, but using lazarus-2.0.10-fpc-3.2.0-win32.exe. Projects compile, but when building the APK file (apache- ant-1.10.8-bin.zip and gradle-6.6.1-bin.zip) an error occurs. Reinstalling lazandroidmodulewizard-master.zip (latest version) gave nothing. I wonder if this is my mistake or lazarus-2.0.10-fpc-3.2.0-win32.exe is not suitable for these purposes? ---------------------------------------------------------------------- jmpessoa · 2020-11-13 16:21 Hi,shyub! You can first test fpc   to produce a "libcontrols.so": "Run"  ---> "Build" or "Run"  ---> "Clean up and Build" And if the "libcontrols.so" is OK  then you can try "Run" ---> "[LAMW] Build Apk and Run" (remember that your device need be configured for  "developer" mode) If you get some [Ant] error, please put here some log... ---------------------------------------------------------------------- shyub · 2020-11-13 18:55 "Run" ---> "Build" and "Run" ---> "Clean up and Build" are successful. I get the file "libcontrols.so". "Run" ---> "[LAMW] Build Apk and Run" error while building APK file. ---------------------------------------------------------------------- shyub · 2020-11-13 18:58 File libcontrols.so ---------------------------------------------------------------------- shyub · 2020-11-13 19:02 A similar situation with Grable. The project contains only a form. ---------------------------------------------------------------------- shyub · 2020-11-13 19:28 Installed android-sdk_r24.4.1 but updated repeatedly. ---------------------------------------------------------------------- jmpessoa · 2020-11-13 20:36 Please, check you android  "\sdk\platforms" folder   ....  have you  "android-28"  "and android-29"  folders? [if not use "SDK Manager" to install its....] ---------------------------------------------------------------------- shyub · 2020-11-13 21:10 There is a folder "android-28", I did not install android-29. But when creating a project, I do not use API-29. ---------------------------------------------------------------------- shyub · 2020-11-13 21:14 Tomorrow I will install API-29 and check. I will write about the result. ---------------------------------------------------------------------- jmpessoa · 2020-11-14 00:20 Ok. You can check the "LAMW.ini" file, too. [lazarus/config] Or Lazarus IDE: "Tools" --> "[LAMW]...." --> "Paths settings ...." ---------------------------------------------------------------------- shyub · 2020-11-14 05:44 The file "LAMW.ini" is missing. "Tools" -> "[LAMW] ...." -> "Paths settings ...." looks like this: Now I will install API-29 and report the result. ---------------------------------------------------------------------- shyub · 2020-11-14 06:11 Installed API-29. Indicated "Target Api:" 28 and 29. Compilation is successful, Building APK gives the same errors. ---------------------------------------------------------------------- juank1971 · 2020-11-14 12:58 Hi, It is this forum I put the steps to follow to install lamw with the latest version of lazarus and it works correctly, it is in Spanish, but you can translate it with google. https://www.clubdelphi.com/foros/showthread.php?t=94850 ---------------------------------------------------------------------- shyub · 2020-11-14 13:33 juank1971, thanks! ---------------------------------------------------------------------- shyub · 2020-11-14 14:05 juank1971, thanks again for your answer. I did it in the same sequence. The project is compiled. However, when building the APK, it gives an error. I am attaching a description of how I do it. The archive file is in Russian, but everything is duplicated with pictures. ---------------------------------------------------------------------- juank1971 · 2020-11-14 19:31 Download lazarus 2.1 not 2.0.10 ---------------------------------------------------------------------- juank1971 · 2020-11-14 19:32 And uninstall all lazarus before ---------------------------------------------------------------------- shyub · 2020-11-16 06:54 Performed the installation of Lazarus-2.0.10 + LAMW on a Windows-10 x32 machine. The machine is clean, Lazarus has not been installed there before. The APK was compiled and built successfully. I tried to repeat the same thing with VirtualBox 5.1.24 + Windows-7 x32. The compilation is successful. Building APK gives the same errors. The reason could not be established. ---------------------------------------------------------------------- Segator · 2020-11-16 14:02 I use fpcupdeluxe to build my enviroment, is the most easy way after the LAMW Manager.