Questions tagged [android-ndk-r5]

The Android Native Development Kit enables users to call C/C++ code from their applications running in the Dalvik Virtual Machine. Use this tag only for questions relating specifically to revision 5 of the Android Native Development Kit. Otherwise, use the [android-ndk] tag, and make sure to include that anyway.

The Android Native Development Kit enables users to call C/C++ code from their applications running in the Dalvik Virtual Machine.

Use this tag only for questions relating specifically to revision r5 of the Android Native Development Kit. Otherwise, use , and make sure to include that anyway.

Information about specific features in revision 5 is available at the NDK Revision History page.

78 questions
158
votes
11 answers

Where do I find old versions of Android NDK?

Does anyone know where I can find older versions of the Android NDK? Our code doesn't build with r6. Surely there must be archived versions somewhere.
lest
  • 1,589
  • 2
  • 10
  • 4
27
votes
3 answers

configure does not recognize androideabi

I am trying to compile a library using android-ndk-r5 standalone toolchain and autotools. When doing a ./configure, it fails with: $ ./configure --host=arm-linux-androideabi ...snip... checking host system type... Invalid configuration…
larvyde
  • 811
  • 1
  • 6
  • 19
21
votes
2 answers

Android.mk vs Application.mk

I'm a little fuzzy about the use of Android.mk & Application.mk I've tried reading APPLICATION-MK.HTML & ANDROID-MK.HTML in the documentation that comes with NDK, but still confused about the purpose of two makefiles. I'll be really grateful to…
OceanBlue
  • 9,142
  • 21
  • 62
  • 84
16
votes
2 answers

How link with static boost libraries for android?

I have problem porting and linking the boost libraries to android using Android-ndk-r5b. I build boost libraries first (without mpi, python) using these steps: 1.commented line 53 in boost_1_46_0\libs\thread\build: # if [ os.name ] = "NT" { api =…
user634354
  • 161
  • 1
  • 1
  • 4
15
votes
2 answers

What is the standalone toolchain?

I am trying to understand what a standalone toolchain means. Following are my findings. A toolchain which is ready to use with all the configuration that is the system headers and libraries in the correct path . For Android it will also have the…
sraddhav
  • 151
  • 1
  • 1
  • 4
14
votes
7 answers

Running ndk-gdb with package not found error on motorola phone

I have a C++ Android application that I'm trying to debug with ndk-gdb. The application does use multiple threads, but supposedly r5 of the ndk supports multiple threads. Also, I'm not even getting to the point where gdb starts up. I run the…
Leif Andersen
  • 21,580
  • 20
  • 67
  • 100
9
votes
2 answers

how to rewrite the Makefile into android.mk?

In my new project, I need to base on a c written project. And I know that I can use the NDK to do it, but here is a question: how to rewrite the standard Makefile into the Android.mk? And further more, in Android, can I, neglecting the ndk, build…
kaiwii ho
  • 1,367
  • 7
  • 21
  • 40
8
votes
1 answer

Android NDK r5b external build and supc++ link problem

I am attempting to cross-compile our C++ code base (using CMake) for the Android platform using the r5b NDK on Ubuntu 10.10. The compile phase succeeds, however during the final link phase for the .so there are many unresolved references to symbols…
androider
  • 530
  • 4
  • 10
8
votes
1 answer

Linking static libraries in android ndk

I'm trying to compile the nvfile library from http://developer.nvidia.com/tegra-resources, in the android ndk sample, libs folder. Anyway, as I don't really need the entire suite of libraries, I pulled out the one that I needed, with what appeared…
Leif Andersen
  • 21,580
  • 20
  • 67
  • 100
8
votes
1 answer

ANR in random usage of application

I have an VOIP application and the engine part is C(NDK) Level.On random usage of application i end with an ANR pointing to " at android.os.MessageQueue.nativePollOnce(Native Method)". Using android-ndk-r5 ANR Traces: ----- pid 13735 at 2013-05-23…
7
votes
1 answer

UnsatisfiedLInkError Linking to FFMPEG with NDK

I compiled FFMPEG for android using bambuser's files. The compile runs fine. No errors. I also made sure to change the package name in build.sh. However, once I try to link to the files, the phone throws an UnsatisfiedLinkError. This is the…
U Avalos
  • 6,538
  • 7
  • 48
  • 81
7
votes
2 answers

Problems trying to build PocketSphinx for Android using NDK

I'm trying to build PocketSphinx for Android using the PocketSphinxAndroidDemo project. I've given up om my quest to build it using Cygwin and Windows and installed an Ubuntu VM. I'm making progress but I seem to be stuck and I can't seem to figure…
Jason L.
  • 2,464
  • 1
  • 23
  • 41
7
votes
3 answers

Replacement for `__system_property_get` in Android L NDK

As of the Android L NDK, __system_property_get is removed (https://groups.google.com/a/chromium.org/forum/#!topic/chromium-reviews/keQP6L9aVyU). Is there another API in the Android L NDK to access the same property values?
aschmied
  • 908
  • 2
  • 10
  • 26
7
votes
2 answers

Bambuser ffmpeg - "arm-linux-androideabi-gcc is unable to create an executable file."

I know this may be possible duplicate of some questions. but answers for those threads are not helping me. I am trying to compile ffmpeg library for android using Bambuser's ffmpeg. I downloaded Archive for client versions 1.3.7 to 1.6.0. from…
Chaitanya Chandurkar
  • 2,142
  • 3
  • 24
  • 43
6
votes
7 answers

NDK build error

Hi I am new to Android NDK Development. MacBook-Pro:JNIexample sk$ ndk-build usage: dirname path gmake: /Users/sk/build/core/build-local.mk: No such file or directory gmake: *** No rule to make target `/Users/sk/build/core/build-local.mk'. …
Ragunath Jawahar
  • 19,513
  • 22
  • 110
  • 155
1
2 3 4 5 6