Installing Lazarus and LAMW for Android from scratch.

  Рет қаралды 5,409

CAD for Surveyors and Realtors

CAD for Surveyors and Realtors

Күн бұрын

Hello Friends, First of all;
Let's download the necessary files for the working environment.
These are build packages and plugins for IDE, Android and Other Platforms.
sourceforge.ne...
sourceforge.ne...
github.com/jmp...
gradle.org/ins...
developer.andr...
github.com/and...
www.azul.com/d...
If we are ready, we can start installations !!!
For convenience in our work after Lazarus Installation;
Let's create a folder where we will store the third-party plugins we have downloaded.
In this work, I used a folder name called "Lazarus_ADFOL" to evoke Android plugins for Lazarus, to be catchy and not accidentally delete :)
Let's pay attention to the order in the statement, this is important !!!
1- We are installing Lazarus and Cross Compiling Plugins.
2- Extract the Google NDK archive file to the relevant folder. *** NDK folder path is important ! We will use this folder path in the following FPC setup.
3- We install the FPC Android Build Plugin.
*** In the video, this place is incorrectly numbered as 3. do not worry.
4- Extract the Java SDK to the relevant folder. *** Java SDK folder path is important ! We set this folder path as a value to the JAVA_HOME Environment variable (if there is no variable we must create it).
Because Android SDK needs this folder path during installation.
5- Extract the Google SDK package to the relevant folder.
Next ;
Let's create a new text file and paste the following codes into it.
Let's name the extension of the text file to be .BAT, then run the BAT file.
-Or;
-When in the folder view, we open the command line with SHIFT + LEFT CLICK.
Those who use PowerShell instead of command line can open command line with CMD command after powershell.
-Then we run the following commands one by one.
-Before all this; Let's not forget to set it according to --sdk_root="C:\Lazarus_ADFOL" folder.
-Related commands are available below the video.
Echo Y| sdkmanager --sdk_root=C:\Lazarus_ADFOL\cmdline-tools "platforms;android-30"
Echo Y| sdkmanager --sdk_root=C:\Lazarus_ADFOL\cmdline-tools "build-tools;30.0.0"
Echo Y| sdkmanager --sdk_root=C:\Lazarus_ADFOL\cmdline-tools "extras;android;m2repository"
Echo Y| sdkmanager --sdk_root=C:\Lazarus_ADFOL\cmdline-tools "platform-tools"
Echo Y| sdkmanager --sdk_root=C:\Lazarus_ADFOL\cmdline-tools "tools"
pause
6- Extract the Gradle package to the relevant folder.
7- We extract the LAMW package to the relevant folder and install it. Then we make the Package File Path Settings.
Congratulations, Now you can make your "Hello World" Work :)
The emulator running at the end of the video belongs to Android Studio. If you have a real device, I recommend using it.

