spawn gradle ENOENT
See original GitHub issueWith shell follows.
tns build android --log trace > out.txt
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
delete platform/android directory and than run another time tns build android . it should work
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