android ndk - $(build_executable) producing shared object -


i'm trying create native executable android , keeps crashing. testing file readelf , objdump revivals file considered shared object file. i'm using r8e , compiling ndk-build

test.c:

int main(){   return 0; } 

android.mk:

local_path := $(call my-dir) include $(clear_vars) local_src files := test.c local_module := test  include(build_executable) 

--

setting app_platform android-9 results in creation of executable file ( , no crashes).

have tried specifying arguments int args , char *argv[] main() method? also, trying run it?


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -