-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 16.04.3, can't build debug apk for emulator #472
Comments
Hmm, this is interesting. Thanks for bringing it to our attention! |
Pushd is not included on /bin/sh on Ubuntu |
build is just a convenience method added to detox-cli (read more about it in the docs) Just use |
Thanks for the answer |
It is. If you want to run your build command in a bash environment, either put it in a shell file with a bash shell or use |
Description
On Ubuntu 16.04.3, I can't build my android app with Detox
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
And Detox "detox": "^5.10.0"
Steps to Reproduce
RNApp$ detox build --configuration android.emu.debug
pushd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd
/bin/sh: 1: pushd: not found
child_process.js:614
throw err;
^
Could you move from /bin/sh to /bin/bash please if it is not already done
The text was updated successfully, but these errors were encountered: