[LAMW] Error installing last version of LAMW lazarus / 43-Android ---------------------------------------------------------------------- juank1971 · 2021-01-31 22:37 I'm trying to install the latest version of LAMW and it gives me the following error: I use lazarus 2.1 ---------------------------------------------------------------------- juank1971 · 2021-01-31 22:38 i uninstalled the lazarus completely and reinstalled them and it gives me the same error ---------------------------------------------------------------------- jmpessoa · 2021-02-01 01:17 Ok. The issue is in "LamwDesigner.pas"  [....\android_wizard] line 64 .... [we change it to be compatible com lazarus trunk...] But now you got a bug  using lazarus "2.1" Please, try find "LazVersion.pas"  [...\components\lazutils]  and put the code here.... ---------------------------------------------------------------------- juank1971 · 2021-02-01 02:06 ok this is and thanks jose ---------------------------------------------------------------------- jmpessoa · 2021-02-01 02:30 In "LamwDesigner.pas"  [....\android_wizard] Please, change lines  64 and  1976: OLD: lcl_fullversion>=2010000 NEW lcl_fullversion>2010000 And test! ---------------------------------------------------------------------- juank1971 · 2021-02-01 04:36 sorry another error ---------------------------------------------------------------------- jmpessoa · 2021-02-01 04:46 But now we have a Lazarus issue.... not a LAMW issue.... Try comment the  override directive  -->   //override ---------------------------------------------------------------------- juank1971 · 2021-02-01 04:51 i tested in lazarus 2.0.10 and installed fine no errors the problem is in lazarus 2.1 ---------------------------------------------------------------------- jmpessoa · 2021-02-01 04:56 Yes, can you see in "GDBMIDebugger.pas"  ? Quote  { TGDBMIDebuggerCommandStartDebugging }   TGDBMIDebuggerCommandStartDebugging = class(TGDBMIDebuggerCommandStartBase)   private     FContinueCommand: TGDBMIDebuggerCommand;     FSuccess: Boolean;   protected     function  DoExecute: Boolean; override;     function  GdbRunCommand: String; virtual;     function  DoTargetDownload: boolean; virtual;   public     constructor Create(AOwner: TGDBMIDebugger; AContinueCommand: TGDBMIDebuggerCommand);     destructor Destroy; override;     function  DebugText: String; override;     property ContinueCommand: TGDBMIDebuggerCommand read FContinueCommand;     property Success: Boolean read FSuccess;   end; What about 2.1 ?? Edited: May this work for 2.1 Change "GDBMiServerDebuggerLAMW.pas"  as: Code: [Select]function GdbRunCommand: String;  //override; ---------------------------------------------------------------------- juank1971 · 2021-02-01 05:13 yes worked , install in lazarus 2.1 the last lamw i see the menu ,    buid release signed apk.. thanks for all jose . good job.  change In "LamwDesigner.pas"  [....\android_wizard] lcl_fullversion>=2010000 for lcl_fullversion>2010000 And in C:\LAMW\lazandroidmodulewizard- master\ide_tools\gdbmiserverdebuggerlamw.pas comment directive  -->   //override old function GdbRunCommand: String; override; new function GdbRunCommand: String; //override; ---------------------------------------------------------------------- jmpessoa · 2021-02-01 05:39 Good!!! I commited the changes to github!!! Thank you!!! ---------------------------------------------------------------------- Seenkao · 2021-06-04 05:40 Добрый день! У меня и Windows 7 и Linux Debian Cinnamon. Все Lazarus версии 2.1.ххх (не могу утверждать точно). FPC 3.2.1. Мне, для установки и использования LAMW пришлось вернуть всё обратно, так как выдало ошибку при установке. Это было в Windows. При попытке установить в Linux возникла та же проблема. Если необходимо, я могу сделать видеозапись действий, которые я буду производить, для восстановления работы пакета. google translate: Good day! I have both Windows 7 and Linux Debian Cinnamon. All Lazarus versions are 2.1.xxx (I can't say for sure). FPC 3.2.1. To install and use LAMW, I had to return everything back, as it gave an error during installation. It was on Windows. I got the same issue when trying to install on Linux. If necessary, I can make a video recording of the actions that I will take to restore the package.