Category "gradle"

Unexpected lock protocol found in lock file. Expected 3 found 0

In android studio I keep getting this error message when building. I've tried deleting the .gradle file multiple times and restarting the IDE but the error do

AppDistribution Gradle plugin with Gradle 7

I am using Android Gradle Plugin version 7.0.0-alpha14 and Gradle version 7.0 and when I try to upload the app to app distribution through the Gradle plugin ver

JCenter deprecation; impact on Gradle and Android

Should I be worried about JCenter being deprecated? Why should I migrate my libraries from JCenter to other Maven repositories? Can I continue to use jcenter()

Execution failed for task ':app:processDebugResources'. failed to execute aapt

In Android Studio I have this error when I update Android SDK Tools to version 25: I tried to modify SDK version in gradle build to 21 to execute my app but

How to reduce my java/gradle docker image size?

I have a Docker file like the following: FROM openjdk:8 ADD . /usr/share/app-name-tmp WORKDIR /usr/share/app-name-tmp RUN ./gradlew build \ mv ./build/l

Using gradle project variable in buildscript scope

There is a similar question here Access project extra properties in buildscript closure but i found a "workaround" which does not look like the optimum I have

MainActivity.java - cannot find symbol reactRootView.setIsFabric(BuildConfig.IS_NEW_ARCHITECTURE_ENABLED)

I've upgraded react-native to latest version (0.68) through react-native CLI, and now every time I'm trying to build for android I get this error: error: cannot

artifactId equivalent in Gradle?

I see in my default build.gradle, generated by IDEA, that group and version were set with: group 'com.mycompany.mytopic' version '1.0-SNAPSHOT' How to set ar

Gradle sync failed: CreateProcess error=216

I am running windows 7 32bit. I have upgraded from Android Studio from 1.5 to 2.2 and started following problem. I tried creating project but it didn't fix the

\gradle-wrapper.properties not found in Android Studio

\gradle-wrapper.properties not found in Android Studio I have cloned a git project and I am getting the below issue. How to resolve it?

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