Category : android-native-library

As the question says, can I use the Dynamic delivery feature to deliver the .so files that my app uses after installation? My .so files are 15 MB in size and this causes the app’s size to increase two-fold. If not , is there any other way I can provide the native libs to the ..

Read more

Trying ndk-build C code debug in Android studio(v4.1.2).Below is build.gradle setup. jni , C/C++ Source files Dirs. Actual C files are not under jni folder but outside it but referred in android.mk file. sourceSets.main.jniLibs.srcDirs = [‘D:/ccodefolder/jni/’] 2)Android.mk Builds a shared library from C , c++ code and also links inbuilt shared and static libraries. externalNativeBuild ..

Read more

I am trying to build the strongswan on Windows platform and I was following this guide strongswan android compilation process and on android studio I am getting this error and don’t know how to solve the problem C:/Users/ilearner/Projects/strongswan/src/frontends/android/app/src/main/jni/openssl/crypto/aes/asm/aes-armv4.S:358:2: error: out of range immediate fixup value [armeabi-v7a] Compile thumb : crypto_static <= aes-armv4.S sub r10,r3,#AES_encrypt-AES_Te @ ..

Read more

I’m trying to get the code here working. I’m using a rooted Google Pixel 4. I took libandroid.so (for arm64) from the NDK, and included <android/looper.h> and <android/sensor.h> as shown in sensor.c. I then push the sensor executable to my device and run it (code below): /*create a sensor manager*/ ASensorManager *sensorManager = ASensorManager_getInstance(); /*get ..

Read more