I have to integrate some c code with my Android app. I did some R&D and came to know that I can do this through NDK (Native Development Kit).
I downloaded NDK and read some article and watched videos to Configure NDK but Android node in Preferences does not show Native Development node to set NDK reference.
Am I missing some step or any other problem... please help
see my preference Window.
While installing the ADT plugin as:
Name - ADT
Repo - https://dl-ssl.google.com/android/eclipse/ or find the link in here
http://developer.android.com/sdk/installing/installing-adt.html
This is important. Select both Developers tools and NDK plugins and continue installation.
There you go. You can find the Option in Windows->Preferences->Android->NDK. Set the path accordingly
I followed this guide but when I installed the Sequoya packages it didn't work --no new options appeared on the Preferences or contextual menu.
I work over Ubuntu 10.10 so I tried adding these lines to .bashrc
# Android definitions
export PATH=$PATH:$HOME/android-ndk-r7c
export ANDROID_NDK_ROOT=$HOME/android-ndk-r7c
export NDK=$HOME/android-ndk-r7c
I re-started Eclipse and reinstalled the Sequoyah packages on Eclipse once again --which I never uninstalled, so that was a little bit weird. But it worked.
Perhaps if you have Windows you can try adding those as Enviroment Variables.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With