Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

plugin.gpgs not found error
Started by d.mach Nov 18 2016 02:28 AM

10 replies to this topic
google gpgs plugin error
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Contributor

  • 974 posts
  • Corona SDK

The plugin was activated and I thought I have implemented it correctly.

Does it need an uploaded .apk to the dev console to work? How to test on device then?

 

The current .apk file is bringing the plugin.gpgs not found error message.

 

What did I miss here?

 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,697 posts
  • Enterprise

You will probably have to at least upload an Alpha build, but I'm not 100% certain of that. We have to solve the error first. Can you post the exact error you're getting preferably from  your devices console log (using adb logcat or similar)?

 

Also please post your build.settings file.

 

Thanks

Rob



[TOPIC: post.html]
#3

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Contributor

  • 974 posts
  • Corona SDK

Chris made a screenshot of the error message and below are details from the build.settings file:

 

 
 android =
    {
                versionCode="10",
                versionName="1.0",
                UIStatusBarHidden = true,
                minSdkVersion = "14", -- means it is not allowed to install on older version than SDK 4.0 !!!
                largeHeap = true,

                -- needed for the game services:
                googlePlayGamesAppId = "XXXXXXXXXX", -- number from the Games Services in Developer Console
            

        usesPermissions =
        {
                    "com.android.vending.BILLING",
                    "com.android.vending.CHECK_LICENSE",
                    "android.permission.INTERNET",
                    "android.permission.WRITE_EXTERNAL_STORAGE",
                    "android.permission.ACCESS_NETWORK_STATE", -- needed for the vungle plugin
        },
    },

...

 plugins =
            {
            
                -- key is the name passed to Lua's 'require()'
                ["CoronaProvider.analytics.flurry"] =
                {
                    -- required
                    publisherId = "com.coronalabs",
                },
                
                ["plugin.google.iap.v3"] =
                {
                    publisherId = "com.coronalabs",
                    supportedPlatforms = { android=true }
                },

                ["CoronaProvider.ads.vungle"] =
                {
                    publisherId = "com.vungle"
                },

                ["plugin.google.play.services"] =
                {
                    publisherId = "com.coronalabs",
                    supportedPlatforms = { iphone=true, android=true }
                },

                ["plugin.gpgs"] =
                {
                    publisherId = "com.coronalabs",
                    supportedPlatforms = { iphone=true, android=true }
                },


            },



[TOPIC: post.html]
#4

neviah

[GLOBAL: userInfoPane.html]
neviah
  • Enthusiast

  • 50 posts
  • Corona SDK

I have this same problem, as if the package wasn't even downloaded. 



[TOPIC: post.html]
#5

Rene.castillo

[GLOBAL: userInfoPane.html]
Rene.castillo
  • Enthusiast

  • 59 posts
  • Corona SDK

im tired trying to implement this new plugin, its not compatible with a lot of plugins and the snapshot.open looks like nothing happend, i just change to this because of the snapshot but its a crazyness to integrate it, please work on the sample app 



[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,697 posts
  • Enterprise

Just to double check, each of you has gone in to https://marketplace.coronalabs.com/plugin/google-play-games-services (or go to the marketplace and search for "google play") and activated the plugin?

 

Rob



[TOPIC: post.html]
#7

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,697 posts
  • Enterprise

I think there were some screen shots at some point attached to @d.mach's post, but they are not there now. I have other people reporting issues too.  What I really need from everyone is the exact message copy/pasted from your console log on your device. Your build.settings is useful too as well as the code where you're requiring the plugin, initializing it and trying to login.  Please make sure to use code formatting.

 

Thanks,

Rob



[TOPIC: post.html]
#8

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Contributor

  • 974 posts
  • Corona SDK

Here is the screenshot again...

Attached Files



[TOPIC: post.html]
#9

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,697 posts
  • Enterprise

Are you trying to init GPGS in main.lua or a scene module?

Are you requiring it at the top of the module?

Are you trying to use it in conjunction with the legacy plugin?

What happens if you temporarily remove Vungle and the plugin.google.play.services plugin (and comment out the Vungle code so it won't error)?

 

Thanks

Rob



[TOPIC: post.html]
#10

neviah

[GLOBAL: userInfoPane.html]
neviah
  • Enthusiast

  • 50 posts
  • Corona SDK

Are you trying to init GPGS in main.lua or a scene module?

Are you requiring it at the top of the module?

Are you trying to use it in conjunction with the legacy plugin?

What happens if you temporarily remove Vungle and the plugin.google.play.services plugin (and comment out the Vungle code so it won't error)?

- Main.lua

- Yes
- No, removed it.
- Don't use vungle in this project (just corona ads), and I commented out  plugin.google.play.services and the screenshots below are what you see.
 
Thought I followed instructions to the T *shrugs*  and yes, it's activated through the website, the plugin.

Attached Files



[TOPIC: post.html]
#11

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,697 posts
  • Enterprise

@neviah, can you post your build.settings file please?

 

Rob




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: google, gpgs, plugin, error