mopub

MoPub: TransformException - ZipException: duplicated entry when building on gradle

早过忘川 提交于 2019-12-12 03:36:19
问题 I'm trying to integrate MoPub into my app. I imported the sdk into my app: compile('com.mopub.sdk.android:mopub:4.4.1@aar') { transitive = true; } But an error is returned when I tried to build it. Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/internal/zzqq$zza.class I have imported the com.google.android.gms llibrary into my app: compile(

MoPub install AdMob via CocoaPods

▼魔方 西西 提交于 2019-12-11 13:55:22
问题 I attempted to install AdMob support via cocoapods with the following podfile: use_frameworks! pod 'mopub-ios-sdk' pod 'mopub-ios-sdk/AdMob' ..and received the following error: [!] The 'Pods' target has transitive dependencies that include static binaries: (/Users/<username>/Documents/Developer/<app>/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.1.0/GoogleMobileAds.framework) Any idea why that's happening? I'm running El Capitan 10.11.4, CocoaPods 0.39.0, and XCode 7.3. 回答1: This is the

Mopub Integration for Android Studio

不羁的心 提交于 2019-12-10 16:51:50
问题 As of this question I have been unable to find any resources or help on how to integrate the Mopub library project in Android Studio as everything is still only documented for Eclipse. I used Facebook's article on integrating their library in Android Studio as a guide but still have issues. For reference here's their article: https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android-using-android-studio/3.0/ Does anyone have a step-by-step process for integrating MoPub in

iOS & Mopub: app freezes when loading ad on a slow network

家住魔仙堡 提交于 2019-12-10 11:09:33
问题 My code look like this as described in the getting started guide see link: http://help.mopub.com/customer/portal/articles/82831-start-guide - (void)viewDidLoad { self.adView = [[MPAdView alloc] initWithAdUnitId:@"xxx" size:MOPUB_BANNER_SIZE]; self.adView.delegate = self; self.adView.frame = CGRectMake(0, self.view.bounds.size.height - MOPUB_BANNER_SIZE.height, MOPUB_BANNER_SIZE.width, MOPUB_BANNER_SIZE.height); self.adView.keywords = keywords; [self.view addSubview:self.adView]; [self.adView

Embedding ads on Android app?

六眼飞鱼酱① 提交于 2019-12-09 04:00:25
问题 I would like to make a free version of the Android app I have, but would like to embed ad on it. I am not sure where I should start? Is there a well known mobile ad company out there that is specialized in mobile advertising? 回答1: I have personally used both Admob and Adsense. I was wary when I first implemented ads thinking that my users would be upset, but I have not received one complaint from over 500,000 active installations. The only permission that you need to add for either ad SDK to

Facebook Audience Network Ads integration Issue

女生的网名这么多〃 提交于 2019-12-08 19:23:30
问题 E/FBAudienceNetwork: You are using custom Application class and don't call AudienceNetworkAds.isInAdsProcess(). Multi-process support will be disabled. Please call AudienceNetworkAds.isInAdsProcess() if you want to support multi-process mode. implementation 'com.facebook.android:audience-network-sdk:5.1.0' implementation 'com.mopub.mediation:facebookaudiencenetwork:5.1.0.2' am using FAN along with Mopub. How to fix the above issue? Thanks in advance. 回答1: It's likely because you use custom

How to integrate Mopub Native ads in between content

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-08 11:22:59
问题 I have integrated Mopub native ads in listview all working good but i want to show native ads in between my content not in listview. I tried this MoPubNative.MoPubNativeNetworkListener moPubNativeListener = new MoPubNative.MoPubNativeNetworkListener() { @Override public void onNativeLoad(NativeAd nativeAd) { // ... } @Override public void onNativeFail(NativeErrorCode errorCode) { // ... } }; MoPubNative moPubNative = new MoPubNative(SingleActivity.this, "ffb8734de73e4d62b93bae99c06db41f",

MoPub Integration problems with Eclipse - Build Path / Jars

北城余情 提交于 2019-12-08 09:48:29
问题 On the MoPub Integration Instructions it says to go to Properties, Build Path and click on 'add jar' and then to Click Add Jars and add the mopub-volley-1.1.0.jar from your download location . I may be misunderstanding this, but when I click on Add Jars, I can only select locations within projects that are situation within my Eclipse workspace. Is it supposed to say 'Add External Jars'?........ It doesn't show this, it specifically shows the 'Add Jars' button highlighted, as you can see: Or

Fabric-Mopub/Android Single Native ad In Activity

只谈情不闲聊 提交于 2019-12-08 06:46:02
问题 I'm an Android Developper and I use Mopub/Fabric to integrate ads in my apps. For Banner/Interstitiel/Native Ad List, it's ok. But I have some issues with a specific way to integrate Native Ad. Let me explain : I have an Activity (with a ViewPager) which implement an Adapter (BaseAdapter) and a ViewHolder to display data. In each child of my ViewPager, there are : First : Some text Second : My Native Ad Third : A button. Is there a way to accomplish this with a MoPubAdAdapter or something

Integrating Mopub ads into Cocos2dx 2.1

半世苍凉 提交于 2019-12-06 14:08:06
问题 The Mopub integration instructions suggest creating the ad view in xml with a snippet like this: <com.mopub.mobileads.MoPubView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/adview" android:layout_width="fill_parent" android:layout_height="50dp" /> Then the instructions suggest creating the ad view in the activity's create method like this: moPubView = (MoPubView)findViewById(R.id.adview); moPubView.setAdUnitId("123412341234"); moPubView.loadAd(); Unfortunately