Skip to content

Execution failed for task ':realm-library:checkNdk'. > Your NDK version: 13.1.3345770. Realm JNI must be compiled with the version r10e of NDK. #3733

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

Closed
omamapk opened this issue Nov 2, 2016 · 8 comments
Labels

Comments

@omamapk
Copy link

omamapk commented Nov 2, 2016

We LOVE to help with any issues or bug you have!

Questions: If you have questions about how to use Realm, please ask on SO - we monitor the Realm tag.

Feature Request: Just fill in the first two sections below.

Bugs: To help you as fast as possible with an issue or bug please describe your issue and the steps you have taken to reproduce it in as many details as possible.

Thanks for helping us help you :-)

Remove this and above before submitting.

Goal

What do you want to achieve?

Expected Results

?

Actual Results

E.g. full stack trace with exception

Steps & Code to Reproduce

Describe your current debugging efforts.

Code Sample

> Your code here. Bigger samples should ideally be as separate Android Studio project, 
> in gists/repositories or privately at help@realm.io)

Version of Realm and tooling

Realm version(s): ?

Realm sync feature enabled: yes/no

Android Studio version: ?

Which Android version and device: ?

@omamapk omamapk changed the title I am trying to run sample project. I am running this command to install realm at my root project directory, i am getting this error: Execution failed for task ':realm-library:checkNdk'. > Your NDK version: 13.1.3345770. Realm JNI must be compiled with the version r10e of NDK. Nov 2, 2016
@omamapk
Copy link
Author

omamapk commented Nov 2, 2016

am trying to run sample project. I am running this command ./gradlew installRealmJava
to install realm at my root project directory, i am getting this error:

  • Where:
    Build file '/Users/omamamoin/realm-java/realm/realm-library/build.gradle' line: 712

  • What went wrong:
    Execution failed for task ':realm-library:checkNdk'.

    Your NDK version: 13.1.3345770. Realm JNI must be compiled with the version r10e of NDK.

@kneth
Copy link
Contributor

kneth commented Nov 2, 2016

Which version of NDK did you install? Currently, we are only supporting r10e.

@omamapk
Copy link
Author

omamapk commented Nov 2, 2016

I am using latest NDK version r13b. When it will be compatible will latest NDK version or how could I set old NDK version specific to my project rather than changing my HOME NDK path to old version>

@cmelchior
Copy link
Contributor

@omamapk We are in the process of upgrading to latest NDK. You can follow progress here: #3506 , until then you need to use r10e. You can set the path to that installation in your local.properties file.

@omamapk
Copy link
Author

omamapk commented Nov 2, 2016

Thanks

@jplazcano87
Copy link

i'm having the same problem, and i can't find the older version of the ndk or the local.properties file location, there is a tutorial or link for this? and an example of the local.properties file?
thanks in advance

@kneth
Copy link
Contributor

kneth commented Mar 9, 2017

@jplazcano87 You can find older versions here: https://developer.android.com/ndk/downloads/older_releases.html

My local.properties is:

ndk.dir=/usr/local/Cellar/android-ndk/r10e
sdk.dir=/usr/local/Cellar/android-sdk/24.4.1

I have installed the NDK through home brew.

@jplazcano87
Copy link

jplazcano87 commented Mar 9, 2017 via email

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants