EVolley [423] NetworkDispatcher.processRequest Unhandled exception java.lang.RuntimeException Bad URL
Subscribe all articles: https://www.patreon.com/posts/31606065
Buy single article: https://gum.co/JKAvG
update:
"old" solution doesn't work, I think it's mopub sdk bug, tmply don't use mopub
old:
reason and solution:
mopub init is not like other ad sdk, mopub init need wait it inited and then
load ad, so if i before ad init and load ad, it will raise some err, I use
following code to listen mopub init finish and then run load ad
boolean isInit = false;
@Override
public void init() {
SdkConfiguration sdkConfiguration = new SdkConfiguration.Builder
(interstitialAdUnit)
.withLogLevel(MoPubLog.LogLevel.DEBUG)
.withLegitimateInterestAllowed(false)
.build();
MoPub.initializeSdk(act, sdkConf
...(see full article in relative links)