The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [gradle]

a project automation tool that builds upon the concepts of Apache Ant and Apache Maven and introduces a Groovy-based domain-specific language [DSL] instead of the more traditional XML form of declaring the project configuration.

Filter by
Sorted by
Tagged with
0
votes
0answers
41 views

How to update the gradle dependencies for the 3.5 version?

I already have the gradle 3.5 version. I upgraded the gradle to v5.4.1, but needed the v3.5 , So i removed the 5.4.1 and now i have v3.5. When i run gradle clean, it's showing ~$ gradle clean ...
3
votes
0answers
844 views

How to fix Android Studio installation and Gradle errors?

I have installed Android Studio with the idea of developing applications with Cordova and Phonegap thanks to the help of my partner @karel who showed me this question: How to install Android Studio on ...
0
votes
0answers
1k views

docker: Got permission denied while trying to connect to the Docker daemon socket

on the Ubuntu 18.04 system I have cloned a project and to run it needs gradle but at running the gradle command gradle swiplRun I get the following error Task :dockerRun FAILED docker: Got ...
1
vote
0answers
34 views

How can I run a gradle build across multiple servers?

Our team has a gradle multiproject consisting of well over 100 projects and growing. This causes two problems: The box we run gradle build on does not have enough disk space to store all the ...
1
vote
0answers
410 views

Could not load hsdis-arm.so; library not loadable; PrintAssembly is disabled

I am using a beaglebone black with ubuntu bionic(armv7hf) and I'm trying to run: gradle However, I am getting the following error # # A fatal error has been detected by the Java Runtime Environment:...
0
votes
1answer
1k views

Ubuntu/Cordova/Android SDK: AVD Target not showing

A Web Developer trying to create android app using Ubuntu 18.04 with Cordova (v.8.0.0) requirements show: Android Studio project detected Requirements check results for android: Java JDK: ...
0
votes
1answer
828 views

What are android SDK and Gradle path?

I installed android sdk with terminal and it installed completely and now I need its path. There was no "android/sdk" folder in home. I searched and found sdk in /usr/lib/android-sdk. I also installed ...
3
votes
1answer
14k views

How to install gradle and gradlew?

I'm having a problem installing gradlew... I can use the gradle command by simply typing "gradle" in the Terminal, but "gradlew" doesn't do anything. I installed gradle using sudo apt install gradle ...
21
votes
5answers
34k views

17.10 openjdk and oracle jdk 8 and 9 the trustAnchors parameter must be non-empty

I've just installed 17.10 in a fresh VM. Trying to set up a development environment, when I run gradle or ./gradlew I get the following error: * What went wrong: Error resolving plugin [id: 'com....
39
votes
3answers
44k views

How do I upgrade Gradle?

This shows that Gradle is up to date: thufir@doge:~$ sudo apt install gradle Reading package lists... Done Building dependency tree Reading state information... Done gradle is already the ...
0
votes
1answer
257 views

Android Studio error after installing

I am using ubuntu 16.04 and after installing android studio and initializing project it is showing error failed to load zip file Gradle dependencies cache may be corrupt clicking on the blue link is ...
1
vote
1answer
3k views

Package is installed and is not detected. (gradle)

I installed gradle by typical way: sudo apt install gradle Reading package lists... Done Building dependency tree Reading state information... Done gradle is already the newest version (3.5-...
0
votes
0answers
1k views

Android Studio automatically starts downloading gradle-3.3-all.zip file from the gradle services and stops when launching a project

When i open a project in android studio in my ubuntu terminal, it automatically starts downloading gradle-3.3-all.zip file from services.gradle.org and hangs my computer. Can someone please solve the ...
2
votes
2answers
112 views

Why is $HOME being set incorrectly

I'm stuck in a login loop because: My $HOME variable is being set incorrectly when I login. I logged into a shell via ttty1 and echo $HOME returned /usr/local/gradle .bashrc or .bash_profile isn't ...
11
votes
0answers
4k views

Gradle or Android Studio freezes Ubuntu

I've got a problem with my Android Studio/Gradle regularly freezing my entire system. What happens? I work on my Android Studio and at first everything is ok. For approx 5 - 10 builds/deploys ...
0
votes
2answers
5k views

Why building of gradle can't be finished?

I have everything updated to latest versions. I checked JDK - it works, I have installed these packages: lib32z1 lib32ncurses5-dev lib32stdc++6 libncurses5:i386 libstdc++6:i386 zlib1g:i386. When I ...
1
vote
0answers
784 views

android studio -gradle build not finishing

I installed android studio for the first time and tried to use windows installed java sdk here but that produced many errors..So i deleted that folder and installed the java sdk for ubuntu from sdk ...
1
vote
1answer
477 views

Intellij Idea keep deleting project files

I have a project, it is a Gradle project, and everytime I close Intellij it deletes the src files, they still exist in the directory just not in the idea project.
1
vote
1answer
945 views

Cannot download zip files

I cannot download from this link https://services.gradle.org/distributions/gradle-2.4-all.zip in Firefox and Chrome in my Ubuntu 15.10. Actually, I faced this problem in Android Studio while opening a ...
7
votes
1answer
28k views

Intellij Idea Community Edition, cannot set `Gradle home`

I installed Gradle from the repository. Then I downloaded Intellij Idea Community Edition from the official website and installed it. I set the Java JDK and now I am trying to open a Gradle Project, ...
0
votes
1answer
854 views

Android Studio ignoring environment variables

I had an issue with Gradle which I have fixed by adding export JAVA_OPTS="-Djava.ext.dirs=" to my .bashrc (also tried adding to .profile and /etc/environment but to no avail) Gradle now functions ...
1
vote
3answers
5k views

Gradle executing tasks runs forever

Recently, I've downloaded latest android-studio for Ubuntu. The problem is, it takes forever when it start compiling. The error message says, Gradle executing tasks But, when i stop android studio, ...
1
vote
1answer
700 views

Can't log in after trying to set environment variables

So I added a file called gradle.sh to /etc/profile.d/ that had the following lines: export GRADLE_HOME=/home/gradle/ export PATH=$PATH:$GRADLE_HOME/bin I restarted my machine, so that it would pick ...
0
votes
1answer
2k views

How to build openjfx on ubuntu 14.04?

I have been trying to build openjfx on Ubuntu 14.04 but i'm receiving error gradle tasks :buildSrc:clean :buildSrc:generateGrammarSource :buildSrc:compileJava /home/nika/openjfx/rt/buildSrc/src/main/...
0
votes
1answer
562 views

Libgdx, gradle integration, drag and drop

I'm trying to install the Gradle plugin for Eclipse in Ubuntu 14.04 from this link https://marketplace.eclipse.org/content/gradle-integration-eclipse But i'm unable to drag and drop to Eclipse. How ...
2
votes
3answers
20k views

Gradle finds wrong JAVA_HOME even though it's correctly set ubuntu 13.10

I have just installed gradle from the terminal sudo apt-get install gradle After finishing am trying to run the command gradle -v I get the following error ERROR: JAVA_HOME is set to an invalid ...
4
votes
1answer
5k views

Gradle compiling slows down my computer

The responsiveness is really bad on a newly installed Ubuntu 14.04 LTS. Here's the specs of my laptop: Quadcore Intel i7-4600U CPU @ 2.10GHz 12GB Ram 1TB Samsung EVO SSD And when gradle is ...
63
votes
5answers
51k views

Gradle in Ubuntu for Launchpad

It appears that Ubuntu doesn't have new versions of Gradle in their repositories for some reason. I need it for a project that will be build by Launchpad. What should I do about this?