Appodeal modular mode plugin problem on Amazon. Corona: Developer Error...does not target the Google Play store, but includes Google Play Services.

We have been using the Appodeal modular mode plugin for Corona SDK. We have been using interstitials with very few issues on Android & Amazon.

Now we are trying to test Reward Videos on Amazon.

When we run the app on an Amazon device we get a window (with only an Exit option) that says:

Corona: Developer Error…does not target the Google Play store, but includes Google Play Services.

It only happens if we uncomment the following line:

[‘plugin.appodeal.Vungle’] = { publisherId = ‘com.coronalabs’ },

NOTES:

Version 2018.3240 (2018.3.21)

Some other Reward Videos seem to run fine (Unity worked and displayed a video)

We can run Vungle ads with no problem using the standalone Vungle plugin on Amazon

Build settings and everything work fine. It’s just uncomment the Vungle appodeal line and it seems to break the Amazon app on the device.

Thanks in advance for your help!

Can you post your build.settings please?

Rob

Hi Rob,

Yes, sorry for the delay. Just built with the latest public build and same issue:

 

settings =

{

    splashScreen =

    {

        ios = {

            enable = false

        },

        android = {

            enable = false,

        }

    },

    

    excludeFiles = {

            iphone = { “Icon-*dpi.png”, “Icon-Amazon.png”, “*.mp4” },

            

            android = { “Default-*.png”, “Default@*.png”, “Icon.png”, “Icon-Small-*.png”,

                    “LaunchScreen.storyboardc”, “Images.xcassets”,

                    “*.mov”, “font_vp_covers2*”,

                    “Icon*@2x.png”, “Icon*@3x.png”, “Launch*.png” },

    },

 

–==========================================================================================

– desktop build settings

–==========================================================================================

    window = {

        titleText = {

            default = “Vegas Fun”,

        },

        defaultViewWidth = 1024, – 1136,

        defaultViewHeight = 600, – 640,

        resizable = false

    },

    

–==========================================================================================

– android Google build settings

–==========================================================================================

    

–!!! FINAL BUILD CHECK ++++++++++++++++++++

–^^^^^^^^^^^^^^^^ For GOOGLE gIsAndroid builds ^^^^^^^^^^^^^^^^^^^^^^^    

    android =

    {

        largeHeap = true,

        

        usesPermissions =

        {

            “com.android.vending.CHECK_LICENSE”,

            “com.android.vending.BILLING”,

            

            “android.permission.ACCESS_NETWORK_STATE”,

            “android.permission.INTERNET”,

            “android.permission.WRITE_EXTERNAL_STORAGE”,

            “android.permission.VIBRATE”,

        },

        facebookAppId = “xxxx”,

    },

–^^^^^^^^^^^^^^^^ For GOOGLE ANDROID builds ^^^^^^^^^^^^^^^^^^^^^^^

    

–==========================================================================================

– orientation build settings

–==========================================================================================

    orientation =

    {

default = “landscapeRight”,

supported = { “landscapeLeft”, “landscapeRight” }

    },

 

–==========================================================================================

– plugin build settings

–==========================================================================================

        

        plugins = {

 

                [‘plugin.vibrator’] = {publisherId = ‘com.spiralcodestudio’},

 

                

–Uncomment these for Google builds only

–            [“plugin.google.iap.v3”] =

–            {

–                publisherId = “com.coronalabs”,

–                supportedPlatforms = { android=true }

–            },

 

–%%%%%%%%%%%%%%%%% Amazon builds – gIsAmazon  %%%%%%%%%%%%%%%%%%%%%%%%%%%%

        [“plugin.amazon.iap”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { [“android-kindle”]=true }

        },

–%%%%%%%%%%%%%%%%% Amazon builds  %%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

–^^^^^^^^^^^^^^^^ For GOOGLE ANDROID builds ^^^^^^^^^^^^^^^^^^^^^^^

–^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 

        

–*** Facebook

            

        [“plugin.facebook.v4”] =

        {

            publisherId = “com.coronalabs”

        },

   

–*** Kochava (attribution)

        [“plugin.kochava.faa”] =

        {

            publisherId = “com.coronalabs”,

–            supportedPlatforms = { iphone=true, android=true, [“iphone-sim”]=true }

        },

 

–******MODULAR MODE***********

 

– Base

[‘plugin.appodeal.base’] = { publisherId = ‘com.coronalabs’ },

–%%%%%%%%%%%%%%%%% Amazon builds – gIsAmazon  %%%%%%%%%%%%%%%%%%%%%%%%%%%%

[‘plugin.appodeal.AmazonAds’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.TwitterMoPub’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.StartApp’] = { publisherId = ‘com.coronalabs’ },

----[‘plugin.appodeal.GoogleAdMob’] = { 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.MillenialMedia’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.Yandex’] = { publisherId = ‘com.coronalabs’ },

 

– Interstitial

–isANDROID

[‘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.MillenialMedia’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.Ogury’] = { 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’ },

–%%%%%%%%%%%%%%%%% Amazon builds – gIsAmazon  %%%%%%%%%%%%%%%%%%%%%%%%%%%%

[‘plugin.appodeal.Vungle’] = { publisherId = ‘com.coronalabs’ },

----[‘plugin.appodeal.Tapjoy’] = { publisherId = ‘com.coronalabs’ },

 

 

 

        [“plugin.flurry.analytics”] =

        {

            publisherId = “com.coronalabs”

        },

        

–        [“CoronaProvider.gameNetwork.google”] =

–        {

–            publisherId = “com.coronalabs”,

–            supportedPlatforms = { android=true }

–        },

        

 

---- *** SSL OLD wording

            [“plugin.openssl”] = { publisherId = “com.coronalabs”, },

        },

 

 

–==========================================================================================

– iPhone build settings

–==========================================================================================

 

    iphone =

    {

        xcassets = “Images.xcassets”,

        plist =

        {

 

            MinimumOSVersion = “8.0”,

            UIApplicationExitsOnSuspend = false,

            

            ITSAppUsesNonExemptEncryption = false,

–            UIRequiredDeviceCapabilities={“bluetooth-le”},

       

–###############################

NSAppTransportSecurity =

{

           NSAllowsArbitraryLoads = true,

},

–###############################

–            – Whitelist Facebook Apps iOS

            LSApplicationQueriesSchemes =

            {

                “fb”,

                “fbapi”,

                “fbauth2”,

                “fb-messenger-api”,

                “fbshareextension”,

                “fbauth”,

                “fbauth2”,

            },

 

            FacebookAppID = “xxxx”,

            CFBundleURLTypes =

            {

                { CFBundleURLSchemes = { “xxxx”, } }

            },

        

        --icon image files table (see section above)

–            CFBundleIconFile = “Icon.png”,

            UILaunchStoryboardName = “LaunchScreen”,

        

        }

    },

    

}

