SDKBox IAP example not working with modern API level, or Android Studio

SDKBox IAP example not working with modern API level, or Android Studio
0.0 0

#22

.../proj.android-studio/app/jni/android.mk has the following line APP_STL := gnustl_static

Guess it’s cocos default (using cocos 3.15) as i never touched this file.

Anyway, if i change this line to c++_static. Still getting the same error.


#23

OK, SDKBox will support c++_static in 2.3.15 release.


#24

Hi there, same problem here.Which is the final solution?
Waiting for a new release of SDKBOX?
Remove android_native_app_glue is a good practice?


#25

Seems safe to remove android_native_app_glue


#26

will remove the android_native_app_glue flag in IAP installer, thanks.


#27

I am getting this:

java.lang.UnsatisfiedLinkError: No implementation found for void com.sdkbox.plugin.SDKBox.nativeInit(java.lang.Object, java.lang.ClassLoader) (tried Java_com_sdkbox_plugin_SDKBox_nativeInit and Java_com_sdkbox_plugin_SDKBox_nativeInit__Ljava_lang_Object_2Ljava_lang_ClassLoader_2)
at com.sdkbox.plugin.SDKBox.nativeInit(Native Method)
at com.sdkbox.plugin.SDKBox.init(SDKBox.java:71)
at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:263)


#28

how to reproduce your issue?

what ndk, cocos, APP_STL ?