Category "build.gradle"

Azure build error: "Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8"

When building Flutter app in azure devOps, I receive this error: Build file 'D:\a\1\s\android\app\build.gradle' line: 24 * What went wrong: A problem occurred

Flutter Error: Execution failed for task ':app:compileFlutterBuildDebug

I reinstall my flutter and trying to load my app again, but I am having trouble loading it up. I have tried for three days, even reinstalling my window and all

Many third party libraries not working with android studio bumblebee update

Recently I've updated my android studio to bumblebee. With this update, many of the libraries I've used in artic fox is not working. some of them is following:-

Gradle - A problem occurred evaluating root project (Android)

hello there I was trying to add this repository allprojects { repositories { google() mavenCentral() } } but don't know why I'm getting

How to fix this issue ? FAILURE: Build failed with an exception

I try to add a package name as new_version: ^0.2.3. After the terminal return the below error. How can I fix this? FAILURE: Build failed with an exception. Wher

Gradle dependency on classpath but not dependency tree?

I am currently upgrading an app from a lower level of Spring to 5.3.15 (as well as other jars as needed) plus making the code compatible with Java 11. However,

java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/core/view/MenuHost;

I'm making a google sign in process in my app. Whenever I open my app it crashes and gives NoClassDefFoundError I checked the logcat and found this:- ------

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

How can I bring the PAHO/Eclipse MQTT Android Service into an Android Studio Project

I am simply not able to bring the PAHO / Eclipse MQTT Android Service into an Android Studio project. The PAHO documentation advises you to add this line to app

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

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

How to build gradle project before creating a distribution?

I have a gradle 6.x project, where I use the distribution plugin to create .zip distribution. https://docs.gradle.org/6.9/userguide/distribution_plugin.html I u

cannot add navigation dependency

I am trying to Add Navigation in my project but its showing failed to add Navigation dependency, when i click on 'ok' in the window to add these now , its showi

How to fix "Android resource linking failed" error in Android Studio?

I just started learning and working with "Android Studio" software and editing a project. It took too long to figure out how to work with that. I just fixed man

How to fix ''Gradle Build Failed'' on Unity?

I'm trying to build my android app for a while and can't seem to find any solution for this problem: Image Unity Version: Unity 2020.3.21f1 (64-bit) JDK, SDK, N

Gradle UncheckedIOException

My Android Studio project worked correctly, after restart project i got this error : Caused by: org.gradle.api.UncheckedIOException: Failed to create direct

After upgrade android version getting "Duplicate class android.support.v4.app.INotificationSideChannel"

before android update 3.4 my application run perfectly but after upgrade android my application getting merging error: "Duplicate class android.support.v4.app

gradle war CopySpec “add only” (no override)

I’m trying to set up the files that are copied to my war. The source directory has 2 directories, and some of the files below them should be added to the

Flutter error Unable to start the daemon process

My flutter project is run smoothly in my old laptop. But when I use my new laptop, my flutter project can't run in debug mode. This error FAILURE: Build faile

Android Studio Failed to resolve: org.junit.jupiter:junit-jupiter:

When i try to sync my project or run a unit test it shows me the following error: Failed to resolve: org.junit.jupiter:junit-jupiter: Affected Modules: app Thes