linux - Test Android NDK executables on PC without any JNI or upper layers -


i learning binders in android, want test whether sample applications written in c/c++ working properly. on linux based pc.

when searched on google, every example implementing jni layer, think don't required can use simple logging facilities.

is there way can test (android-based) executables directly on pc? hope clear.

since you're compiling against android/log.h, whatever system want run executable on have have proper instruction set , have android/log.h.

you switch of android prints print stdout (printf, etc.) , recompile on whatever system you're using using it's compiler (gcc, etc.).


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -