FairBid 初始化踩坑日记
升级了 SDK,换了新账号,就报这个错了
2021-04-07 03:05:47.274 23755-24018/com.DM.dig E/FairBid: FairBid has encountered an error and is shutting down in 5 seconds.
kotlin.UninitializedPropertyAccessException: lateinit property currentSession has not been initialized
at com.fyber.fairbid.sdk.session.UserSessionTracker.trackAuction(SourceFile:1)
at com.fyber.fairbid.q5.a(SourceFile:265)
at com.fyber.fairbid.sdk.placements.MediateResponseParser.a(SourceFile:141)
at com.fyber.fairbid.sdk.placements.MediateResponseParser.a(SourceFile:84)
at com.fyber.fairbid.sdk.placements.MediateResponseParser.lambda$aqtjGi2skRZPCyURx5YeTklFL0I(Unknown Source:0)
at com.fyber.fairbid.sdk.placements.-$$Lambda$MediateResponseParser$aqtjGi2skRZPCyURx5YeTklFL0I.onComplete(Unknown Source:16)
at com.fyber.fairbid.common.concurrency.SettableFuture$a.run(SourceFile:2)
at com.fyber.fairbid.t.run(SourceFile:1)
at com.fyber.fairbid.t.run(SourceFile:1)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
最后发现是banner的ID跟fairbid的appid, intID 和rewardID不是同一组的。。。。。。。。。
bannerid是之前的,修改为新的就行了,还有就是不能为空,三个ID都要有