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
Post a Comment