Recent

Author Topic: LAMW: error moving component  (Read 1207 times)

simsee

  • Full Member
  • ***
  • Posts: 184
LAMW: error moving component
« on: September 05, 2022, 09:24:15 pm »
Hello everybody. I installed for the first time LAMW on Windows 64bits, using fpcupdeluxe with no significant error messages.

After creating a new project (LAMW [GUI] Android jForm), from the Android Bridges tab I select jButton, but the ide gives me the following error message "error moving component jButton1: jButton".

What could be the problem? A thousand thanks.

jmpessoa

  • Hero Member
  • *****
  • Posts: 2302
Re: LAMW: error moving component
« Reply #1 on: September 06, 2022, 07:37:46 pm »

Hi, simsee!

Maybe fpcupdeluxe don't  install  all stuff need by LAMW ....

ref:

https://forum.lazarus.freepascal.org/index.php/topic,40750.html


Alternatively you can try official LAMW install guide:

https://github.com/jmpessoa/lazandroidmodulewizard

Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

jmpessoa

  • Hero Member
  • *****
  • Posts: 2302
Re: LAMW: error moving component
« Reply #2 on: September 10, 2022, 09:05:24 pm »
Hi, simsee!

maybe I found the "bug"...


Please,  go to file  "LamwDesigner.pas" in LAMW folder  "...\androidmodulewizard\android_wizard\smartdesigner"

and change this line:  [number 5000+]

DraftClassesMap := TDraftControlHash.Create(64);   //old !

to:

DraftClassesMap := TDraftControlHash.Create(128);  //new!


Thank you!

Edited: after the change re-install the package "lazandroidwizardpack.lpk" in the same folder...
« Last Edit: September 11, 2022, 05:35:51 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

simsee

  • Full Member
  • ***
  • Posts: 184
Re: LAMW: error moving component
« Reply #3 on: March 22, 2024, 11:26:14 pm »
Hi Jmpessoa, I tried to install LAMW again using fpcupdeluxe, but I get the same error reported some time ago, even though the current version contains the fix you proposed. Do you have any suggestions? Thank you.
« Last Edit: March 22, 2024, 11:35:39 pm by simsee »

 

TinyPortal © 2005-2018