Set Gradle Home Path In Mac
Install gradle and configure gradle home on a mac.
Set gradle home path in mac. Extract the archive into an appropriate location. Open a second file explorer window and go to the directory where the gradle distribution was downloaded. After that add the c gradle and c gradle bin directories to the gradle home and path system variables. Double click the zip archive to expose the content.
Open terminal check if gradle installed gradle version if so goto step 4 if not brew install gradle and goto step 2 copy usr local opt gradle libexec paste it in import project window in android studio gradle home important celebrate. Drag the content folder gradle 6 5 1 to your newly created c gradle folder. You can also run ls al to list all files under your home directory. If you put your path in profile or etc profile d it will be available to your complete desktop session.
Run cd in terminal to go to current user home directory. Hi all i tried the above sequence of steps below output. Both solutions will take effect after your next login. Then execute ls l bash profile to make sure that file is exist.
Please change path to your gradle in my examples with your actual gradle path. For mac os you can use the following usr local opt gradle libexec or more generically path to gradle libexec this is recommended. The first path is what s achieved after installing gradle via homebrew. Execute vim bash profile command in terminal and add below export command in it.