Have you tried the beta version of the plugin?  

http://docs.coronalabs.com/plugin/appodeal/index.html

Scroll down to the beta section. You might have more luck on Amazon with it.

Rob

There is again huge problem with appodeal plugin.

Can’t make new build and live apps have problems with gpgs save/load because of appodeal plugin!

If an app has hundred of thousands users this is not acceptable.

You are hurting corona developers.

Why?

Guys from appodeal please check it asap and don’t pretend that there is no problem like you did a few weeks ago for another issue.

build.settings:

settings =

{

 

plugins =

{

        

        – Base

[‘plugin.appodeal.beta.base’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.AmazonAds’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.GoogleAdMob’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.TwitterMoPub’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.StartApp’] = { publisherId = ‘com.coronalabs’ },

 

– Banner

–[‘plugin.appodeal.beta.AppLovin’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.FacebookAudience’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.Flurry’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.InMobi’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.MyTarget’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.Yandex’] = { publisherId = ‘com.coronalabs’ },

 

– Interstitial

–[‘plugin.appodeal.beta.AdColony’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.AppLovin’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.Chartboost’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.FacebookAudience’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.Flurry’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.InMobi’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.IronSource’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.Mobvista’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.MyTarget’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.StartApp’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.Ogury’] = { publisherId = ‘com.coronalabs’ },

 

– Rewarded Video

[‘plugin.appodeal.beta.AdColony’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.AppLovin’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.Chartboost’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.FacebookAudience’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.Flurry’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.InMobi’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.IronSource’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.Mobvista’] = { publisherId = ‘com.coronalabs’ },

–[‘plugin.appodeal.beta.MyTarget’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.StartApp’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.Unity’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.Vungle’] = { publisherId = ‘com.coronalabs’ },

[‘plugin.appodeal.beta.Tapjoy’] = { publisherId = ‘com.coronalabs’ },

        

        [“plugin.pollfish”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android=true }

        },

        

        [“plugin.gpgs”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android=true }

        },

},       

 

    orientation =

    {

        default = “portrait”,

        supported =

{

“portrait”, “portraitUpsideDown”,

               },

    },

     

android =                

    {

        versionCode = “1”,

        googlePlayGamesAppId = “1111111111111111111”,

    

        usesPermissions =

     {

      “android.permission.INTERNET”,

      “android.permission.ACCESS_WIFI_STATE”,

      “android.permission.READ_PHONE_STATE”,

      “android.permission.ACCESS_NETWORK_STATE”,

      “android.permission.WRITE_EXTERNAL_STORAGE”

     },

},  

 

}

 

*****************************************************************

I get this error:

