Questions tagged [build.gradle]

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

0
votes
0answers
5 views

Gradle Build and jUnit RunListener

I have written an implementation of jUnit RunListener. To register it, I did the following: test {useJUnit()addTestListener(MyRunListener())}The problem is now, that the class is inside ...
0
votes
4answers
50 views

Adding Dependency to android studio without internet

I have an isolated computer(C1) and i want to develope some android app.i have another computer(C2) too can connect to internet. i want to add volley library to my C1. how can i add dependency ?
0
votes
1answer
18 views

Disabling Gradle daemon in a specific project

I'd like to build certain projects without the use of of Gradle daemon. I've read that this can be done either by command-line argument --no-daemon or by changing Gradle properties under .gradle/. I ...
0
votes
0answers
21 views

Gradle JavaFX - java.lang.NullPointerException: Location is required

A null pointer exception is generated when the program is built using Gradle & executed via below command (Note: program works fine if I click run from within IntelliJ IDE):java -jar main-1.0....
1
vote
0answers
7 views

Submodule resources not rendering after gradle upgrade to 3.0.0+

I'm trying to upgrade the Gradle and Gradle plugin in Android application project. However once this upgrade is done, few of the resources from the sub-modules are not rendered.My old configurations ...
1
vote
1answer
18 views

versionName cannot be set on a mergedFlavor directly

I am trying to implement flavors in my android app. I have got the following build.gradle file:plugins {id "com.company.versioning" version "1.0.9"}apply plugin: 'com.android.application'...
-1
votes
2answers
31 views

app crashing after trying to send a message to a auto respond chat

my app is crashing when i'm trying to send a message in my " Contact Us " activity.I'm new to programming, so i'm trying to rely on tuts at the moment.Here are my codes:Logcat errorI/...
0
votes
0answers
13 views

“mmap failed for CEN and END part of zip file” && “Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain”

I try to build apk of Dual Boot Patcher Android app from Debian 8 host & Docker with Fedora guest environment, but I get error, when I do "make apk":mmap failed for CEN and END part of zip file...
0
votes
0answers
9 views

Flutter Android Build Gradle error configuring root project 'android'?

I'm getting the following error trying to run my android project from Flutter...`A problem occurred configuring root project 'android'.Could not get unknown property 'android' for root ...
0
votes
0answers
12 views

Manifest merger failed with multiple errors in android studio Build

So, I am a beginner into Android and Java. I just began learning. I was trying to implement the chatmessageview but im getting the manifest merger failed.This is my build.gradle:apply plugin: 'com....
0
votes
0answers
16 views

Android : cause unable to find valid certification path to requested target (when disabled embedded Maven repository )

when I disabled embedded Maven repository i will have this problem cause unable to find valid certification path to requested targetbut when I enable it i will be having this problem ![the ...
0
votes
0answers
16 views

Android studio 3.1.4 unexpected end of ZLIB input stream error

i have tried this solution but it is still not working that include deleting gradle folder in android studiodeleting gradle user datahere is error log Caused by: java.io.EOFException: ...
-1
votes
0answers
25 views

getting error Please fix the module's configuration in the build.gradle file and sync the project again

I'm getting this error in my android studio. I try to rebuild and also Invalidate and Restart but the same result I got this the error message I'm getting Error: The module 'app' is an Android ...
0
votes
2answers
54 views

Guava Dependency Breaking Jar Built With Kotlin

IssueThe Java/Kotlin application runs as expected in from the Main Class in IntelliJ's IDE. However, when the app is built into a .Jar file the following error occurs: java.lang.NoSuchMethodError: ...
0
votes
1answer
28 views

task defined in parent gradle file does not run all commands

I created this task from the parent build.gradle file.It runs successfully but only creates 1 of the ear files, remoteLoad.earLooking at the output, it does not look like it is running the commands ...

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