Upgrade your android related libraries

  • I would suggest while compiling your android app use “Yarn” as a pkg manager.
  • Before you start using Yarn, you’ll first need to install it on your system. There are many different ways to install Yarn, but a single one is recommended and cross-platform:
  • It is recommended to install Yarn through the npm package manager, which comes bundled with Node.js when you install it on your system.
  • Once you have npm installed you can run the following both to install and upgrade Yarn:
  • Check that Yarn is installed by running:
  • Upgrading Node.js to the latest version

  • Download the Latest Node.js from nodejs.org/en/download
  • Windows
    • The module n makes version management easy:
    • For the latest stable version:
    • For the latest version:
  • Mac
    • If you originally installed Node.js using brew then run:

    •  
  • Gradle Installation

    1. Download the latest Gradle distribution

    2. Unpack the distribution
      • Mac user
      • Windows user
      • Create a new directory C:\Gradle with File Explorer.Open a second File Explorer window and go to the directory where the Gradle distribution was downloaded. Double-click the ZIP archive to expose the content. Drag the content folder gradle-7.5.1 to your newly created C:\Gradle folder.Alternatively, you can unpack the Gradle distribution ZIP into C:\Gradle using an archiver tool of your choice.
    3. Configure your system environment
      1. Mac user
      2. Windows user
        In File Explorer right-click on the This PC (or Computer) icon, then click Properties -> Advanced System Settings -> Environmental Variables.Under System Variables select Path, then click Edit. Add an entry for C:\Gradle\gradle-7.5.1\bin. Click OK to save.
    4. Verify your installation
    5. Upgrade with the Gradle Wrapper
      1. If your existing Gradle-based build uses the Gradle Wrapper, you can easily upgrade by running the wrapper task, specifying the desired Gradle version:


         
    6. Android SDK
      1. https://stackoverflow.com/questions/34532063/finding-android-sdk-on-mac-and-adding-to-path

 

Updated on Mar 28, 2023