You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to migrate from cocos2d-x 4.0, in my project I'm using SDKBox for IAP, on iOS it was success, however on android I can only build for debug variant, I got error when building release variant, I have tired to turn off proguard but didn't work.
This is the error: ld: error: undefined symbol: cocos2d::cocos2dVersion() referenced by Tracking.o:(_GLOBAL__sub_I_Tracking.cpp) in archive ../../../../jni/sdkbox/libs_c++_static/arm64-v8a/libsdkbox.a
In debug variant if use release signing config, everything works perfectly.
Any thoughts which part going wrong?
Since SDKBox is not open source, all we can do is try to integrate it and compile to see what cocos dependancies was used. Also it was stopped maintain in Dec 2021, I will keep using it as temporary solution until I finish the native code for those features such as IAP / Game Center etc.
I'm much appreciate axis keep the compatibility for Cocos2d-x and SDKBox during the transition process. If you need any help for compatibility tests, please let me know.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi, I'm trying to migrate from cocos2d-x 4.0, in my project I'm using SDKBox for IAP, on iOS it was success, however on android I can only build for debug variant, I got error when building release variant, I have tired to turn off proguard but didn't work.
This is the error:
ld: error: undefined symbol: cocos2d::cocos2dVersion() referenced by Tracking.o:(_GLOBAL__sub_I_Tracking.cpp) in archive ../../../../jni/sdkbox/libs_c++_static/arm64-v8a/libsdkbox.aIn debug variant if use release signing config, everything works perfectly.
Any thoughts which part going wrong?
Many thanks.
All reactions