Posts

Showing posts from March, 2025

Clone GitHub repository to SourceTree

Image
To clone a GitHub repository to SourceTree , follow these steps: Step 1: Copy the Repository URL Go to the GitHub (or any Git hosting platform) repository page. Click the green "Code" button. Copy the HTTPS URL (or SSH URL if you have SSH set up). Step 2: Open SourceTree Open SourceTree on your computer. Step 3: Clone the Repository Click on "Clone" from the top menu. In the "Source URL" field, paste the URL you copied. Choose a "Destination Path" (the folder where you want the repo to be saved). Click "Clone" .  

React Native

Image
 Install React Native Project Step-by-Step Solution: Step 1 : Install Java Development Kit (JDK) React Native requires the Java Development Kit (JDK) to build the Android app. - Download and install the JDK from the official Oracle website or use AdoptOpenJDK : Oracle JDK : Download Oracle JDK AdoptOpenJDK : Download AdoptOpenJDK -After installation, you need to configure the environment variables for Java. Step 2 : Set Up Java Environment Variables On macOS, you can configure Java environment variables in your .bash_profile or .zshrc (depending on your shell). Open your terminal and open your shell profile: For bash : nano ~/.bash_profile For zsh (default on newer macOS versions): nano ~/.zshrc Add the following lines to set the Java environment variables (adjust the path to where JDK is installed): export ANDROID_HOME=/Users/ionut/Library/Android/sdk export PATH=$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools:$ANDROID_HOME/cmdline-tools/latest/bin:$PATH Save the file ...