Category "gradle"

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

Sonar with multi-module gradle project

I have java and kotlin based multi module gradle project. I am trying to setup sonar analysis for the same. I configured sonar at root project and ran analysis

Gradle build-attribution unexpected attribution

I recently deleted and reinstalled my Android Studio IDE and my before working project still finishes building but gives an unexpected exception which is as fol

gradle kotlindsl extract logic to outer scripts

What is the recommended way to extract gradle build code blocks to external scripts? Notice these scripts should support references to the gradle project, extra

Failed build Project after change directory to external storage; Timeout waiting to lock Java compile cache (/.gradle/7.0.2/javaCompile)

I have an issue when building project after created a new project in different volumes in Mac Os. This what error said : Could not create service of type Defaul

How to build a WAR file with gradle?

I want to build a WAR file (and then deploy it to Tomcat). So, as an exercise, I've started a new Spring Boot Project using Gradle in IDEA IntelliJ. Afterwards,

Android studio Gradle Tab

I've started to work on an android project that has many Gradle tasks. After cloning the project from git, there is no Gradle tab in Android Studio!

Android giving Unknown constant tag 85 in class file

I was working in the android studio all thing were fine until it gives me a sudden error which I have no idea how to fix it. A problem occurred evaluating pro

flutter: Multiple projects in this build have project directory

I'm developing a flutter application on Mac, the app runs ok on ios when I try to run it on an Android device, it pops out: FAILURE: Build failed with an except

Process 'command 'C:\Program Files\Java\jdk\bin\java.exe'' finished with non-zero exit value 1 eclipse

**Error :** Process 'command 'C:\Program Files\Java\jdk\bin\java.exe'' finished with non-zero exit value 1 This error is getting when i am running the task wh

App isn't building after update Firebase Performance SDK

After update classpath 'com.android.tools.build:gradle:3.5.3' to classpath 'com.android.tools.build:gradle:3.6.1' Getting compile errors below.... Caused by: o

Springboot 2.6.0 / Spring fox 3 - Failed to start bean 'documentationPluginsBootstrapper'

I'm trying to initiate a Springboot project using Open Jdk 15, Springboot 2.6.0, Springfox 3. We are working on a project that replaced Netty as the webserver a

How to configure Gradle Java plugin from a custom Gradle plugin

I've written a custom Gradle plugin in Kotlin 1.2.50 for use with Gradle 4.8. I've successfully applied the Java plugin from my plugin's apply method: overrid

Suddenly facing this issue in react native firebase project: Could not determine the dependencies of task ':react-native-firebase:compileDebugAidl'

enter image description here Error: Configure project :react-native-firebase react-native-firebase: using React Native prebuilt binary from C:\Users\Clark\Deskt

How to run a command line command with Kotlin DSL in Gradle 6.1.1?

I am trying to run the code block below, after reading multiple posts on the topic and the Gradle manual. I run the below and get the following error: execComma

Fuel SDK ETClient causing Exception in thread "main" java.lang.NullPointerException

I know this is caused by a null value, however I'm fairly new to java and not sure why it's null. Have I not instantiated ETClient correctly? Or overlooked some