Difference between revisions of "LAMW install windows fpcupdeluxe"

From Lazarus wiki
Jump to navigationJump to search
(Created page with "==Install [https://wiki.freepascal.org/LAMW LAMW] and Android Development Environment on Windows using [https://wiki.freepascal.org/fpcupdeluxe fpcupdeluxe]== '''2023-Feb-05...")
 
Line 1: Line 1:
==Install [https://wiki.freepascal.org/LAMW LAMW] and Android Development Environment on Windows using [https://wiki.freepascal.org/fpcupdeluxe fpcupdeluxe]==
+
==Install LAMW and Android Development Environment on Windows using [https://wiki.freepascal.org/fpcupdeluxe fpcupdeluxe]==
 
+
;See also:
'''2023-Feb-05 ver 0.7'''
 
 
 
See also:
 
 
  https://wiki.freepascal.org/LAMW<br />
 
  https://wiki.freepascal.org/LAMW<br />
 
  https://wiki.freepascal.org/fpcupdeluxe<br />
 
  https://wiki.freepascal.org/fpcupdeluxe<br />
  For Linux install HowTo see here:  https://forum.lazarus.freepascal.org/index.php/topic,40750.0.html
+
  For Linux How-To see here:  https://forum.lazarus.freepascal.org/index.php/topic,40750.0.html
  
 
;Motivation
 
;Motivation
: Needed simple instructions to get an up-to-date Android build environment setup on Windows.
+
Needed simple instructions to get an up-to-date Android build environment setup on Windows.
: (installs and runs as a user, no admin privileges are needed)
+
(installs and runs as a user, no admin privileges are needed)
 
+
Thanks to other developers for sharing their hard work, utilities, and helpful information.<br />
+
Thanks to other developers for sharing their hard work, utilities, and helpful information.
Please provide feedback if you find any issues, or if there are ways to simplify even more.<br />
+
Please provide feedback if you find any issues, or if there are ways to simplify even more.
  
 
;Everything is self-contained under the "$BASE\android" folder
 
;Everything is self-contained under the "$BASE\android" folder
: ($BASE defaults to the user's home folder)
+
($BASE defaults to the user's home folder)
: $BASE\android\sdk  (android sdk and build tools)
+
$BASE\android\sdk  (android sdk and build tools)
: $BASE\android\sdk\ndk-bundle  (android ndk)
+
$BASE\android\sdk\ndk-bundle  (android ndk)
: $BASE\android\fpcupdeluxe_app  (FPCUPdeluxe installer)
+
$BASE\android\fpcupdeluxe_app  (FPCUPdeluxe installer)
: $BASE\android\projects  (default LAMW projects folder)
+
$BASE\android\projects  (default LAMW projects folder)
: $BASE\android\fpc-lazarus  (FPC, Lazarus built w/ LAMW)
+
$BASE\android\fpc-lazarus  (FPC, Lazarus built w/ LAMW)
: $BASE\android\fpc-lazarus\ccr\lamw  (LAMW files)
+
$BASE\android\fpc-lazarus\ccr\lamw  (LAMW files)
: $BASE\android\fpc-lazarus\ccr\lamw-gradle  (gradle build tool)
+
$BASE\android\fpc-lazarus\ccr\lamw-gradle  (gradle build tool)
: $BASE\android\fpc-lazarus\ccr\lamw\demos (LAMW demo projects)
+
$BASE\android\fpc-lazarus\ccr\lamw\demos (LAMW demo projects)
  
 
;Versions Tested
 
;Versions Tested
Line 44: Line 41:
 
Run these commands in a non-admin powershell console.  I recommend running these
 
Run these commands in a non-admin powershell console.  I recommend running these
 
one at a time so you can verify the results before moving on to the next step.
 
one at a time so you can verify the results before moving on to the next step.
 +
 +
'''2023-Feb-05 ver 0.7'''

Revision as of 08:59, 6 February 2023

Install LAMW and Android Development Environment on Windows using fpcupdeluxe

See also
https://wiki.freepascal.org/LAMW
https://wiki.freepascal.org/fpcupdeluxe
For Linux How-To see here: https://forum.lazarus.freepascal.org/index.php/topic,40750.0.html
Motivation
Needed simple instructions to get an up-to-date Android build environment setup on Windows.
(installs and runs as a user, no admin privileges are needed)

Thanks to other developers for sharing their hard work, utilities, and helpful information.
Please provide feedback if you find any issues, or if there are ways to simplify even more.
Everything is self-contained under the "$BASE\android" folder
($BASE defaults to the user's home folder)
$BASE\android\sdk  (android sdk and build tools)
$BASE\android\sdk\ndk-bundle  (android ndk)
$BASE\android\fpcupdeluxe_app  (FPCUPdeluxe installer)
$BASE\android\projects  (default LAMW projects folder)
$BASE\android\fpc-lazarus  (FPC, Lazarus built w/ LAMW)
$BASE\android\fpc-lazarus\ccr\lamw  (LAMW files)
$BASE\android\fpc-lazarus\ccr\lamw-gradle  (gradle build tool)
$BASE\android\fpc-lazarus\ccr\lamw\demos (LAMW demo projects)
Versions Tested
Windows 10 Pro 22H2 64-bit with latest updates installed

Android Command-Line Tools for Linux build 9477386
OpenJDK 11.0.18 LTS (Microsoft's build)
Android SDK/API Level 31 (Android 12)
Android NDK revision 22
Gradle 6.8.3 (installed automatically by FPCUPdeluxe)

FPCUPdeluxe ver 2.2.0n
FPC stable v3.2.2
Lazarus stable v2.2.4

32-bit CPU Target: ARMv7a + VFPv3 (hardware floating point)
64-bit CPU Target: Aarch64 (this always uses hardware floating point)

Run these commands in a non-admin powershell console. I recommend running these one at a time so you can verify the results before moving on to the next step.

2023-Feb-05 ver 0.7