Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Appodeal error not found resource
Started by naumov1301 Mar 01 2020 09:20 AM

11 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

naumov1301

[GLOBAL: userInfoPane.html]
naumov1301
  • Observer

  • 9 posts
  • Corona SDK

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?!



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,680 posts
  • Enterprise

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

 

Rob



[TOPIC: post.html]
#3

naumov1301

[GLOBAL: userInfoPane.html]
naumov1301
  • Observer

  • 9 posts
  • Corona SDK

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



[TOPIC: post.html]
#4

naumov1301

[GLOBAL: userInfoPane.html]
naumov1301
  • Observer

  • 9 posts
  • Corona SDK

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



[TOPIC: post.html]
#5

naumov1301

[GLOBAL: userInfoPane.html]
naumov1301
  • Observer

  • 9 posts
  • Corona SDK

ERROR: configuring 'plugin.appodeal.Smaato_com.coronalabs' failed!



[TOPIC: post.html]
#6

naumov1301

[GLOBAL: userInfoPane.html]
naumov1301
  • Observer

  • 9 posts
  • Corona SDK

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



[TOPIC: post.html]
#7

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Corona Geek

  • 1,246 posts
  • Corona SDK

            [[
                <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
            ]],

 

 

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.



[TOPIC: post.html]
#8

naumov1301

[GLOBAL: userInfoPane.html]
naumov1301
  • Observer

  • 9 posts
  • Corona SDK

Friends please help



[TOPIC: post.html]
#9

naumov1301

[GLOBAL: userInfoPane.html]
naumov1301
  • Observer

  • 9 posts
  • Corona SDK

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



[TOPIC: post.html]
#10

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,415 posts
  • Corona SDK

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.



[TOPIC: post.html]
#11

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,680 posts
  • Enterprise

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

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

 

Rob



[TOPIC: post.html]
#12

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Corona Geek

  • 1,246 posts
  • Corona SDK

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' },
},

 




[topic_controls]
[/topic_controls]