Category "gradle"

sdkmanager throws Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema

I am on MacOS, installed the JDKs 8 ( LTS ) from AdoptOpenJDK to get the android environment up and running and that worked fine! brew cask install adoptopenjdk

After fixing "Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8" Android studio emulator still doesn't work

I got an error "Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8" I change it in IDE settings and JAVA_HOME environment variabl

Error "Minimum supported Gradle version is 7.0.2. Current version is 6.8." in Android Studio

An error occurred after I downloaded version 6.8 and the latest version of Gradle. A problem occurred evaluating project ':launcher'. < Failed to apply plug

com.android.build.gradle.LibraryExtension_Decorated cannot be cast to (.....).BaseExtension

Objective :
I have developed Test for CodeCoveragePluginForAndroidConnectedTest . Steps to reproduce error : ./gradlew clean build A problem occurred eval

Android app won't build -- The minCompileSdk (31) specified in a dependency's androidx.work:work-runtime:2.7.0-beta01

I'm trying to build a project in my M1, but I got this error when I run npx react-native run-android FAILURE: Build failed with an exception. * What went wrong

gradle multiple repositories doesn't work

repositories { maven { url "https://maven.aliyun.com/repository/gradle-plugin" } gradlePluginPortal() } error: > Could not resolve all files for c

Make test task for kotlin incremental in Gradle?

I would like to make my test task incremental, but I noticed that it looks for files in java instead of kotlin: Task ':test' is not up-to-date because: Task.u

Could not find guice-4.2.1-no_aop.jar

Could not find guice-4.2.1-no_aop.jar on a newly initialized quarkus project, not sure why we see this error. Source code is available here - https://pastebin.c

How can I pass tags when starting a cucumber android run using Gradle?

I have a suite of cucumber android tests (they are instrumented tests) and I run them using gradlew connectedCheck. What I'm trying to do is run only certain ta

Gradle: compileOnly and runtimeOnly

I'd read the documentation but I'm not able to understand how to create a working example to understand better their differences. And ofc I've created a play

Unable to import any library in Android Studio after updating it to Chipmunk

I have recently updated my Android Studio to Chipmunk and I am unable to import any library in it. Here is my build.gradle project level file. App level build

unrecognized Attribute name MODULE (class com.sun.tools.javac.util.SharedNameTable$NameImpl)

I received this build error having updated my native android project to Android S (Pre release of android 12). Googling for the error threw up no valuable hits.

Gradle is not resolving any dependencies

I have a Gradle java project. When I tried to import/ open, I am getting dependency can't be resolved error. Initially I tried with IntelliJ, so doubt IntelliJ

android.useAndroidX property is not enabled, why it should be?

I am having an issue with androiDx libraries, so when I am adding shimmer library into my projects or glide photo library or when i update the google play servi

Error "$flutterSdkpath\packages\flutter_tools\gradle\app_plugin_loader.gradle" while running the app

I am facing an issue while running the app. My flutter details are: Flutter Version: 1.12.13+hotfilx.9 Doctor summary (to see all details, run flutter doctor

Mapbox SDK Registry Token is null

I'm experiencing issues installing mapbox_gl plugin on my flutter app... I did follow the official instrctions from there : https://pub.dev/packages/mapbox_gl B

flutter problem: "Could not resolve all files for configuration ':classpath'."

I run simple flutter "show random word" project but i have this error: this is my gradle-wrapper.properties file: #Fri Jun 23 08:50:38 CEST 2017 distributionBa

Gradle cucumber error in command-line - command 'C:\Java\jdk-17\bin\java.exe'' finished with non-zero exit value 1

When I run cucumber test from IntelliJ terminal commandline and get subject error: λ gradlew cucumber

Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'. In React Native

I got this problem when I build my app in release mode using App Center. * What went wrong: Could not determine the dependencies of task ':app:compileReleaseJa

Gradle bundle import to module

I am trying to import base to a project, but I get an error. settings.gradle enableFeaturePreview('VERSION_CATALOGS') dependencyResolutionManagement { versi