Skip to content
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

/usr/local/share/android-sdk/cmake: No such file or directory #117

Open
canpoyrazoglu opened this issue Jul 8, 2019 · 1 comment
Open

Comments

@canpoyrazoglu
Copy link

Bug

I've done everything line by line in README. In npm run start after a few minutes I got this:

		=================== compiling jsc for arm no-intl ===================


/Users/Can/Documents/Programming/Android/JSC/jsc-android-buildscripts/scripts/compile/jsc.sh: line 6: cd: /usr/local/share/android-sdk/cmake: No such file or directory
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! jsc-android@245459.0.0 start: `./scripts/start.sh`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the jsc-android@245459.0.0 start script.

Environment info


  React Native Environment Info:
    System:
      OS: macOS 10.14.5
      CPU: (8) x64 Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz
      Memory: 124.36 MB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 12.4.0 - /usr/local/bin/node
      Yarn: 1.17.0 - /usr/local/bin/yarn
      npm: 6.9.2 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
    IDEs:
      Android Studio: 3.4 AI-183.6156.11.34.5522156
      Xcode: 10.2/10E125 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.6 => 16.8.6 
      react-native: 0.59.9 => 0.59.9 
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-gesture-handler: 1.0.16

Library version: 245459.0.0

Steps To Reproduce

npm run clean
npm run download
npm run start

Describe what you expected to happen:

  1. Build should succeed

I don't know what is meant by "update version number" and "update config section", I'm just trying to get the binary as my app on Android is crashing due to Intl. Don't know if it failed because of those.

@ByTE1974
Copy link

ByTE1974 commented Oct 4, 2021

Same issue in 2021.
jsc.sh: line 6: cd: /Users/user/Library/Android/sdk/cmake: No such file or directory

UPD:
Looks like cmake wasn't installed by default in Android Studio. After I have installed it - issue is gone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants