question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

spawn gradle ENOENT

See original GitHub issue

With shell follows.

tns build android --log trace >  out.txt

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

24reactions
RusEucommented, Jan 9, 2016

delete platform/android directory and than run another time tns build android . it should work

1reaction
rosen-vladimirovcommented, Nov 18, 2015

Hi @gordonpro This is really strange, may I ask you to navigate to platforms/android directory inside your project and execute gradle buildapk -PcompileSdk=android-23 -PtargetSdk=23 -PbuildToolsVersion=23.0.1 -PsupportVersion=23.1.1 2>out.txt Also I’ve noticed you are using node 5.1.0, which is not verified as supported, so I cannot guarantee everything will work as expected. The verified versions of nodejs are 0.10.40, 0.12.7 and 4.2.x

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error in tns build android: 'spawn gradle.bat ENOENT' #1836
What this message means is, cli can't find the platforms/android/gradle.bat file and run it. Make sure the file exists. Could you provide us ......
Read more >
React Native Error: spawn gradlew.bat ENOENT
This error is because of your gradlew.bat file is corrupt try add new one then try again. you can find new file from...
Read more >
Fixing EACCES errors during Ionic Android development
If you find your Android builds breaking with EACCES errors simply use the —verbose flag to determine which file(s) they are breaking on...
Read more >
failed to start the app. error: spawnsync adb enoent - You.com
React Native Error: spawnSync adb ENOENT error on Android ... Starting a Gradle Daemon (subsequent builds will be faster) Task :app:installDebug.
Read more >
React Native Errors - instamobile
Error: Could not find or load main class org.gradle.wrapper. ... 4. warn Failed to connect to development server using “adb reverse”: spawnSync adb...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found