android - ndk-build with Lollipop -
rebuild old c++ module on lollipop ndk-build throws lost of "not defined in scope" errors regarding key_soft1, key_soft2, key_center, key_end. never happen on android 4. wrong?
my android.mk
local_path := $(call my-dir) include $(clear_vars) local_module := androidjni local_src_files := [c++ source files] local_cflags := -d_screenshot -d_android5 -dhave_sys_uio_h local_cxxflags := -d_screenshot -d_android5
my application.mk
app_stl := stlport_static stlport_force_rebuild := true app_abi := armeabi x86
update
digging android-ndk\platforms folder, under android-15\input.h. found keys defined as:
#define key_star 227 #define key_sharp 228 #define key_soft1 229 #define key_soft2 230 #define key_send 231 #define key_center 232
but under android-21\input.h, gone !? did go?
Comments
Post a Comment