The current Gradle release is 7.2. You can download binaries and view docs for all Gradle versions from the releases page.
To install Android Studio on your Mac, proceed as follows: Launch the Android Studio DMG file. Drag and drop Android Studio into the Applications folder, then launch Android Studio. Select whether you want to import previous Android Studio settings, then click OK. The Android Studio Setup Wizard guides you though the rest of the setup, which.
Gradle runs on all major operating systems and requires only a Java JDK version 8 or higher to be installed. To check, run java -version
:
UP-TO-DATE
, with issues crafted monthly.SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on most Unix-based systems.
Homebrew is “the missing package manager for macOS”.
Other package managers are available, but the version of Gradle distributed by them is not controlled by Gradle, Inc. Linux package managers may distribute a modified version of Gradle that is incompatible or incomplete when compared to the official version (available from SDKMAN! or below).
The current Gradle release is version 7.2, released on 17 Aug 2021. The distribution zip file comes in two flavors:
If in doubt, choose the binary-only version and browse docs and sources online.
Need to work with an older version? See the releases page.
Unzip the distribution zip file in the directory of your choosing, e.g.:
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.2
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.
Configure your PATH
environment variable to include the bin
directory of the unzipped distribution, e.g.:
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:Gradlegradle-7.2bin
. Click OK to save.
Open a console (or a Windows command prompt) and run gradle -v
to run gradle and display the version, e.g.:
If your existing Gradle-based build uses the Gradle Wrapper, you can easily upgrade by running the wrapper
task, specifying the desired Gradle version:
Note that it is not necessary for Gradle to be installed to use the Gradle wrapper. The next invocation of gradlew
or gradlew.bat
will download and cache the specified version of Gradle.
You can find all releases and their checksums on the releases page.
Command-line completion scripts are available for bash and zsh. This provides completion for Gradle tasks and command-line options.
-->The topics in this section explain how to install and configureXamarin.Android to work with Visual Studio on Windows and macOS, how touse the Android SDK Manager to download and install Android SDK toolsand components that are required for building and testing your app, howto configure the Android emulator for debugging, and how to connect aphysical Android device to your development computer for debugging andfinal testing your app.
This guide walks you through the installation steps and configurationdetails required to install Xamarin.Android on Windows. By the end ofthis article, you will have a working Xamarin.Android installationintegrated into Visual Studio, and you'll be ready to start buildingyour first Xamarin.Android application.
This article walks you through the installation steps and configurationdetails required to install Xamarin.Android on a Mac. By the end ofthis article, you will have a working Xamarin.Android installationintegrated into Visual Studio for Mac, and you'll be ready to startbuilding your first Xamarin.Android application.
Visual Studio includes an Android SDK Manager that replaces Google'sstandalone Android SDK Manager. This article explains how to use the SDKManager to download Android SDK tools, platforms, and other componentsthat you need for developing Xamarin.Android apps.
These articles explain how to setup the Android Emulator fortesting and debugging Xamarin.Android applications.
This article explains how to setup a physical Android device andconnect it to a development computer so that the device may be used torun and debug Xamarin.Android applications.
This guide describes the steps for switching to the preview release of Microsoft's distributionof the OpenJDK. This distribution of the OpenJDK is intended for mobile development.