Skip to content

Instantly share code, notes, and snippets.

@joaquinicolas
Last active September 6, 2025 17:57
Show Gist options
  • Select an option

  • Save joaquinicolas/c268882c00394e53a4e53944d6e28a69 to your computer and use it in GitHub Desktop.

Select an option

Save joaquinicolas/c268882c00394e53a4e53944d6e28a69 to your computer and use it in GitHub Desktop.

Revisions

  1. joaquinicolas revised this gist Dec 9, 2020. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions react-native-arch.md
    Original file line number Diff line number Diff line change
    @@ -1,16 +1,16 @@
    #Install jdk 8
    # Install jdk 8

    ```
    sudo pacman -S jdk8-openjd
    ```

    ##Set jdk-8 as default
    ## Set jdk-8 as default

    ```
    sudo archlinux-java set java-8-openjdk
    ```

    #Install yay
    # Install yay

    ```
    git clone https://aur.archlinux.org/yay.git
    @@ -22,18 +22,18 @@ makepkg -si
    ```
    yay -S android-sdk android-sdk-platform-tools android-sdk-build-tools
    ```
    ##Give permissions over Android sdk folder
    ## Give permissions over Android sdk folder

    ```
    sudo chmod -R 777 /opt/android-sdk
    ```
    ##Accept sdk licenses
    ## Accept sdk licenses

    ```
    opt/android-sdk/tools/bin/sdkmanager --licenses
    ```

    [OPTIONAL]:Update watchers limit
    # [OPTIONAL]:Update watchers limit

    ```
    echo "fs.inotify.max_user_watches=524288" >> /etc/sysctl.conf
  2. joaquinicolas renamed this gist Dec 9, 2020. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. joaquinicolas created this gist Dec 9, 2020.
    41 changes: 41 additions & 0 deletions react-native-arch
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,41 @@
    #Install jdk 8

    ```
    sudo pacman -S jdk8-openjd
    ```

    ##Set jdk-8 as default

    ```
    sudo archlinux-java set java-8-openjdk
    ```

    #Install yay

    ```
    git clone https://aur.archlinux.org/yay.git
    cd yay
    makepkg -si
    ```
    #Install android tools

    ```
    yay -S android-sdk android-sdk-platform-tools android-sdk-build-tools
    ```
    ##Give permissions over Android sdk folder

    ```
    sudo chmod -R 777 /opt/android-sdk
    ```
    ##Accept sdk licenses

    ```
    opt/android-sdk/tools/bin/sdkmanager --licenses
    ```

    [OPTIONAL]:Update watchers limit

    ```
    echo "fs.inotify.max_user_watches=524288" >> /etc/sysctl.conf
    sudo sysctl -p /etc/sysctl.conf
    ```