Пікірлер: 29
@mrpix3011
@mrpix3011 2 жыл бұрын
instant subscribe nice videos keep the hard work Brother!!!
@muhammedaliaydin4984
@muhammedaliaydin4984 2 жыл бұрын
Very Thanks
@murena1970
@murena1970 Жыл бұрын
very good ....I followed your guide step by step but when I create an empty GUI application for android appears to me a white form (not gray) and when I try to drag a button from the library for android it gives me an error : "error moving component JButton1:JButton"" and have problems with paths...... Can you or ony other help me please? I have windows 7 .....i haven't any android emulator but only software in your video and I'm new to android programming
@nosuchthing8
@nosuchthing8 Жыл бұрын
Amazing!
@muhammedaliaydin4984
@muhammedaliaydin4984 Жыл бұрын
Thank you very much.
@GeezEU
@GeezEU Жыл бұрын
12:38 I've got a message: "lazarus\fpc\3.2.0\bin\x86_64-win64\fpc.exe" does not support target aarch64-android
@muhammedaliaydin4984
@muhammedaliaydin4984 Жыл бұрын
If you can send a screenshot of the error. Let's investigate the solution.
@adilupj
@adilupj 2 жыл бұрын
Muito bom!!! Segui os passos e consegui instalar. Agora, estou pesquisando para criar o primeiro projeto. Obrigado!
@muhammedaliaydin4984
@muhammedaliaydin4984 2 жыл бұрын
Parabéns bravo
@ynad4
@ynad4 7 ай бұрын
Well, I've been trying my best to get an android development where it just works. Followed everything exactly until 13:14 where you press an unmentioned button at the bottom to start the emulator. So I tried "build and create APK" but that just told me that I needed sdk 33, which I installed and then told me gradle version was too low so got latest but just gives an error on building gradle. Why can noone produce a development system that just works after installation?
@muhammedaliaydin4984
@muhammedaliaydin4984 7 ай бұрын
Yes, you are right, unfortunately even Android Studio downloads many files after installation. I wrote the application you mentioned that works at 13:14. This application is a program that runs the emulator of Android Studio. If you have a physical device, there is no need for this app. However, if you wish, you can get and use the Lazarus source code from the link below. forum.lazarus.freepascal.org/index.php/topic,56851.msg422560.html?PHPSESSID=fna1n4df7jdiglfb5r4879g495#msg422560 procedure TForm1.Button1Click(Sender: TObject); var jre_path:String='D:\Android Studio\jre\jre\bin'; emu_path:String='C:\Users\mali.aydin\AppData\Local\Android\Sdk\emulator\emulator.exe'; emu_name:String='Pixel_3a_API_29'; begin ShellExecute(Application.handle, 'open', 'cmd.exe', PChar('/c "cd '+jre_path+' && '+emu_path+' -netdelay none -netspeed full -avd '+emu_name+'" ' ), nil, SW_HIDE); end;
@memomind7415
@memomind7415 8 ай бұрын
Please new video in English and explain everything step by step to install Laz4android and LAMW.. thank you
@muhammedaliaydin4984
@muhammedaliaydin4984 8 ай бұрын
I've never worked with Laz4android before. I will try to do it when I am available.
@memomind7415
@memomind7415 8 ай бұрын
@@muhammedaliaydin4984 okay, I wait anyway Inshallah
@cydmatica
@cydmatica 2 жыл бұрын
Very good video, very useful and helpful
@muhammedaliaydin4984
@muhammedaliaydin4984 2 жыл бұрын
Very thanks
@PaulAndMuttley
@PaulAndMuttley Жыл бұрын
I hope I can successfully follow all these steps. I have already installed Laz4Android and most of the Android widgets and components seem to be there, but I don't have the option for New>Android Project. It would be nice to have an interactive batch file to run with all the steps you show in your video. I may need to run it at a slower speed. Thanks!
@muhammedaliaydin4984
@muhammedaliaydin4984 Жыл бұрын
There are other works that install as a script. I do something different; I wanted to show you what works under the hood. I thank you for your interest.
@reccann
@reccann Жыл бұрын
merhaba emeğiniz için teşekkürler bir sorum olacak (videonuzda gösterildiği gibi lazarus'u kurdum ve gayet stabill çalışıyor ama apk icon neden değiştiremiyorum) yardımcı olurmusunuz?
@ravascon
@ravascon 2 жыл бұрын
Teşekkür ederim!
@muhammedaliaydin4984
@muhammedaliaydin4984 2 жыл бұрын
Glad we could be helpful 😊
@Abrikos_
@Abrikos_ 2 жыл бұрын
I did everything as in the instructions, but I get the error "Compiler does not support target aarch64-android". Can you please help me figure out what the problem is?
@muhammedaliaydin4984
@muhammedaliaydin4984 2 жыл бұрын
I will gladly help. There is a problem somewhere, can you send a screenshot?
@bibliotecamunicipaljoaoxxi1154
@bibliotecamunicipaljoaoxxi1154 11 ай бұрын
Pô! Mais fácil aprender Python, Java e C++ do que fazer isso aí...kkk
@AlmirBispo-CSV-Comp-DB
@AlmirBispo-CSV-Comp-DB 3 ай бұрын
Não é não.
@CaptPookem
@CaptPookem 2 жыл бұрын
thanks
@muhammedaliaydin4984
@muhammedaliaydin4984 2 жыл бұрын
I thank you
@edgardpc6378
@edgardpc6378 4 ай бұрын
Música from favelas
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 677 М.
Deploying to Android with FreePascal and Lazarus
41:55
ChapmanWorld
Рет қаралды 18 М.
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 2,7 МЛН
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 16 МЛН
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 6 МЛН
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 660 М.
My thoughts on framework after daily driving it for 2 years
16:34
Louis Rossmann
Рет қаралды 717 М.
Создаем свое ANDROID приложение на PYTHON
13:55
Чёрный Треугольник
Рет қаралды 212 М.
What’s Up with Laravel? It’s Everywhere, and Here’s Why!
6:22
Monster magnet meets microwave magnetron...
17:44
Brainiac75
Рет қаралды 49 М.
The Truth About SIM Card Cloning
13:04
Janus Cycle
Рет қаралды 1,1 МЛН
How I Coded An Entire Website Using ChatGPT
18:22
Nick White
Рет қаралды 1,9 МЛН
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 2,7 МЛН