Aug 23 12:08:15.209 ERROR: An error occurred during build (corona.build.7). The server returned the following message:

                    —

                    A device build error occurred on the server. 

                    

                    Error: An unknown build error occurred. Contact support@coronalabs.com with the following information:

                    Error in server build script: build3_output_android.sh:419

                    

                    Detailed error log

                    

                    

                    BuildID: 5b7dd0a047645

                    —

Aug 23 12:08:15.210 

Aug 23 12:08:15.900 Android build failed (5) after 101 seconds

Aug 23 12:08:16.249 ERROR: Build Failed: A device build error occurred on the server. 

                    

                    Error: An unknown build error occurred. Contact support@coronalabs.com with the following information:

                    Error in server build script: build3_output_android.sh:419

                    

                    Detailed error log

                    

                    

                    BuildID: 5b7dd0a047645

                    

                    Error code: 5

Can you try commenting out pollfish and see if you still have build problems?

Rob

I had no problems with the same exact code a week ago (months ago too).

For what reason polfish could be the problem? 

(Although I checked it, no luck)

I’m 100% sure they did something wrong from appodeal.

It’s not the first time and is soooo frustrating.

Because we have dropped support for Pollfish. I would think the plugin would still build for those using it, but we might have done something disabling it for new people to use in the past few days.

Rob

Why did you drop support for polfish?

It’s a great plugin and I want to keep using it. 

I try to build with the same code and I get a new error!!

Aug 23 12:50:18.117 BuildID: kCoronaBuild [A device build error occurred on the server. 

                    

                    Error: Get plugin failed. 

                    

                    Plugin: plugin.appodeal.beta.Chartboost 

                    Publisher: com.coronalabs 

                    

                    BuildID: 5b7dda8741501

Aug 23 12:50:18.117 ERROR: An error occurred during build (corona.build.7). The server returned the following message:

                    —

                    A device build error occurred on the server. 

                    

                    Error: Get plugin failed. 

                    

                    Plugin: plugin.appodeal.beta.Chartboost 

                    Publisher: com.coronalabs 

                    

                    BuildID: 5b7dda8741501

                    —

Aug 23 12:50:18.118 

Aug 23 12:50:18.875 Android build failed (5) after 81 seconds

Aug 23 12:50:19.231 ERROR: Build Failed: A device build error occurred on the server. 

                    

                    Error: Get plugin failed. 

                    

                    Plugin: plugin.appodeal.beta.Chartboost 

                    Publisher: com.coronalabs 

                    

                    BuildID: 5b7dda8741501

                    

                    Error code: 5

I’m trying to get an answer to that question. 

Rob

Appodeal plugin is fine now.

Please stop doing these things!

gpgs still not working.

Google play games message about account selecting appears so initialisation is ok.

After that there is no restoration (already completed levels from previous installation etc etc)

Something wrong with gpgs.snapshots.open?

Please check it!

Hey there, guys!

We are working on the solution in coop with Appodeal engineers team. Will get back to you asap.

Any info about gpgs stop working?

I have live apps. uploaded a couple of months ago and gpgs works fine.

If I do now a new build with the same code it doesnt work! 

I use gpgs to store/retrieve (levels completed etc etc) data on google play games .

Any info about gpgs stop working?

Sure. A comment from one of our responsible engineer:
That version of GPGS plugin is outdated. The issue has been fixed in GPGS-v2, but it’s still on testing and QA process. Soon it should become public, we’ll notify you about it.

Gpgs not working isn’t a minor issue.

There should give a heads up.

How long do we have to wait?

If hundreds of users reinstall an app every day and don’t get their data/progress back it’s really annoying and bad for the app.

I’m a big fun/supporter of Corona SDK but this is another slap in the face.

What would be helpful is to have some debugging information on why GPGS isn’t working.  “It’s broke. Fix it” isn’t very helpful, in particular with really big plugins like GPGS.  What would be a lot more helpful is a sample project with your code in it (complete with build.settings and config.lua) and a capture of an “adb logcat” sessions looking for errors from Google about why it’s not working. It’s really hard to speculate as to why something isn’t working for you.

Rob

I was about to send complete code and logs but I got an email that it’s a known problem so I didn’t.

My opinion is that problems that big shouldn’t exist.

Or there should be a heads up and really fast solution.

Full time developers and newbies would appreciate it.

Thanks for helping.

The plugin is being updated to use a new GPGS library that gets away from using Google Plus to log in. Hopefully, this will contain updates that address other potential bugs, but we won’t know for certain unless we know what the specific issue is.

BTW: The new version of the plugin is a 100% rewrite of the old plugin. Every node had to be touched. This has taken a significant amount of time to do. I’m hoping that everything stayed call-compatible, but that’s why we need to do a lot of testing on it before we release it.

Rob

Any news about the GPGS-v2 plugin?

ETA maybe?

I’m asking.