Category "gradle"

Intellij - Gradle - Unable to build - Failed to apply plugin [id 'org.ajoberstar.grgit']

I am working on Intellij 2019.2.4 with Java 11.0.13 JDK and gradle 7.3.3 in settings. Gradle-wrapper.properties file has - distributionUrl=https://services.grad

NoClassDefFoundError: Failed resolution of: Landroidx/tracing/Trace

When I start a basic androidTest my app crashes: @Test fun myTest() { val scenario = ActivityScenario.launch(MainActivity::class.java) // ... } This is

How or Where Cordova platform add android get the minSdkVersion value?

Good day, I have a cordova mobile project, and I using "cordova platform add android" command to add my android platform. In my config.xml, I set the minSdkVers

Can't import any library to Android Studio and Gradle Failed to Resolve

I have tried these two libraries in order to make Image Zoomable, but I'm facing the same problem. This is the error message Failed to resolve: com.github.Mike

What can i do to not re-run gradle spring boot application again and again

I've one gradle spring boot project. Even if i'd to put one log at some place. It requires re-run of the application. Is there anyway to add these type of chang

Android Gradle Plugin 7.1.3, Plugin [id: 'com.android.application', version: '7.1.3', apply: false] was not found in any of the following sources [closed]

Since I upgraded my project to Android Gradle Plugin 7.1.3, I can't build it anymore. Error : Plugin [id: 'com.android.application', version:

ClassNotFoundException using localstack and aws sdk v2 withs3

I am trying to implement s3 using localstack using aws sdk 2 Caused by: java.lang.ClassNotFoundException: com.amazonaws.auth.AWSCredentials Gradle implement

Caused by groovy.lang.MissingPropertyException Could not get unknown property 'android' for project ':lib1' of type org.gradle.api.Project

To solve my problem here: Applying JaCoCo to all Android Studio gradle modules, I applied the solution here. This works fine so far for modules with plugins {

how to ref version catalog in apply block

I want to declare in the apply block of the parent module's build.gradle file to apply the plugin to eligible submodules(use the version catalog at the s

Why is JAVA version not detected? Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8

I am trying to build app in App Center. Build.gradle buildscript { ext.kotlin_version = "1.5.30" repositories { google() mavenCentral()

How to fix gradle error in flutter project

I am getting this gradle error when running flutter project: I am using code from github for flutter pdf view and also using firebase for it. Launching lib\main

How to find out the packages that should be shadowed?

I am using Gradle to create an uberjar. I want to shadow the packages as the App where I plan to use this uberjar might use the same packages with different ver

Maven api pulish with Gradle 7.2

I want to publish an Android in jitpack.io but api dependencies are missing, that's why I use with Gradle 7.2 this project.afterEvaluate { publishing {

Android Studio Arctic Fox - projects not building after update

After updating android studio to current latest (2020.3.1.24) I'm not able to open any file/class/document inside it, run or build the project. Creating new pro

Graalvm not found within Java application

I have an Apache Tomcat servlet in which I would like to run some other language - for this purpose, I would like to try to get Graalvm functionality working wi

React Native [0.66.4][Android] - Direct local .aar file dependencies are not supported when building an AAR

I'm using a react-native library, and when I'm trying to Rebuild project on Android Studio, I get the below error - Direct local .aar file dependencies are not

Fastlane android building: index.android.bundle missing

I am building an app bundle (.aab) for our react native app. When I build via Android Studio, app builds, deploys to Play Store. I download and run - everything

Multiple errors when importing Gradle project

I wanted to read the source code of a java project, so I cloned the project into a directory, and opened it in VSCode. The project used gradle as a dependency m

ionic angular project my build failed ... error

build error hey guys I am stucked with the build error for many days please help me regarding this error I have tried upgrading gradle version and android gra

Shell script in Gradle build: java.io.IOException

I have the following lines in my build.gradle file of my Android project: "./prebuild.sh".execute() But during the build I get this error: java.io.IOException: