erangaeb/dev-notes

make err - make.include vs imports in jni layer

rowntreerob opened this issue · 0 comments

AS 3.4.1 using bundled (SDK/ NDK )

i got build errors til i resolved the inconsistent path ...

https://github.com/erangaeb/dev-notes/blob/master/opus/app/src/main/jni/Android.mk#L211

then include in the make

not in agreement w import belo:

#include <com_score_rahasak_utils_OpusEncoder.h>
#include <string.h>
#include <android/log.h>
#include <opus.h> // this was "opus/opus.h" and was causing errors running "make"
#include <stdio.h>

after the change the builds worked OK