I get errors when running the above code in LAMW4Windows 3.8. These are the messages:
Messages, Hints: 2
Verbose: Selected chip architecture: arm64-v8a
Verbose: Taking libraries from folder: C:\Users\Andy\Desktop\Android\Prognoza\libs\arm64-v8a
Verbose: Found library: libcontrols.so
Note: Duplicate unit "controls" in "controls", orphaned ppu "C:\Users\Andy\Desktop\Android\Prognoza\obj\controls\controls.o"
Note: Duplicate unit "controls" in "LCLBase 3.8", ppu="C:\lamw_manager\LAMW\LAMW4Windows\lazarus_trunk\lcl\units\aarch64-android\controls.ppu", source="C:\lamw_manager\LAMW\LAMW4Windows\lazarus_trunk\lcl\controls.pp"
Project: Executing command before: Success
before build...
Compile Project, OS: android, CPU: aarch64, Target: C:\Users\Andy\Desktop\Android\Prognoza\libs\arm64-v8a\libcontrols.so: Exit code 1, Errors: 11, Hints: 1
unit1.pas(21,61) Hint: Parameter "intentData" not used
unit1.pas(63,9) Error: Identifier not found "TListItem"
unit1.pas(63,18) Error: Error in type definition
unit1.pas(71,38) Error: Wrong number of parameters specified for call to "Insert"
classesh.inc(739,15) Error: Found declaration: Insert(LongInt;const AnsiString);
unit1.pas(72,10) Error: Illegal qualifier
unit1.pas(76,38) Error: Wrong number of parameters specified for call to "Insert"
classesh.inc(739,15) Error: Found declaration: Insert(LongInt;const AnsiString);
unit1.pas(77,10) Error: Illegal qualifier
unit1.pas(81,38) Error: Wrong number of parameters specified for call to "Insert"
classesh.inc(739,15) Error: Found declaration: Insert(LongInt;const AnsiString);
unit1.pas(82,10) Error: Illegal qualifier
Exception, Errors: 1
Fatal: [Exception] Failed: Cannot build project
Is the above code for Android app development? I need code for Android app developement.