Category "gradle"

Android Studio Build gradle OutOfMemoryError

I'm new in Android. I import Github project in Android studio, but i see this problem `Error:java.lang.OutOfMemoryError: Java heap space Error:java.lang.Out

Bazel build on cycle in dependency graph error

I am doing a bazel build for my project,i created a java_library rule and used at different places. but I am having this cycle in dependency graph: ERROR:

Failed to query the value of property 'packageName'

I am running React-Native 0.63.4 and encountering the following error: Execution failed for task ':app:generateDebugBuildConfig'. > Failed to calculate the v

The 'kotlin-android-extensions' Gradle plugin is deprecated

with the Gradle version 6.2 and Android studio version 4.0.1, I have the deprecation message for the Kotlin-android-extention. any body has any idea how to fix

how to add to settings.gradle in cordova

This is the same question I am to new to comment on it to see if he found a answer Cordova is generating a new settings.gradle file when you run "cordova build

Gradle can not compile the code with the generated sources by annotationProcessor

How to make the gradle build/compile a project using generated source by annotationProcessor? I have a project with 2 modules app-annotation -> is a module t

Cordova build changes distributionUrl in gradle-wrapper.properties file

I keep getting the following build exception when I run cordova run android --verbose What went wrong: A problem occurred evaluating root project 'android'

gradle classes are not generated

I am trying to convert my project to gradle and unable to get the class files generated under build folder. Here is the build.gradle file: import org.gradle.in

Gradle error : Server returned HTTP response code: 403 for URL: http://services.gradle.org/distributions/gradle-2.2.1-all.zip

I have this error in the apps that I'm currently building on: C:\mobile\xtern_mobile\ST>cordova run android ANDROID_HOME=C:\Users\myPC\AppData\Local\Android\

Error "Gradle sync failed: Connection refused: connect"

So I just installed Android Studio again after a long time and it asked me to configure the proxy, so I did. I tested the connection and it worked. Then it aske

How to find/remove unused dependencies in Gradle

I wanted to find unused dependencies in my project. Is there a feature for this in Gradle, like in Maven?

Flutter: Could not compile build file 'build.gradle', General error during semantic analysis: Unsupported class file major version 57

I try to develop an app using Flutter. Everything is OK when I initiate my app, it runs perfect for 2 days. But when I had an error writing my widgets, I restar

flutter android gradle error with flutterdownloader

I have implemented flutterDownloader (its a package for downloading files in flutter ) in my project and when I add it to android manifest like the doc says and

android gradle Received invalid response from the daemon

My project gradle is in building situation on the other hand i pushed the code on bitbucket after pushing when i come back to android studio this error comes

How do I create an executable fat JAR with Gradle with implementation dependencies?

I've got a simple project in Gradle 4.6 and would like to make an executable JAR of it. I've tried shadow, gradle-fatjar-plugin, gradle-one-jar, spring-boot-gra

Static methods in interface require -target:jvm-1.8

I'm building scala project using gradle 4.5, scala 2.11.11/2.12.4 with JDK 1.8.0_162 and it was working fine until I upgrade to scala 2.11.12. With 2.11.12 I ke

Gradle: Building a modularized library that is compatible with Java 8

So Java 9 is there, soon to be followed by Java 10. Time we should make our libraries ready for use in Java 9 projects. I did it in the following way: provide

Gradle - "Changes are not tracked, unable determine incremental changes."

When running my LibGDX desktop project I sometimes get this error: Changes are not tracked, unable determine incremental changes. I've tried using Java 8 and 17

Gradle - How to execute command line in doLast and get exit code?

task executeScript() { doFirst { exec { ignoreExitValue true commandLine "sh", "process.sh" } } doLast {

Changing .BuildConfig package

Is there a way to dynamically change the package of the generated file .BuildConfig? I want to use build.gradle file to use the applicationId and change the pa