Comments (5)
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.
I have the same Problem!
from androideagleeye.
@suclogger The ndk version I used is r10e.
from androideagleeye.
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.
I have the same Problem!
from androideagleeye.
Related Issues (11)
- No API log is available in logcat HOT 1
- Hook same method name for different library module
- Applications seem not to be hooked HOT 1
- how to hook native lib whose uid=0
- Special classes HOT 1
- Why it cannot work on my phone? HOT 1
- cann't hook app method HOT 1
- when i use ndk-build build my "libeagleeyenative.so" HOT 8
- Log is empty HOT 2
- Compile fail: unknown register name 'r0' in asm HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androideagleeye.