Category "gradle"

Intellij gradle kotlin project generate .class files in both java and kotlin directory

I have a Gradle Kotlin project setup in Intellij, The source directory is as follows: src main kotlin resource test kotlin resource When I

gradle wrapper reports x86-64 architecture instead of arm-v8 architecture on Mac m1

Hello when working from a Mac m1, Gradle wrapper task reports incorrect architecture compared to gradle : Here is the result of ./gradlew clean : operating syst

What does mean these errors in Gradle?

I'm trying to assemble a Kotlin project using Gradle and I'm getting this kind of errors: Execution failed for task ':app:processProDebugResources'. > Could

What does mean these errors in Gradle?

I'm trying to assemble a Kotlin project using Gradle and I'm getting this kind of errors: Execution failed for task ':app:processProDebugResources'. > Could

Gradle Implementation vs API configuration

I'm trying to figure out what is the difference between api and implementation configuration while building my dependencies. In the documentation, it says that

Could not find com.android.tools.build:gradle:4.0.1 ( or any version )

Error : Could not find com.android.tools.build:gradle:4.0.1. Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/gradle/4.0

after upgrade flutter to version 3, my exist project is not building

i was working on project using flutter 2.10.0 version, it work fine, but after upgrade flutter to 3.0.0 version, my project is not building, it give me this err

evoking gradlew task produces never ending "....... Daemon, 1 busy Daemon could not be reused..." and add 1 to busy every line

Sorry if the question title is not quality to say the least, But i am stumped at this point. Trying to update any project i have to gradle-wrapper 6.5 and up p

Error running Cucumber tests with Gradle in IntelliJ Error

I got subject error when run cucumber api tests with Gradle via IntelliJ. Same error when runing commandline as well with gradlew cucumber ( Below is my edit co

Android Studio's project gradle file changed?

I just updated Android Studio and started a new project. But now the project grade file seems different. Here are the lines: plugins { id 'com.android.appli

Unable to find a usable idle daemon

I am trying to use Talon SRX with WPILib for First Robotics for Java in Visual Studio Code. I follow the instructions here: https://phoenix-documentation.readth

Failed to compile unsupported use of invokespecial

I'm trying to rebuild my project which I've written in JAVA but it has constantly failed with the error [CIRCULAR REFERENCE:com.android.tools.r8.errors.a: Faile

Android Studio 2.3 error: "Gradle sync failed: Cause: services.gradle.org"

After I open a new project in Android Studio 2.3, I receive an error such as: Gradle sync failed: Cause: services.gradle.org Googling just gave me a log f

Syntax highlighting for build.gradle with Prism

For displaying a build.gradle sample code on my blog, I want to syntax highlighting with Prism. But gradle is not included in the supported languages list. Are

Android Jetpack Compose - java.lang.NoSuchMethodError: No virtual method setContent(Lkotlin/jvm/functions/Function0;)

I'm getting a java.lang.NoSuchMethodError exception when trying to run setContent{ Composable() }. Full code: class ComposeFragment : Fragment() { override fun

How to setup protobuf in kotlin/android studio?

First time using protobuf, so following googles instructions I placed all my .protos in a protos folder in my android studio project. I know the .proto files ar

Error when connecting Firebase to Android Studio [duplicate]

I am trying to learn how to create an Android application with Android Studio. My project is currently blank, the only page is MainActivity.ja

After upgrading gradle to 4.0.0, retrofit do not receive response anymore

After upgrading from gradle 3.6.3 to 4.0.0, retrofit only able to send request but not able to receive response. From the logging I can only see: I/okhttp.OkHtt

Docker OpenJDK 17 does not contain certificate

I want to create a docker image with OpenJDK 17 but it will be modified by adding our company's certificates. Dockerfile: FROM openjdk:17 COPY Certs /certs RU

Unable to create a new module (module already exists) Intellij

I am trying to create a new module in my project. As soon as I specify the name of the module, Intellij throws "That this module already exists". After I exit t