Things just aren’t going my way these last few days! After installing and setting up iap, everything works fine on xcode/ios. But then I open Android Studio and Gradle project sync fails with error:
Error:(686, 0) Android NDK: Module MyGame_shared depends on undefined modules: android_native_app_glue
Do I have to move to earlier version of tools or sdk or ndk? I’m not sure what to do.
My android.mk has everything as far as I can tell:
LOCAL_CPPFLAGS := -DSDKBOX_ENABLED
LOCAL_LDLIBS := -landroid \
-llog
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../Classes
LOCAL_WHOLE_STATIC_LIBRARIES := PluginAdMob \
sdkbox \
PluginIAP \
android_native_app_glue