Category "gradle"

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

Cannot resolve class com.github.mikephil.charting.charts.BarChart, MPAndroidChart

What's going on? Got all guide but I have this error. Class referenced in the layout file, com.github.mikephil.charting.charts.BarChart, was not found in the pr

Gradle cannot resolve dependencies

In my project, I include sources of the Gradle plugin directly (for testing purposes), so when resolving the plugin's dependencies, Gradle uses only gradlePlugi

Conditionally Change a Gradle Property Based on a Provider Value

I'm writing a Gradle convention plugin that uses Gradle's Lazy Configuration APIs to configure tasks. In one case, the plugin needs to conditionally change the

Execution failed for task ':react-native-camera:compileDebugJavaWithJavac'

I am creating app using React-Native and testing it on Android device. After adding react-native-camera module, the following error occurs: org.gradle.api.task

Unable to find Groovy method when building Rhino with Intellij IDEA

While trying to build https://github.com/mozilla/rhino, I'm getting Unable to find method on org.codehaus.groovy.runtime.StringGroovyMethods. so the build fails

No signature of method: build_9to1cg5tnfrkz8e8n77tajtyd.android() is applicable for argument

I am receiving an error on my flutter app. Build file 'D:\Projects\friendlysoul\android\app\build.gradle' line: 29 A problem occurred evaluating project ':app'.

Jacoco in Android project - what am I missing?

Seemed like adding Jacoco to an Android project would be a straightforward process, but so far it's been nothing but pain. Having tried a few guides to getting