All Questions
845
questions
0
votes
1
answer
9
views
Create Gradle wrapper without installing Gradle
I want to use Gradle, but I do not want to install it. It is possible to compile a project using its Gradle wrapper. If you already have a Gradle project, you can initialize a new project using the ...
0
votes
2
answers
39
views
Error with './gradlew assembleRelease': Failed to install Android SDK packages due to unaccepted licenses
Background:
I'm encountering an issue while trying to build a release version of my Android application using './gradlew assembleRelease'. I've already accepted all Android SDK licenses using the ...
0
votes
1
answer
36
views
Switch repository based on environment
In my local development environment, I need to use my local repo. But when I build in cloud, I need to use remote repo.
Can someone please help me to achieve this as I'm new to gradle?
EDIT:
This is ...
1
vote
0
answers
15
views
Cannot get GradlePropertiesModel (V2) for project 'GradleProject{path=':app'}' (android studio bug)
Multiple build operations failed.
Cannot get GradlePropertiesModel (V2) for project 'GradleProject{path=':app'}'
i am facing this issue in Android Studio Koala | 2024.1.
on invalidate/Restart it'...
0
votes
1
answer
65
views
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain in React Native
I have a problem running a react native project, i'm using yarn but the error is also shown with npm:
$ yarn android
yarn run v1.22.22
$ react-native run-android
info Running jetifier to migrate ...
0
votes
0
answers
36
views
react-native-reanimated: Failed to notify project evaluation listener
How do I resolve this error: Failed to notify project evaluation listener.
The filename, directory name, or volume label syntax is incorrect
Gradle Wrapper Properties:
distributionBase=...
0
votes
0
answers
37
views
Cannot build Micronaut project using gradle
I cannot build my project in micronaut using gradle's command ./gradlew build because it failed with error. I added whole log on the end. I thought that error is because of following line [WARN] ...
0
votes
0
answers
20
views
Gradlew dart-defines stopped working after gradles build refresh
I am passing few arguments to gradlew build in flutter to run integration_tests in local machine. It had been working good till now:
Firebase_set_base64=$(echo -n "set=firebase" | base64)
...
0
votes
0
answers
38
views
Remove source jars from classpath in Java Gradle
Is there a way to remove all source jar files from classpath.
I have a Java 13 gradle project, When I run application or unittests in IntelliJ classpath includes source jars for dependencies. This ...
-2
votes
1
answer
58
views
Not able to run gradle multi-project
I am trying to build a basic multi-project with gradle as suggested at Structuring Projects with Gradle
Project structure is as follows:
Main.java in test subproject is as follows:
package org....
0
votes
0
answers
93
views
java.io.IOException: The pipe is being closed
I am getting this error while building gradlew with Android Studio.
Could not write standard input to Gradle Test Executor 1.
java.io.IOException: The pipe is being closed
at java.base/java.io....
1
vote
0
answers
21
views
Difference between running Gradle wrapper test task with "test" task name specified and without it
I am running Gradle test task on specified list of modules two ways:
running ./gradlew test :module1:test :module2:test :module3:test etc.
running ./gradlew :module1:test :module2:test :module3:test ...
0
votes
0
answers
56
views
How to run failed/flaky tests using gradle.test-retry
inside build.gradle
plugins {
id 'org.gradle.test-retry' version '1.0.0'
}
test {
retry {
failOnPassedAfterRetry = true
maxFailures = 3
maxRetries = 2
}
}
i ...
0
votes
0
answers
26
views
Error when cordova run android. FAILURE: Build failed with an exception
enter image description here
C:\Users\PC\MyApp>cordova run android
Checking Java JDK and Android SDK versions
ANDROID_HOME=undefined (recommended setting)
ANDROID_SDK_ROOT=undefined (DEPRECATED)
...
1
vote
1
answer
36
views
ENV Variables NOT getting updated in the gradle processes
./gradlew assembleRelease does not pick up the latest terminal env variable. Tried restarting the terminal and ./gradlew clean but still no use.
I've logged process.env variables in metro config. If I ...