I’m also having another issue where sdkbox is missing in debug / production build using 3.3.0.
Basically,
Build the Project
Make the Project
Import/Update the SDKBox’s plugin (eg: IAP).
Make the Project again
Install APK on android to test
We will get sdkbox is not defined error
Please kindly help me fix this issue ASAP guys. Many thanks in advance!
Update: I changed to 3.2.1 and I could test IAP when debug mode is enabled. When, debug is disabled, I couldn’t get any product info. I didn’t get any error from getinitializedErrMsg() and nothing is printed in logcat as well.
I managed to extract errors from production build.
Are we tracking users’ information?
Most importantly, how do I fix those errors (no such errors in debug build) ?
2021-09-16 21:18:06.658 13122-13150/? W/System.err: java.lang.NoSuchMethodError: no static method "Lcom/sdkbox/plugin/TrackingInfoAndroid;.getSystemVersion()Ljava/lang/String;"
2021-09-16 21:18:06.659 13122-13150/? E/SDKBOX_CORE: JNI_BRIDGE Not found static method getSystemVersion, for clazz com/sdkbox/plugin/TrackingInfoAndroid and signature ()Ljava/lang/String;
2021-09-16 21:18:06.659 13122-13150/? W/System.err: java.lang.NoSuchMethodError: no static method "Lcom/sdkbox/plugin/TrackingInfoAndroid;.getAppPackageId()Ljava/lang/String;"
2021-09-16 21:18:06.659 13122-13150/? E/SDKBOX_CORE: JNI_BRIDGE Not found static method getAppPackageId, for clazz com/sdkbox/plugin/TrackingInfoAndroid and signature ()Ljava/lang/String;
2021-09-16 21:18:06.659 13122-13150/? W/System.err: java.lang.NoSuchMethodError: no static method "Lcom/sdkbox/plugin/TrackingInfoAndroid;.getCountryCode()Ljava/lang/String;"
2021-09-16 21:18:06.659 13122-13150/? E/SDKBOX_CORE: JNI_BRIDGE Not found static method getCountryCode, for clazz com/sdkbox/plugin/TrackingInfoAndroid and signature ()Ljava/lang/String;
2021-09-16 21:18:06.659 13122-13150/? W/System.err: java.lang.NoSuchMethodError: no static method "Lcom/sdkbox/plugin/TrackingInfoAndroid;.getDeviceName()Ljava/lang/String;"
2021-09-16 21:18:06.659 13122-13150/? E/SDKBOX_CORE: JNI_BRIDGE Not found static method getDeviceName, for clazz com/sdkbox/plugin/TrackingInfoAndroid and signature ()Ljava/lang/String;
2021-09-16 21:18:06.659 13122-13150/? W/System.err: java.lang.NoSuchMethodError: no static method "Lcom/sdkbox/plugin/TrackingInfoAndroid;.getTimestamp()Ljava/lang/String;"
2021-09-16 21:18:06.660 13122-13150/? E/SDKBOX_CORE: JNI_BRIDGE Not found static method getTimestamp, for clazz com/sdkbox/plugin/TrackingInfoAndroid and signature ()Ljava/lang/String;
2021-09-16 21:18:06.660 13122-13150/? W/System.err: java.lang.NoSuchMethodError: no static method "Lcom/sdkbox/plugin/TrackingInfoAndroid;.getChannel()Ljava/lang/String;"
2021-09-16 21:18:06.660 13122-13150/? E/SDKBOX_CORE: JNI_BRIDGE Not found static method getChannel, for clazz com/sdkbox/plugin/TrackingInfoAndroid and signature ()Ljava/lang/String;
2021-09-16 21:18:06.660 13122-13150/? W/System.err: java.lang.NoSuchMethodError: no static method "Lcom/sdkbox/plugin/TrackingInfoAndroid;.getAppName()Ljava/lang/String;"
2021-09-16 21:18:06.660 13122-13150/? E/SDKBOX_CORE: JNI_BRIDGE Not found static method getAppName, for clazz com/sdkbox/plugin/TrackingInfoAndroid and signature ()Ljava/lang/String;
2021-09-16 21:18:06.660 13122-13150/? W/System.err: java.lang.NoSuchMethodError: no static method "Lcom/sdkbox/plugin/TrackingInfoAndroid;.getAndroidId()Ljava/lang/String;"
2021-09-16 21:18:06.660 13122-13150/? E/SDKBOX_CORE: JNI_BRIDGE Not found static method getAndroidId, for clazz com/sdkbox/plugin/TrackingInfoAndroid and signature ()Ljava/lang/String;
2021-09-16 21:18:06.660 13122-13150/? W/System.err: java.lang.NoSuchMethodError: no static method "Lcom/sdkbox/plugin/TrackingInfoAndroid;.getNetworkType()Ljava/lang/String;"
2021-09-16 21:18:06.660 13122-13150/? E/SDKBOX_CORE: JNI_BRIDGE Not found static method getNetworkType, for clazz com/sdkbox/plugin/TrackingInfoAndroid and signature ()Ljava/lang/String;
2021-09-16 21:18:06.660 13122-13150/? W/System.err: java.lang.NoSuchMethodError: no static method "Lcom/sdkbox/plugin/TrackingInfoAndroid;.trackRequest(Ljava/lang/String;)V"
2021-09-16 21:18:06.661 13122-13150/? E/SDKBOX_CORE: JNI_BRIDGE Not found static method trackRequest, for clazz com/sdkbox/plugin/TrackingInfoAndroid and signature (Ljava/lang/String;)V
2021-09-16 21:18:06.661 13122-13150/? E/SDKBOX_CORE: JNIInvoke with null obj ref.
We have to finish a project by end of this month.
We assumed what already working in 2.x would work in 3.x and we didn’t test IAP until a few days ago.
I tried to fix it but, sdkbox is a compiled jar and I couldn’t touch it.
So, we do need your support ASAP.