Quantcast
Channel: Gradle Forums - Latest posts
Browsing all 19850 articles
Browse latest View live

Cannot Build Cordova Project

So I got on today and suddenly my project wouldnt build. Got an error saying JDK was too new, replaced out the right JDK and then I got a Gradle error. So, I installed gradle and now I get this. PS...

View Article


Cannot Build Cordova Project

Also “Build Successful” is a lie, there is no APK file.

View Article


Cannot Build Cordova Project

PS C:\Users\Admin\new1\hello> cordova build android Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=undefined (recommended setting) ANDROID_HOME=C:\Users\Admin\AppData\Local\Android\sdk...

View Article

Java 11 - Test Detection Logic - initializationError

I was able to resolve the problem. Firstly, I verified in a simple HelloWorld project that the failures I noted in my original post happen with gradle 4.10.3 with sourceCompatibility set to 11 (but...

View Article

Gradle Daemon does not execute Build on MacOS

I have kind of a strange problem with Gradle daemon on MacOS. When I start a gradle Build (doesn’t matter if 5.5 or 6.0.1) it prints this: Starting a Gradle Daemon, 1 busy Daemon could not be reused,...

View Article


Image may be NSFW.
Clik here to view.

Windows 7 installation error "Could not extract native JNI library"

Trying to install gradle in windows 7 but when I do gradle -v in the command prompt I get the following error: I installed gradle from the gradle.org official page manually extract it to c:\gradle...

View Article

Gradle build cache key

I’m also very interested in the build cache key. I would like to leverage caching using Nix (purely functional build system).

View Article

Gradle tooling API

Hi Guys, I am in seek of some help. I am using Eclipse as an IDE and what I am trying to do is to use “org.gradle.tooling.GradleConnector” in order to connect my gradle api program with an Android...

View Article


Compiling generated Java sources

Hello! I got stuck with a problem, which I could not solve on my own, although it does not seem to be very exotic. I have tried solutions based on the docs and the suggested topics here, but could not...

View Article


Compiling generated Java sources

Just solved it, I really missed something. I had to replace java { sourceSets["main"].java { "build/generated/sources/srcgen" } } by java { sourceSets["main"].java {...

View Article

Using Gradle as a bootstrapper for programs

Sometimes your build has a dependency to some program during execution. For example, a TeX distribution to compile the documentation. I’d like to use Gradle to bootstrap such programs globally on the...

View Article

Gradle Daemon does not execute Build on MacOS

Running with --no-parallel and --no-daemon produces this: ./gradlew build --no -parallel --no-daemon --stacktrace To honour the JVM settings for this build a new JVM will be forked. Please consider...

View Article

Gradle build cache key

Perhaps you could wrap the default build cache in a simple wrapper that allows querying the cache keys? See Implement your own Build Cache and BuildCacheService

View Article


Getting an error on running flutter application

The error I was getting: ProcessException exited abnormally… Finished with error: ProcessException: Process “D:\Projects\FlutterAndroidProjects\Calculator\calculator\android\gradlew.bat” exited...

View Article

Gradle Daemon does not execute Build on MacOS

I found out, that when disabling my firewall (ESET) the communication between the Gradle Wrapper Main process and the gradle daemon starts working again. The workaround is to disable the firewall. I...

View Article


Gradle clean task fails in gradle [version 5.6.4 and 6.0.1]

The first thing to try is using the simplest command possible ./gradlew clean from the root project. If that doesn’t work try stopping all daemons with ./gradlew --stop becore cleaning. If that...

View Article

Gradle have to have improve creation of caches [version 5.6.4]

What makes you believe the long class names are an issue for Gradle? Are you having problem where the JVM would throw exception because of long path issue on Windows? If so, try moving your project to...

View Article


Compiling externalNativeBuild ABIs in Parallel

I’ve got an Android project that uses the NDK. We target four ABIs. Our new build machine has lots of cores, so the time it takes to build the individual ~200 or so files (in parallel, passing...

View Article

Ant to Gradle migration

No jendrik, will have a look.

View Article

How can i use value of variable in gradle from file.java

Can i use a property or variable declared in Java classe , in build.gradle ! Or can i send a data from Java to gradle ???

View Article
Browsing all 19850 articles
Browse latest View live