Skip to content Skip to sidebar Skip to footer
Showing posts with the label Android Ndk

Native Self-modifying Code On Android

I am trying to make some self-modifing native code on Android and run it in the emulator. My sample… Read more Native Self-modifying Code On Android

Cocos2dx Android Build Error: "arm-linux-androideabi-g++: No Such File Or Directory"

I downloaded the latest cocos2dx(3.10) and NDK(r11). I have the following error when I executed coc… Read more Cocos2dx Android Build Error: "arm-linux-androideabi-g++: No Such File Or Directory"

Android Ndk App Failed To Load Library

My native library code: #include #include jstring Java_com_mindtherobot_samples_ndkfoo_NdkFooAct… Read more Android Ndk App Failed To Load Library

Android Ndk Problem Pthread_mutex_unlock Issue

I'm having an issue with pthread_mutex_unlock and my native activity NDK app. I've added l… Read more Android Ndk Problem Pthread_mutex_unlock Issue

Adding Release Keys In The Experimental Gradle Plugin For Android

Hey I am having some issues adding a signing my release build variant. Currently I am using the exp… Read more Adding Release Keys In The Experimental Gradle Plugin For Android

Why Is Eglmakecurrent Failing With Egl_bad_alloc?

I am using OpenGL ES 2.0, and Android NDK r8b. I have a shared context that I use for worker thread… Read more Why Is Eglmakecurrent Failing With Egl_bad_alloc?

How To Run Custom Rule In Android.mk Before Compilation?

In Android NDK, I build JNI files generated automatically by SWIG. callmanager_wrap.cpp is part of … Read more How To Run Custom Rule In Android.mk Before Compilation?

What Library Does Ld Option -lrt Refer To (bionic Libc)?

What does this option to ld mean? -lrt I know to some degree it means that ld is looking for the li… Read more What Library Does Ld Option -lrt Refer To (bionic Libc)?

How Do You View The Raw Gradle Build Log For The Ndk In Android Studio?

When using the Gradle experimental plugin with Android studio to build an NDK library, how do you s… Read more How Do You View The Raw Gradle Build Log For The Ndk In Android Studio?

Is Renderscript Incompatible With Ndk Libraries In The Same Project?

I have a problem creating an Android app that makes use of both Renderscript and native code genera… Read more Is Renderscript Incompatible With Ndk Libraries In The Same Project?

Android Ndk Openssl Error Cross-compiling

I am new in NDK and I am following this guide to build OpenSSL for Android, I am using Windows 7 an… Read more Android Ndk Openssl Error Cross-compiling

Ndk-build: Undefined Reference To .. Errors When Statically Linking To Libxml.a

I get a lot of undefined reference to ... errors when I compile my single c++ source-file using the… Read more Ndk-build: Undefined Reference To .. Errors When Statically Linking To Libxml.a

Issue: Running Pcl Library With Android Project

I had compiled the PCL-SuperBuild folder as these links described: Link 1: https://hcteq.wordpress… Read more Issue: Running Pcl Library With Android Project

Android, Opengl Lag In Jni When Touching Screen

I am currently testing out all the features that a need in my game on the Android platform. I have … Read more Android, Opengl Lag In Jni When Touching Screen

C++ Regex Not Working In Android Ndk

I have the following piece of code #include struct Confs{ std::string regexp; }; class foo { … Read more C++ Regex Not Working In Android Ndk

Callintmethod Result -1 - Android Jni

I would like to use the ANDROID SharedPreferences from C. For easier usage, I've a class and so… Read more Callintmethod Result -1 - Android Jni

How Do I Call C/c++ Code From Android Using Jna?

I'm trying to integrate this specific library to my Android project, and the library is written… Read more How Do I Call C/c++ Code From Android Using Jna?

Std::strtoull Not Recognized Under My Jni Ndk Environment

i use some c++ code under android project by using JNI. But always it give an alert saying that : … Read more Std::strtoull Not Recognized Under My Jni Ndk Environment

Android Studio 2.0's Inline Compiler Does No Longer Recognize Native Code

I am currently working on a library that contains Java and native code. The build works well, and s… Read more Android Studio 2.0's Inline Compiler Does No Longer Recognize Native Code

How Android Runtime Compiles Java More Efficiently Than The Clang C/с++ Compiler (android Ndk)?

I was absolutely sure that C\C++ native code will run faster than Java code. And it is. My simple C… Read more How Android Runtime Compiles Java More Efficiently Than The Clang C/с++ Compiler (android Ndk)?