The file build.gradle describes the default actions and tasks launched by 'gradle' command in the appropriate folder.

learn more…| top users | synonyms (1)

1
vote
0answers
38 views

Cannot get a build after build versions changed

I have a legacy project with almost a huge number of dependencies for which I cannot get a build from Gradle.Here is the errors I get (for which I searched the SOF and came accross these answers ...
0
votes
0answers
34 views

Dex Error while building the project

I am getting the following error when I try to build my project. This error occurs when I was trying to add JavaMail api in my project.Error:Execution failed for task ':app:...
0
votes
1answer
28 views

Error:Execution failed for task ':app:ndkBuild'.

I developing application for human detection using NDK and OpenCV.Getting error like this.**Error:Execution failed for task ':app:ndkBuild'.A problem occurred starting process 'command '/home/...
0
votes
1answer
10 views

How to change gradle target sdk in Ionic 2?

After I run the ionic cordova build android --release command, the AndroidManifest.xml shows <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="26" />.However, Google Play won't ...
0
votes
0answers
13 views

How to specify native libraries to package into an Android APK

My project consist of several native Android applications sharing the same Common module that builds all native libraries:AndroidApp1AndroidApp2AndroidApp3Common|-NativeLib1.so|-NativeLib2.so|-...
1
vote
1answer
25 views

java.sql.SQLException: No suitable driver found for jdbc:mariadb in a Gradle project (Intellij)

I have a Gradle project in IntelliJ which I am using to control my dependencies but I am new to Gradle so I am probably doing something wrong.I am getting this error when running my code:java.sql....
-1
votes
0answers
5 views

Gradle sync failed: '2.5.0-alpha-preview-02' is not a valid version

Hi this error gone kill me , help me to fixed.05:42:33 PM Gradle sync failed: '2.5.0-alpha-preview-02' is not avalid version 05:42:33 PM IllegalArgumentException: Failed to set upAndroid ...
0
votes
1answer
9 views

ContentResolver query method cannot be used, NoSuchMethodError

I am creating an app that reads the phone contacts of your phone. However, for reasons that I don't know, I have a problem using the query method because of the api version that I used. It says that ...
0
votes
1answer
12 views

How can I use buildConfigField in Java and Gradle Project

I am from Android background. I am creating a skill for Alexa using Java, Kotlin and Gradle. For some reason I wanted to declare a constant in grade buildConfigField like we do in android and access ...
0
votes
0answers
21 views

New error after update to gradle-tool to 3.1.0-beta3 or 3.2.0-alpha03

Just a normal project with "prod" and "mock" flavorsin app/build.gradle:sourceSets {main.java.srcDirs +="blabla bla"test.java.srcDirs +="blabla bla"androidTest.java....
0
votes
0answers
14 views

Android add library project dependency only work if the name is specified as <LIB_NAME>-<LIB_NAME>

IntroductionI have two project (for simplicity I will use the word "prj"), one main prj (TraderGoal) and one lib prj (NoobLib).I want to add the lib prj dependency by passing the prj relative path ...
0
votes
0answers
32 views

Failed to resolve dependencies in my app

I want to add a library to my project.This is my build.gradle file:apply plugin: 'com.android.application'repositories {mavenCentral()maven {credentials {username "...
0
votes
0answers
18 views
+50

How to convert Java Gradle project to Dynamic Web Project?

I am following this article https://www.linkedin.com/pulse/building-jax-rs-project-eclipse-gradle-neeraj-malhotraOn how to build a JAX-RS project in Eclipse with GradleI am usingEclipse Java ...
0
votes
0answers
10 views

Building Android Project from the Command line using gradlew on Windows

I am trying to build the Android project using gradlew assembleDebug But I am getting this error Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Unable to tunnel ...
0
votes
0answers
13 views

Build gradle multi module project in parallel

I have a project setup like this::root:common:module1:module2:module3:module4:appThe dependencies between the modules are like this::common --> "none":module* --> :...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,