Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

Building to android fails when I try to include the "plugin.gpgs.v2" pllugin
Started by nml2727 Dec 29 2019 12:10 PM

1 reply to this topic
gpgs plugin.gpgs.v2 build failed android build failed plugins
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Enthusiast

  • 96 posts
  • Corona SDK

I was able to build to my android device just fine until I added the code for leaderboards.   Specifically, it seems that the gpgs.v2 plugin is not being loaded properly.   I get a whole slew of text in the console output but I've copied the start of it below.  I also have listed my plugins section from build.settings below as well.  I get no errors in the simulator, only when I try to build to the device does it fail. 
Does anyone have any ideas?
13:45:55.077  Using custom Build Id 00000
13:45:55.391  Excluding specified files from build: 
13:45:55.391     excluding: LaunchScreen.storyboardc
13:45:55.391     excluding: Icon.png
13:45:55.391     excluding: Icon-*dpi.png
13:45:55.391     excluding: Images.xcassets
13:46:39.185  @ver > NUL
13:46:39.185  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
13:46:39.185  Exception in thread "DisconnectableInputStream source reader" org.gradle.api.UncheckedIOException: java.io.IOException: Access is denied
13:46:39.185  at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:61)
13:46:39.185  at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)
13:46:39.185  at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:125)
13:46:39.185  at java.base/java.lang.Thread.run(Thread.java:830)
13:46:39.185  Caused by: java.io.IOException: Access is denied
13:46:39.185  at java.base/java.io.FileInputStream.readBytes(Native Method)
13:46:39.185  at java.base/java.io.FileInputStream.read(FileInputStream.java:273)
13:46:39.185  at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:245)
13:46:39.185  at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:285)
13:46:39.185  at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:344)
13:46:39.185  at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:96)
13:46:39.185  ... 1 more
13:46:39.185  ERROR: configuring 'shared.google.play.services.games_com.coronalabs' failed!
	-- Plugins section
	plugins =
		["plugin.google.iap.v3"] =
			publisherId = "com.coronalabs"
		--["plugin.gpgs.v2"] =
       --     publisherId = "com.coronalabs",
        --    supportedPlatforms = { ["android"]=true }
       -- },


[TOPIC: post.html]

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,681 posts
  • Enterprise

What version of Corona are you using?

Please make sure you have Java JDK 1.8 installed.




Also tagged with one or more of these keywords: gpgs, plugin.gpgs.v2, build failed, android build failed, plugins