LoginSignup
0
0

More than 5 years have passed since last update.

The command "./gradlew build connectedCheck" exited with 127.の解決法

Posted at

環境

  • Windows

状況

Travis-CIでAndroidプロジェクトを動かしている。
The command "./gradlew build connectedCheck" exited with 127.が出て failed になってしまう。
そもそも、Buildが出来ていないらしい。

原因

gradlew の改行コードが Windows の CRLF になっており、gradlew がうまく動かない。LF に直すと動く。

対処法

コマンドラインで以下のコマンドを実行すると解消
cat gradlew | tr -d '\r' > gradlew

参考文献

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0