Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
2 answers
1k views

How to import a .so Library in Android.mk when i build APK

I have this problem: I have to build my app using the Android.mk file and I have to insert the library "libcom_google_ase_Exec.so" inside the final apk, but I can't do it. What I get is an ...
Remper1997's user avatar
0 votes
1 answer
2k views

How to load .so files of two pre built libraries in project android?

I have two projects .so files. project one contains prebuilt openssl .so files build using CMake. and second projects contains some .so files which is build using Android.mk. Now My problem is i want ...
Gajanand Swamy's user avatar
2 votes
1 answer
5k views

Using libcurl with Android NDK

I'm working on an Android NDK project, and I would like to use the libcurl library to download resources from C++. I am using the NDK's built-in ndk-build tool. During build, I get the following error:...
Andrew Farm's user avatar
0 votes
2 answers
1k views

Android ndk build can't build 32bit executable file

Depending on my first question, I tried to include the fanotify.h header in my application. The application is based on fsmon (a small application to use the fanotify syscall), I changed some code ...
Fabman22's user avatar
  • 195
2 votes
3 answers
5k views

how to create AAR archive file from Android.mk

I am trying to build a custom Android System, and for that I want to use a separate library to contain some custom views. For this I created a Java Library using ... LOCAL_MODULE:= com.zzz.ui include ...
ungalcrys's user avatar
  • 5,560
0 votes
1 answer
1k views

How to build library with the same MODULE name for different ABI from different source file in ndk?

in ndk, I want to build library with the same MODULE name for different ABI from different source file. I have two sources under dir: armeabi-v7a and arm64-v8a Here is my Android.mk: LOCAL_PATH :=...
eason's user avatar
  • 55
1 vote
0 answers
1k views

ndk-build casue error: LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)

I am doing cross compiling. I am trying to ndk-build my code, and it cause error LONG_BIT definition appears wrong for platform (bad gcc/glibc config?) when I include Python.h I found some similar ...
Danny Pang V's user avatar
0 votes
0 answers
73 views

An asm error ocured when compile gmp-6.1.0 source code with ndk-build

guys.i want to compile the gmp source code for arm platform,and i have written an android.mk file for it(just some src file and c-includes).failed when compile /mpf/sub.c file with asm error,but i ...
Jimmy Zhang's user avatar
0 votes
1 answer
556 views

ndk-build of static lib - why is it building other files?

I have a project structure as follows. All I want to do is build a static library with SQLite source but for some reason when I run ndk-build, it builds other source too - as if it is including ...
SparkyNZ's user avatar
  • 6,636
1 vote
1 answer
1k views

Android run shell script via makefile for every platform mentioned in APP_ABI

I have a Android native application which builds for platform x86, armeabi and armeabi-v7a. Now depending upon whether the platform is x86 or arm, I need to run the script accordingly with the ...
learn_develop's user avatar
8 votes
2 answers
6k views

How is TARGET_ARCH_ABI set in Android.mk

I am trying to build my native application using ndk-build. Suppose I followed this guide to create my Android project: https://rathodpratik.wordpress.com/2013/03/24/build-cc-executables-for-android-...
shaveenk's user avatar
  • 2,063
1 vote
1 answer
3k views

Android Ndk Error No rule to make target

I am try to build Android Cpp project using Ndk. when i build app its only generate jni folder files cannot generate jni sub folder files i got this error make: *** No rule to make target src/...
Sabish.M's user avatar
  • 2,060
3 votes
1 answer
8k views

Android.mk No rule to make target '*.c', needed by '*.o'. Stop

I have some problem. I use ndk-build but I can't make library *.so. --------------------------------- Error --------------------------------- nathaniel@Nathaniel-MSI /work/workspace/HealthCare $ ...
Nathaniel Jobs's user avatar
2 votes
1 answer
4k views

Using $(warning) inside Android.mk shows a false error in Eclipse. How can I fix this?

I'm working on an Android project, using the Eclipse ADT environment provided by Google. This project has a somewhat complex Android.mk file, that can be easily misconfigured. In order to ensure ...
user avatar