You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
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
Describe the bug
After cloning the repo, doing npm install in both demo directory and root, and running
npm run android
in root gave me this error. I cd into the android directory and try to run
gradlew
and it says it is not a recognized command.
To Reproduce
See above.
Device (please complete the following information)
Windows 10 Pro desktop
Same error here. Any other newly created react-native project will work all right, so my environment is definitely properly set. Also npm start fails. I presume that this scripts were created with *nix users in mind only, but they won't work on windows.
If you copy "gradlew.bat" from any properly configured react-native project, into the android folder in this repository, then the demo it will work on windows as well
Basically, if you create a new project with "npx react-native init PROJECT_NAME", and you go to the newly generated android folder, you'll see that there is a "gradlew.bat" file which is missing in the RNUI android folder.
I'd create the PR but, you seem to have that file explicitly ignored in your ".gitignore" file, and I don't know if your team had a valid reason for that (something related to intelliJ?). As far as I can tell
@lidord-wix
pushed that change, so maybe you can check with him, but that's the file that the command line uses in windows.