gradlew Questions

18

Solved

Getting error - 'gradlew' is not recognized as an internal or external command. operable program or batch file. inside Android Studio terminal. Can anyone please tell why it's not recognizing gradl...
Nonparticipation asked 14/3, 2018 at 7:11

3

Solved

This was my output of gradle -v (in a project using the wrapper): $ ./gradlew -v ------------------------------------------------------------ Gradle 5.0 ------------------------------------------...
Knowing asked 13/12, 2018 at 12:9

28

Solved

I cleaned the whole project by deleting local directories like ~/.gradle, ~/.m2 ~./android and ~/workspace/project/.gradle and chosing File -> Invalidate Caches / Restart... in Android Studio. N...
Lenssen asked 22/4, 2015 at 18:6

4

Solved

I keep getting an error when trying to run on an Android Simulator. I have firebasecore and Square in app payments in this app. This is the error: FAILURE: Build failed with an exception. * What w...
Hittite asked 14/5, 2023 at 20:46

30

Solved

I ran the following comment: ./gradlew app:installDebug only to be met with the log: FAILURE: Build failed with an exception. * What went wrong: Could not determine java version from '11.0.2'. *...
Midships asked 25/1, 2019 at 2:17

9

Solved

I load a project from git and build it successfully on MacBook. When I type './gradlew assembleRelease' in terminal window, I get an error: bash: ./gradlew: No such file or directory So I check ...
Anacardiaceous asked 31/12, 2016 at 11:39

8

I am trying to run the tests of the kotlin code provided from here : https://github.com/ligi/ipfs-api-kotlin with gradlew I got the error listed below. Could someone tell me what this error means...
Homorganic asked 28/1, 2020 at 9:47

11

Solved

I am trying to understand how the Gradle Wrapper works. In many source repos, I see the following structure: projectRoot/ src/ build.gradle gradle.properties settings.gradle gradlew gradlew.b...
Cordi asked 10/9, 2014 at 15:36

6

When trying to Sync Gradle I am getting the following error: A problem occurred configuring project ':react-native-google-signin'. > Could not resolve all artifacts for configuration ':react-na...
Lithographer asked 8/5, 2020 at 12:49

7

Solved

After committing my project's gradlew file from my Windows machine to the remote repo using Git, invoking gradlew on my Linux server failed with this message: /usr/bin/env: bash: No such file or...
Warrior asked 10/3, 2014 at 13:47

2

Error is: "The supplied phased action failed with an exception. Could not create task ':generateLockfiles'. Cannot run program "C:\Users...\android/gradlew.bat". CreateProcess error=...
Barometrograph asked 1/10, 2022 at 8:46

21

Solved

I am attempting to run gradlew from my command line, but am constantly facing the following error. Brendas-MacBook-Pro:appx_android brendalogy$ ./gradlew compileDebug --stacktrace -bash: ./gradlew...
Geerts asked 16/7, 2013 at 4:50

14

I am getting the below error when executing gradle.bat. I have checked the URL path and it looks fine. The URL is defined like this in the wrapper properties: distributionUrl=https\://services.grad...
Protectorate asked 1/7, 2015 at 4:10

2

for example, read the json file in build.gradle and use the json values as strings in the file { "type":"xyz", "properties": { "foo": { "type": "pqr" }, "bar": { "type": "abc" }, "baz": {...
Daytime asked 19/8, 2016 at 8:58

3

I just import an existing android project and wanted to run a gradle task from terminal. But however I'm always getting following exception for this project: java.lang.ClassNotFoundException: org...
Roadability asked 10/9, 2018 at 14:14

4

Solved

I develop an app generation system that is regenerating apps by command line Gradle compilation commands. In my Windows Server 2008, I'm facing a problem after updating to the last Gradle version ...
Astute asked 24/11, 2017 at 10:55

2

I have a gradle project. When I type "gradlew tasks" i see a bunch of tasks. Where are these tasks? How do i see where they are defined?
Peterpeterborough asked 27/6, 2018 at 4:58

7

Solved

After update to Java 11 got an error in Android Studio by ./gradlew lintFooDebug command. * What went wrong: Execution failed for task ‘foo:syncDebugLibJars'. > NestMember requires ASM7 • Ran ...
Hypermeter asked 9/8, 2021 at 9:13

5

Solved

I have an application. I run it via gradlew run-app Or debug gradlew debug-app It works. How do I pass '-Xmx' argument into the application which I run (debug)? Is it possible to do so witho...
Seleta asked 22/6, 2017 at 14:12

2

Solved

This is what my current buildspec looks like: phases: build: commands: - ./gradlew soakTest -s cache: paths: - '/root/.gradle/caches/**/*' - '.gradle/**/*' But when this buildspec runs in...
Janejanean asked 2/5, 2018 at 3:11

2

Solved

Given a gradle wrapper (gradlew) from Android Studio distribution, is it possible to run two tasks with it within one command invocation? For example, right now I have to do the following: ./gradl...
Excursive asked 4/5, 2017 at 10:13

10

Solved

I've been trying to get ActionBarSherlock to work and having some issue. One issue I've come across is the following message when trying to build it: Plugin with id 'android-library' not found S...

1

i have a project that i was giving to update the UI , but anytime I run the app with npx react-native run android it gives the error Task :react-native-image-picker:compileDebugJavaWithJavac FAILED...

4

I am trying to run a gradlew.bat file via cmd and am running into the error: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper > Exception java.lang.NoClassDefFoundError: Coul...
Oppose asked 4/10, 2022 at 18:59

22

When running ./gradlew clean build I get following message: > Task :compileKotlin FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileKotlin'...
Ilonailonka asked 21/3, 2019 at 17:56

© 2022 - 2024 — McMap. All rights reserved.