When I call the method ATRewardVideoAutoAd.init(this.activity, new String[]{"rewarded video ad slot", ""}) of the advertising SDK, your anti-cheating system will trigger the app to crash, but this is a normal ad loading behavior.
Here are the download addresses for all dependency packages of the advertising SDK. Could you please help verify if the crash is abnormal? When I comment out the code System.loadLibrary("ggdetection"); , it works normally without crashing.
DownloadURL:
https://mrapvdcf.tds1.tapfiles.cn/kBTjUkV92WEalcvIlumtyVXxANWsWc9T/sdk.zip
.this java files
//
// Decompiled by Jadx - 587ms
//
package com.Smliegame.jjxxbf;
import android.content.Context;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.anythink.core.api.ATSDK;
import com.anythink.rewardvideo.api.ATRewardVideoAd;
import com.anythink.rewardvideo.api.ATRewardVideoAutoAd;
import com.anythink.rewardvideo.api.ATRewardVideoAutoLoadListener;
import com.anythink.rewardvideo.api.ATRewardVideoListener;
import java.util.HashMap;
public class mian extends iPv6 {
public static String TAG = "ToponSDK";
public static ATRewardVideoAutoLoadListener autoEventListener = null;
public static ATRewardVideoAutoLoadListener autoLoadListener = null;
public static ATRewardVideoAd mRewardVideoAd = null;
public static String 激励视频广告位 = "b667018c818614";
private View.OnClickListener $_on_setOnClickListener_an1;
public an an1;
public final mian lei;
public xxbj mian_v;
public wb wb1;
public wb wb2;
public xxbj xxbj2;
public final mian 类;
public void on_loading(Object obj) {
System.loadLibrary("ggdetection");
try {
自动激励视频回调();
ATSDK.init(this.activity.getApplicationContext(), "a6670187d693bc", "ac5a873d119f6fe95257195c9faf97e3c");
ATSDK.start();
ATRewardVideoAutoAd.init(this.activity, new String[]{激励视频广告位, ""}, autoLoadListener);
syso("sdk初始化成功");
} catch (Throwable th) {
syso(th);
}
}
public void 自动激励视频回调() {
autoLoadListener = new mian$1(this);
}
public void loadAd(Context context, String str, ATRewardVideoListener aTRewardVideoListener) {
if (mRewardVideoAd == null) {
mRewardVideoAd = new ATRewardVideoAd(context, str);
}
HashMap hashMap = new HashMap();
hashMap.put("user_id", "test_userid_001");
hashMap.put("user_custom_data", "test_userdata_001");
mRewardVideoAd.setAdListener(aTRewardVideoListener);
mRewardVideoAd.setLocalExtra(hashMap);
mRewardVideoAd.load();
}
public void showAd() {
ATRewardVideoAd.entryAdScenario("your rv placementID", "your scenarioID");
if (mRewardVideoAd.isAdReady()) {
mRewardVideoAd.show(this.activity, "your scenarioID");
}
}
public void initPlacementIdLocalExtra(String str) {
String str2 = "test_userdata_001_" + str + "_" + System.currentTimeMillis();
HashMap hashMap = new HashMap();
hashMap.put("user_id", "test_userid_001");
hashMap.put("user_custom_data", str2);
Log.i(TAG, "Set PlacementId:" + str + ": UserId:test_userid_001| userdata:" + str2);
ATRewardVideoAutoAd.setLocalExtra(str, hashMap);
}
public void $_onClick_an1(View view) {
loadAd(this.activity, 激励视频广告位, new mian$2(this));
showAd();
}
public mian(AppInfo appInfo) {
super(appInfo);
this.$_on_setOnClickListener_an1 = new mian$3(this);
this.mian_v = null;
this.xxbj2 = null;
this.wb1 = null;
this.wb2 = null;
this.an1 = null;
this.lei = this;
this.类 = this;
}
public View on_$_viewAutomaticSettingEvent(int i, ViewGroup.LayoutParams layoutParams) {
xxbj xxbjVar = new xxbj(this._APPINFO);
this.mian_v = xxbjVar;
LinearLayout linearLayout = xxbjVar.st;
if (layoutParams == null) {
layoutParams = new ViewGroup.MarginLayoutParams(-2, -2);
}
When I call the method ATRewardVideoAutoAd.init(this.activity, new String[]{"rewarded video ad slot", ""}) of the advertising SDK, your anti-cheating system will trigger the app to crash, but this is a normal ad loading behavior.
Here are the download addresses for all dependency packages of the advertising SDK. Could you please help verify if the crash is abnormal? When I comment out the code System.loadLibrary("ggdetection"); , it works normally without crashing.
DownloadURL:
https://mrapvdcf.tds1.tapfiles.cn/kBTjUkV92WEalcvIlumtyVXxANWsWc9T/sdk.zip
.this java files
//
// Decompiled by Jadx - 587ms
//
package com.Smliegame.jjxxbf;
import android.content.Context;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.anythink.core.api.ATSDK;
import com.anythink.rewardvideo.api.ATRewardVideoAd;
import com.anythink.rewardvideo.api.ATRewardVideoAutoAd;
import com.anythink.rewardvideo.api.ATRewardVideoAutoLoadListener;
import com.anythink.rewardvideo.api.ATRewardVideoListener;
import java.util.HashMap;
public class mian extends iPv6 {
public static String TAG = "ToponSDK";
public static ATRewardVideoAutoLoadListener autoEventListener = null;
public static ATRewardVideoAutoLoadListener autoLoadListener = null;
public static ATRewardVideoAd mRewardVideoAd = null;
public static String 激励视频广告位 = "b667018c818614";
private View.OnClickListener $_on_setOnClickListener_an1;
public an an1;
public final mian lei;
public xxbj mian_v;
public wb wb1;
public wb wb2;
public xxbj xxbj2;
public final mian 类;