Рет қаралды 5,409
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.