Open your web browser and go to Akhilnarang Scripts.
Clone the entire repository by running the following command in your terminal:
git clone https://github.com/akhilnarang/scripts
Navigate to the cloned repository by running the following command:
cd scripts
Depending on your Linux distribution, execute the appropriate command below to set up the necessary dependencies for your build environment:
For Ubuntu and Debian-based distributions, run:
bash setup/android_build_env.sh
(This is the recommended option for beginners to avoid any potential issues.)
For Arch-based distributions (e.g., Manjaro), run:
bash setup/arch-manjaro.sh
For Fedora, run:
bash setup/fedora.sh
For OpenSUSE, run:
bash setup/opensuse.sh
For Solus, run:
bash setup/solus.sh
Wait patiently while all the dependencies are being installed.
Add it to PATH
nano .bashrc
# Export ~/bin export PATH=~/bin:$PATH
source
the file:source .bashrc
Verify the installation of the build tools by checking their versions:
git --version
.make --version
.zip --version
.curl --version
.gcc --version
.g++ --version
.Congratulations! Your build environment is now fully set up and ready to use. Enjoy building!