Appodeal error not found resource

Good day, the Appodeal plugin doesn’t work. when called via require (“plugin.appodeal”) throws an error - " module ‘plugin.appodeal’ not found: resource " please tell me what may be the reason?!

Do you have it in your plugins section of your build.settings file?

Rob

settings = { iphone = { }, android = { applicationChildElements = { [[\<meta-data android:name="com.google.android.gms.ads.APPLICATION\_ID" android:value="[YOUR\_ADMOB\_APP\_ID]"/\> -- replace with your app id. See: https://goo.gl/fQ2neu ]], }, }, plugins = { -- Base ['plugin.appodeal.base'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.GoogleAdMob'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' }, -- Banner ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.FacebookAudience'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Flurry'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.InMobi'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.MyTarget'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Yandex'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AmazonAds'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.TwitterMoPub'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Smaato'] = { publisherId = 'com.coronalabs' }, -- Interstitial ['plugin.appodeal.AdColony'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Chartboost'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.FacebookAudience'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Flurry'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.InMobi'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.IronSource'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Mobvista'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.MyTarget'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Ogury'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AmazonAds'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.TwitterMoPub'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Smaato'] = { publisherId = 'com.coronalabs' }, -- Rewarded Video ['plugin.appodeal.AdColony'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Chartboost'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.FacebookAudience'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Flurry'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.InMobi'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.IronSource'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Mobvista'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.MyTarget'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Unity'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Vungle'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Tapjoy'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.TwitterMoPub'] = { publisherId = 'com.coronalabs' }, }, }

Yes I took build.settings from the Appodeal plugin guide

Also there is an error " appodeal.init() WARNING: The Appodeal plugin is only supported on Android and iOS devices. Please build for device"

ERROR: configuring ‘plugin.appodeal.Smaato_com.coronalabs’ failed!

when enable the plugin, you can’t compile the project

If I remember correctly, you need to set your AdMob app ID there or else you can’t build.

Also, you don’t need to add all those plugins to Appodeal. The docs may be a bit unclear about this, but you are essentially writing the same thing over and over again, see:

-- Base (These three are unique, which is great!) ['plugin.appodeal.base'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.GoogleAdMob'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' }, -- But everything below here starts getting repeated. You need to call them just once. -- Banner (this is just a comment line, it doesn't actually mean that these are "banner plugins.") ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' }, -- Interstitial (repeat x2) ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' }, -- Rewarded Video (repeat x3) ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' },

I just picked AppLovin as an example.

Basically, pick whatever ad networks you want and then require them once. I think that the list there just shows what they can provide, but it may mislead to believing that you would need to require them more than once.

Friends please help

ERROR: There was a problem downloading plugin ‘shared.google.play.services.ads_com.coronalabs’. Please, try again

Ummmm. You should switch the the beta anyhow since the non-beta is not compliant soon with Google. The last couple of days I have built 3 of my apps with the new beta version without a problem.

Ad plugins don’t work in the simulator. This is an expected message.

Rob

Just a quick note. It is great that you are now using a proper AdMob app ID, but consider editing your post and changing it to something like:
 

android:value="[ca-app-pub-1234567890]"

This way we’ll know that you are indeed using a proper ID, but you also don’t share your confidential information here on open forums.

Also, you need to include the base plugin in your project first, i.e.

plugins = { ['plugin.appodeal.beta.base'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.beta.GoogleAdMob'] = { publisherId = 'com.coronalabs' }, },