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