Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Could not find an installed version of Gradle either in Android Studio, or on your system to install the gradle wrapper. Please include gradle in your path, or install Android Studio #11591
I'm submitting a ...
Could not find an installed version of Gradle either in Android Studio, or on your system to install the gradle wrapper. Please include gradle in your path, or install Android Studio
ionic run android --prod must build and run on device connected
Did you do as suggested by the error message?
You need to install Android Studio make sure it's in your
Here is the solution I found for Mac
Download the Gradle Binary Only Distribution from https://gradle.org/gradle-download/
Open a terminal
unzip ~/Downloads/gradle-3.1-bin.zip -d ~/Development
Here are the steps for windows:
I am using Linux Mint 18 Cinnamon and was experiencing the same problem. The problem was happening even though I have an ionic 1 setup and Android that is building with no issues.
I resolved it by installing gradle
This issue is closed currently, but it still does not seem to work without explicit installation of Gradle.
This setup works smoothly for Android native apps development (via Android Studio) but I am still getting error when trying to build ionic based project when trying to compile it with
On macOS, if you'd prefer to avoid installing an extra copy of Gradle, you can simply use the tooling installed by Android Studio by adding the following to your
Note: in the future, you'll likely need to change the version above from
Thanks to @bitjson I could configure the .bash_profile to be:
And this command (I was gettind EACCESS error):
(Mac OS X + Ionic + NodeJS = last versions)