Category "gradle"

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

Configuring remote Gradle Build Cache on build server

Is it possible to configure a Gradle remote cache from the command line or on the daemon? Ideally I'd like to configure our build server to use a remote cache w

Gradle multi-project only executes tests for one project

I have a multi-project gradle build with four Kotlin Multiplatform modules, two of which have tests. When I run gradle check, if any of the tests from one of th

Can't add buildFeatures to my gradle file when trying to implement viewbinding

I'm sure there's a simple solution to this and I have searched but found no clear solution. I'm trying to implement viewbinding into my Kotlin project (Kotlin /

Unable to run gradle program in command line

gradle test Task :compileJava FAILED FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':compileJava'. Could not resolve al

Move package from Android manifest to build files

My Android Studio claims that declaring the package in the manifest like this is deprecated: <manifest xmlns:android="http://schemas.android.com/apk/res/andr

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

Duplicate handling strategy error with gradle while using protobuf for java

I am using the below configuration build.gradle plugins { id "com.google.protobuf" version "0.8.17" id "java" } group "de.prerna.aws.tests" version "1.

Why copy task delete stale output on first build?

I have this kotlin gradle build script representing my use case. I am working with Gradle 6.7. This is my kotlin gradle build file: plugins { java } tasks

Could not resolve all files for configuration ':app:androidJdkImage

I am trying to build flutter apk on debug mode from android studio. Flutter run I get this error: Launching lib/main.dart on sdk gphone x86 arm in debug mode...

Missing 'name' key attribute on element activity as AndroidManifest.xml

I encounter the following error when running gradle build: Missing 'name' key attribute on element activity at AndroidManifest.xml Looking up the other stacko

Plugin 'kotlin-parcelize' not found

Google is recommending users to migrate from kotlin-android-extensions to kotlin-parcelize. However, Gradle sync fails with the following error: Plugin [id: 'ko

Starting a Gradle Daemon, 2 busy and 6 stopped Daemons could not be reused, use --status for details

When i tried to create a new gradle project with 'gradle init' it just created "infinite" gradle daemons until my memory was full and i got following error afte

Plugin [id: 'dagger.hilt.android.plugin'] was not found in any of the following sources

I get the following warning when I want to use @AndroidEntryPoint which is a property of hilt in my project. Expected @AndroidEntryPoint to have a value. Did y

Android studio - Generate signed APKs broke

I just updated my Android studio to the version 2021.1.1 Canary 12. After struggling to make it work, I had to also upgrade my Gradle and Gradle plugin to 7.0.2

NoClassDefFoundError on org.springframework.jms.listener.DefaultMessageListenerContainer on start Application

I have big Gradle project. When i ruunng application gradlew - bootRun or run Debug on InteljIdea I got exceptions java.lang.NoClassDefFoundError: org/springfr

Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes?

I am developing a news app but I am getting following errors in from gradle console (androidx.core:core:1.0.1) and classes.jar (com.android.support:support-com

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

This is my first time using Android Studio, and I'm trying to run my first Hello World app, But when I open Android Studio, and it's trying to build the Gradle,

Unexpected token in \android\build.gradle line: 14 : unexpected token: {

When trying to build the project using flutter build apk --split-per-abi I however get the following error: FAILURE: Build failed with an exception. Where: B

Flutter Android build not generating in Mac

In Mac, I've setup Flutter in Android studio. When I'm running project it gives me error * What went wrong: Execution failed for task ':location:compileDebugKot