-
Notifications
You must be signed in to change notification settings - Fork 24k
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
[Android] Build from source in Android Studio OSX fails :ReactAndroid:buildReactNdkLib #6689
Comments
@berickson1 NDK r11e is not supported. Can you try again with Refer links here: |
@facebook-github-bot answered |
Closing this issue as @satya164 says the question asked has been answered. Please help us by asking questions on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. |
@berickson1 make sure you change the NDK path in the |
@chirag04 I've verified with that I'm using Android NDK r10e. I've set the ANDROID_NDK environment variable properly (and set android.ndk in local.properties) The build is failing with the aforementioned error. |
@berickson1 Make sure android studio is not overriding your local.properties(it re-generates local.properties automatically) and android studio can see you environment variables. Goto Terminal tab inside android studio and see if you have ANDROID_NDK set. otherwise set the variable in Android Studio -> Preferences -> Path Variables. |
Looks like my Android Studio was overriding my NDK version and using r11b. Thanks for the help! |
Using the latest React Native master (a7e5312), I'm unable to build from source inside of Android Studio.
Followed the documents for building Android React Native from source at the following URL:
https://facebook.github.io/react-native/docs/android-building-from-source.html
Attempted with both Android NDK r11b and r10e with the same results.
This looks somewhat related to issue #6608 but using the same NDK version on Mac did not resolve the issue.
OS: OSX 10.11.4
Android Studio Version: 1.5.1
Branch: master
Log:
The text was updated successfully, but these errors were encountered: