Code Monkey home page Code Monkey logo

Comments (5)

suclogger avatar suclogger commented on July 2, 2024

Failed to excute ndk build using 13.1.3 .
Which ndk version should be used?

Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 14 in ./AndroidManifest.xml [arm64-v8a] Compile : eagleeyenative <= entry.c jni/entry.c:16:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Java_com_mindmac_eagleeye_NativeEntry_initSystemNativeHook( JNIEnv* env, jobject this ) ^ jni/entry.c:21:3: error: non-void function 'Java_com_mindmac_eagleeye_NativeEntry_initSystemNativeHook' should return a value [-Wreturn-type] return; ^ jni/entry.c:28:3: error: non-void function 'Java_com_mindmac_eagleeye_NativeEntry_initSystemNativeHook' should return a value [-Wreturn-type] return; ^ jni/entry.c:38:31: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] if(hook(&(hook_info->eph), getpid(), hook_info->libname, hook_info->funcname, ^ jni/entry.c:46:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Java_com_mindmac_eagleeye_NativeEntry_initCustomNativeHook(JNIEnv* env, jobject this, jstring lib_name){ ^ jni/entry.c:53:3: error: non-void function 'Java_com_mindmac_eagleeye_NativeEntry_initCustomNativeHook' should return a value [-Wreturn-type] return; ^ jni/entry.c:64:3: error: non-void function 'Java_com_mindmac_eagleeye_NativeEntry_initCustomNativeHook' should return a value [-Wreturn-type] return; ^ jni/entry.c:71:3: error: non-void function 'Java_com_mindmac_eagleeye_NativeEntry_initCustomNativeHook' should return a value [-Wreturn-type] return; ^ 3 warnings and 5 errors generated. make: *** [obj/local/arm64-v8a/objs/eagleeyenative/entry.o] Error 1

from androideagleeye.

wbonis avatar wbonis commented on July 2, 2024

I have the same Problem!

from androideagleeye.

MindMac avatar MindMac commented on July 2, 2024

@suclogger The ndk version I used is r10e.

from androideagleeye.

nunofaria007 avatar nunofaria007 commented on July 2, 2024

1 - Create a new .mk file and paste the following text (this will set the correct ABI and toolchain)

APP_PROJECT_PATH := $(NDK_PROJECT_PATH)
APP_ABI := armeabi
NDK_TOOLCHAIN_VERSION = 4.9
ifndef APP_BUILD_SCRIPT
ifeq (null,$(NDK_PROJECT_PATH))
$(call __ndk_info,NDK_PROJECT_PATH==null. Please explicitly set APP_BUILD_SCRIPT.)
$(call __ndk_error,Aborting.)
endif
APP_BUILD_SCRIPT := $(APP_PROJECT_PATH)/jni/Android.mk
endif

Note

(NDK_TOOLCHAIN_VERSION = 4.9): In my case, a clang toolchain (arm-linux-androideabi-clang) was being used by default, so i had to change it to a gcc one (arm-linux-androideabi-4.9), you can check the version on the /toolchains folder and set this parameter accordingly

2- Add following parameter to ndk-build

NDK_APPLICATION_MK=%Path to the .mk file created in step 1%

from androideagleeye.

junges521 avatar junges521 commented on July 2, 2024

I have the same Problem!

from androideagleeye.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.