As you can see in all the above.
The latest I managed to succeed with is this step:IDE "Tools" --> "[Lamw] Android Module Wizard" --> "Build FPC Cross Android"
[ex. Armv7a + Soft] <<---- tested!
.Build
.Install
[ex. aarch64] <<---- tested!
.Build
.Install
I asked this about the next step I found:Is it still necessary to take these steps:
3. After "build" and "install" the cross-compiler and before to create your first LAMW project
[How to fix "Fatal: Cannot find unit system used by fcllaz of package FCL."]
3.1) Go to "fpc.cfg" [ex. "lazarus\fpc\3.2.0\bin"]
Change:
# searchpath for units and other system dependent things
-FuC:\lazarus1864\fpc\$FPCVERSION/units/$fpctarget
-FuC:\lazarus1864\fpc\$FPCVERSION/units/$fpctarget/*
-FuC:\lazarus1864\fpc\$FPCVERSION/units/$fpctarget/rtl
To:
# searchpath for units and other system dependent things
-FuC:\lazarus1864\fpc\3.2.0/units/$fpctarget
-FuC:\lazarus1864\fpc\3.2.0/units/$fpctarget/*
-FuC:\lazarus1864\fpc\3.2.0/units/$fpctarget/rtl
3.2) Go to Lazarus IDE menu "Tools" --> "Options" --> "Environment"
[FPC Source]
Change:
$(LazarusDir)fpc\$(FPCVer)\source
To:
$(LazarusDir)fpc\3.2.0\source
(However, in the meanwhile somebody seems to have changed the getting started, which now has the following text above this step:
Hint: After "build" and "install" the cross-compilers and all "II. Infrastructure"
go to "III. USING LAMW" and try to create your first [New] LAMW project!
If you get a error "Fatal: Cannot find unit system used by fcllaz of package FCL."
when trying "Run" --> "Build" your project try fix the "fpc.cfg" file:
Which confuses me)Nex You said: Skip this step and try go ahead ....
I said: In the meantime next in the "Getting_Started.txt" is this remark:
IMPORTANT!
Google Play NOW require APKs to include both 32 and 64 bit version of .so libraries....
ref.
https://github.com/jmpessoa/lazandroidmodulewizard/blob/master/docs/how_to_64bits_Apk.txtSo should I now first take the steps described in:
https://github.com/jmpessoa/lazandroidmodulewizard/blob/master/docs/how_to_64bits_Apk.txtbefore moving on with other steps in "Getting_Started.txt".
Or not?
You Said:go to:
Quote
4) How to get more/others ".so" chipset builds:
.warning: Your Lazarus/Freepascal needs to be prepared [cross-compile] for the various chipset builds!
4.1. From LazarusIDE menu:
> Project -> Project Options -> Project Options -> [LAMW] Android Project Options -> "Build" -> Chipset [select!] -> [OK]
4.2. From LazarusIDE menu:
> Run -> Clean up and Build...
4.3. From LazarusIDE menu:
> [LAMW] Build Android Apk and Run
NOTE: If desirable/wanted repeat 4.1/4.2/4.3 for other CPUs...
I tried and failed:At step 4.1 I got the choice between "Ant" and "Gradle" as APK-builder.
I have both installed with Chocolatey. I chose "Ant".
As chipset I chose: ARMv7a+Soft
Since this was one off the two chipsets I did build for earlier in this process.
I pressed OK. Window disappeared. So I guess, no problem.
I went to step 4.2 and did "Clean up and Build"
Got a lot off messages, and lots went successful until...
I got error. See attached picture.
So that's where I am at