You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/08/20 15:35:06 UTC

[GitHub] [cordova-android] breautek commented on issue #1027: gradlew: 'sh' is not recognized as an internal or external command,

breautek commented on issue #1027:
URL: https://github.com/apache/cordova-android/issues/1027#issuecomment-677738878


   > I have the same issue. My requirements output is:
   > c:\gitroot\ctcmobile>cordova requirements android
   > 
   > Requirements check results for android:
   > Java JDK: installed 1.8.0
   > Android SDK: installed true
   > Android target: installed android-30,android-29,android-28
   > Gradle: installed C:\Gradle\gradle-6.6\bin\gradle.BAT
   > 
   > It seems to try to run the "gradlew" file instead of "gradlew.bat". How can I correct this?
   
   Can you confirm that your `PATHEXT` system variable contains `.BAT`? If not, if you add it, does it solve your issue?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org