Skip to main content

All Questions

Tagged with
0 votes
2 answers
34 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 ...
Freq's user avatar
  • 1
0 votes
1 answer
33 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 ...
Kapila's user avatar
  • 87
0 votes
0 answers
12 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'...
Muzammil Hussain's user avatar
0 votes
1 answer
55 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 ...
Abdiel49's user avatar
0 votes
0 answers
34 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=...
digiware's user avatar
0 votes
0 answers
34 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] ...
Denis Stephanov's user avatar
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) ...
Vishnu's user avatar
  • 2,121
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 ...
Robert's user avatar
  • 1
-2 votes
1 answer
56 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....
Manish's user avatar
  • 1,429
0 votes
0 answers
88 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....
Guava's user avatar
  • 11
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 ...
imegorov's user avatar
0 votes
0 answers
55 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 ...
abhisekh's user avatar
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) ...
Максим 2's user avatar
1 vote
1 answer
33 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 ...
mcmohan_cycle's user avatar
0 votes
0 answers
44 views

Gradle dependencies recursively

I have multiple repositories that each have a gradle project and in turn submodules. The structure looks like this **repo1** -build.gradle -components --module1 ---module1.gradle ---src/...
Piyush Singh's user avatar

15 30 50 per page
1
2 3 4 5
57