How do I update my plugins?

I am getting error with PlayFab plugin;

ERROR: Build Failed: Unable to find plugin ‘plugin.playfab.client’ for platform ‘iphone’:
Custom URL: skipped because no table supportedPlatforms provided for plugin.playfab.client
Locally: no directory /Users/baykal/Solar2DPlugins/com.playfab/plugin.playfab.client
Locally: no file ‘/Users/baykal/Solar2DPlugins/com.playfab/plugin.playfab.client/iphone/data.tgz’
Locally: no file ‘/Users/baykal/Solar2DPlugins/com.playfab/plugin.playfab.client/data.tgz’
Solar2D Directory: plugin plugin.playfab.client was not found at Solar2D Directory
Ignore Missing checker: no plugin directory /Users/baykal/Solar2DPlugins/com.playfab/plugin.playfab.client
Unable to find plugin ‘plugin.playfab.client’ for platform ‘lua’:
Custom URL: skipped because no table supportedPlatforms provided for plugin.playfab.client
Locally: no directory /Users/baykal/Solar2DPlugins/com.playfab/plugin.playfab.client
Locally: no file ‘/Users/baykal/Solar2DPlugins/com.playfab/plugin.playfab.client/lua/data.tgz’
Locally: no file ‘/Users/baykal/Solar2DPlugins/com.playfab/plugin.playfab.client/data.tgz’
Solar2D Directory: plugin plugin.playfab.client was not found at Solar2D Directory
Ignore Missing checker: no plugin directory /Users/baykal/Solar2DPlugins/com.playfab/plugin.playfab.client

What should I do?

Hi @vlads I’m having a similar issue here with GBCDataCabinet from CandleLightGames:

22:10:03.120  FAILURE: Build failed with an exception.
22:10:03.120  
22:10:03.120  * Where:
22:10:03.120  Build file 'C:\Users\Diana Zang\AppData\Local\Temp\Corona Labs\CLtmpa03060\template\app\build.gradle.kts' line: 515
22:10:03.120  
22:10:03.120  * What went wrong:
22:10:03.120  Error while fetching plugins: ERROR: occured while collecting plugins for Android. 	Unable to find plugin 'plugin.GBCDataCabinet' for platform 'android':
22:10:03.120  	Custom URL: skipped because no table supportedPlatforms provided for plugin.GBCDataCabinet
22:10:03.120  	Locally: no directory C:\Users\Diana Zang\AppData\Roaming\Solar2DPlugins\com.gamesbycandlelight\plugin.GBCDataCabinet
22:10:03.120  	Locally: no file 'C:\Users\Diana Zang\AppData\Roaming\Solar2DPlugins\com.gamesbycandlelight\plugin.GBCDataCabinet\android\data.tgz'
22:10:03.120  	Locally: no file 'C:\Users\Diana Zang\AppData\Roaming\Solar2DPlugins\com.gamesbycandlelight\plugin.GBCDataCabinet\data.tgz'
22:10:03.120  	Solar2D Directory: plugin plugin.GBCDataCabinet was not found at Solar2D Directory
22:10:03.120  	Ignore Missing checker: no plugin directory C:\Users\Diana Zang\AppData\Roaming\Solar2DPlugins\com.gamesbycandlelight\plugin.GBCDataCabinet
22:10:03.120  Unable to find plugin 'plugin.GBCDataCabinet' for platform 'lua':
22:10:03.120  	Custom URL: skipped because no table supportedPlatforms provided for plugin.GBCDataCabinet
22:10:03.120  	Locally: no directory C:\Users\Diana Zang\AppData\Roaming\Solar2DPlugins\com.gamesbycandlelight\plugin.GBCDataCabinet
22:10:03.120  	Locally: no file 'C:\Users\Diana Zang\AppData\Roaming\Solar2DPlugins\com.gamesbycandlelight\plugin.GBCDataCabinet\lua\data.tgz'
22:10:03.120  	Locally: no file 'C:\Users\Diana Zang\AppData\Roaming\Solar2DPlugins\com.gamesbycandlelight\plugin.GBCDataCabinet\data.tgz'
22:10:03.120  	Solar2D Directory: plugin plugin.GBCDataCabinet was not found at Solar2D Directory
22:10:03.120  	Ignore Missing checker: no plugin directory C:\Users\Diana Zang\AppData\Roaming\Solar2DPlugins\com.gamesbycandlelight\plugin.GBCDataCabinet
22:10:03.120  
22:10:03.120  
22:10:03.120  * Try:
22:10:03.120  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
22:10:03.120  
22:10:03.120  * Get more help at https://help.gradle.org
22:10:03.120  
22:10:03.120  BUILD FAILED in 13s
22:10:03.425  Android build failed (1) after 17 seconds

Here’s my build.settings file, as you can see, on a scale from 1 to 10, is 1 basic :slight_smile:
It’s a pity that this happened now, I was just about to pull the final build after 6 months of work :sob:

Any ideas?

I’m working on Windows 10 Home Edition and Solar2D version 2020.3595 (2020.5.21)

EDIT: Everything works like a charm in the simulator, it’s when it tries to build it that it crashes it.

Thank you!

build.settings (1.1 KB)

@Scott_Harrison - the quote issue was not in my code; just occurred here in the forums. Your plugins are not working, period. See the attached screenshot to tell me if you see a problem. I can see from vlads post above that he found an issue with your plugins, too. This problem only occurs on iOS with your plugins; when commented out, the iOS build completes successfully. Now that this has gone on for more than a week, without being fixed, I have to ask, “How did you test it?”

@vlads - the change you made now, at least, does report an assertion error (see below), whereas in previous builds, there was no way to have any clue what was going on. Can you put the line number of the error in build.settings that caused the assertion error? This would make debugging for developers far easier, especially when the problem is a third-party plugin.

Sorry for interjecting… I’m having an issue today with the plugin ‘plugin.gpgs.v2’ and the legacy Google Game Center library (require(“plugin.gpgs.v2”)). It gives an error when I try to call a procedure from the library. I’ve been using 2020.3582 for several days, and only today it started failing. It was working 2 days ago. Do I need to update to build 3594?

My build.settings includes:

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

My actual code uses:

local gameNetwork = require("plugin.gpgs.v2")

But the following line of code generates an error:

gameNetwork.request( "login", { userInitiated=true, listener=gameNetworkLoginCallback } )

The error:

ERROR: Runtime error
/myGame/leaderboard.lua:71: attempt to call field 'request' (a nil value)

stack traceback:
/myGame/leaderboard.lua:71: in function 'gameNetworkSetup'
/myGame/leaderboard.lua:76: in function '?'
?: in function <?:189>

@dislam, your comment that it was working with 2020.3582 and just broke 2 days ago is curious. Can you try build 2020.3579? Be cautious with the new offline builds and test thoroughly before releasing anything with it. Biggest problem I’m seeing with the new builds is plugins; but your issue appears unrelated to the new post-corona Solar2D builds.

It started happening at the same time I got the Corona Editor syntax error (like an hour ago), which required me to uninstall and re-install the Corona Editor package. But the plugin issue still remains. I’m still using the old Corona builds. I’ll give 3579 a shot.

EDIT: This was the Corona Editor error, which is resolved - Sublime no longer recognizes Corona Lua

EDIT2: Still same issue with plugins in build 3579

Look like your issue is related to http:// vs https://.
Please use only https://
I am honestly just throwing your build.settings into a random corona project.

Here is the exact project I used
pluginTest kit.zip (331.5 KB)

I am using 3582, which version are you using?

Hi Scott, all my posts have been about trying to get your plugins to work in the new offline builds 2020.3595+ (now at 3597). Now, all I’m getting is…
ERROR: Runtime error
assertion failed!
stack traceback:
[C]: in function ‘assert’
?: in function ‘?’
?: in function <?:110>
Program completed in 33.87 seconds (pid: 45084).

I just verified that the solar2dmarketplace url works with the online builds; but why do that when the simply line still works?
[“plugin.gamecenter”]={publisherId=“tech.scotth”},

We still need help with the latest versions that Vlad has been working on since May 1. And you haven’t tested your plugins with any of @vlads versions since then?

GBCDataCabinet Is not a Corona Labs plugin does I couldn’t add it automatically to the free directory. However I was in contact with author and he agreed to add it. Will do some time next week.

1 Like

We know about the issue and we’re working on it.

1 Like

I figure out the issue, I tweaked my node server to be compatible with the newer versions of corona. This crashing issue should be fixed @developer0744 and @troylyndon. Thanks for the sample project @developer0744

@vlads I’ve started using build 3583 and am still seeing the issue today with the GPGS V2 plugin not recognizing any of the legacy GPGS functions (under plugin.gpgs.v2). I mean it just started happening abruptly when it was fine a few days earlier with the build unchanged. Is it an issue with the server not including these libraries in the build?

(Using Mac OS Catalina)

EDIT: Also happening on Mac OS El Capitan on my other Mac using a 32-bit build, 3480. Possibly an issue with Corona Editor. If I ignore the error and build, the app launches fine. So only on the simulator this problem appears.

That’s awesome @vlads I’m very grateful, thanks for everything!

Thanks for sharing this awesome information it is helping for me.

@Scott_Harrison and @vlads thank you both so much for working to correct those issues.

I can now build with Scott’s plugins.

@vlads, unfortunately there is something weird happening with the Appodeal beta plugin where it seems to be conflicting with other plugins. For example, combining plugin.facebook.v4a with plugin.appodeal.beta.FacebookAudience causes the build process to crash. I think other combinations are crashing as well. I’m looking more into it and will make a separate post.

Thanks. I’m working on updating appodeal plugin right now. It includes fb compatibility.

2 Likes

HEY , using 2020.3582 I get this error when trying to build on android

Summary
    23:08:26.297  BUILD FAILED in 16s
    23:08:26.297  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
    23:08:26.578  Android build failed (1) after 19 seconds
    23:09:46.522  
    23:09:46.522  Copyright (C) 2009-2020  C o r o n a   L a b s   I n c .
    23:09:46.522  	Version: 3.0.0
    23:09:46.522  	Build: 2020.3582
    23:09:46.522  Platform: SM-G900S / x64 / 10.0 / Intel(R) HD Graphics 5500 / 4.4.0 - Build 20.19.15.4531 / 2020.3582 / he_IL | IL | he_IL | he
    23:09:46.522  Loading project from:   C:\Program Files (x86)\Corona Labs\Balloon Dash
    23:09:46.522  Project sandbox folder: C:\Users\user\AppData\Local\Corona Labs\Corona Simulator\Sandbox\balloon dash-1B6B312839C2469B605A0607255A1799\Documents
    23:09:46.542  admob.init() WARNING: The AdMob plugin is only supported on Android & iOS devices. Please build for device
    23:11:56.894  
    23:11:56.894  Copyright (C) 2009-2020  C o r o n a   L a b s   I n c .
    23:11:56.894  	Version: 3.0.0
    23:11:56.894  	Build: 2020.3582
    23:11:56.894  Platform: SM-G900S / x64 / 10.0 / Intel(R) HD Graphics 5500 / 4.4.0 - Build 20.19.15.4531 / 2020.3582 / he_IL | IL | he_IL | he
    23:11:56.905  Loading project from:   C:\Program Files (x86)\Corona Labs\plugins-sample-admob-master
    23:11:56.905  Project sandbox folder: C:\Users\user\AppData\Local\Corona Labs\Corona Simulator\Sandbox\plugins-sample-admob-master-39470E5741F5C7E1EE2B6DC3B9164490\Documents
    23:11:57.042  admob.init() WARNING: The AdMob plugin is only supported on Android & iOS devices. Please build for device
    23:12:05.159  Testing credentials for 'C:\Program Files (x86)\Corona Labs\Corona\Resources\debug.keystore': 
    23:12:07.297  jar signed.
    23:12:07.297  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
    23:12:08.814  Using custom build id from app bundle: 00000 (AppSettings.lua)
    23:12:08.814  
    23:12:08.814  Using custom Build Id 00000
    23:12:26.357  @ver > NUL
    23:12:26.357  Exception in thread "DisconnectableInputStream source reader" org.gradle.api.UncheckedIOException: java.io.IOException: Access is denied
    23:12:26.357  	at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:61)
    23:12:26.357  	at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)
    23:12:26.357  	at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:125)
    23:12:26.357  	at java.lang.Thread.run(Thread.java:745)
    23:12:26.357  Caused by: java.io.IOException: Access is denied
    23:12:26.357  	at java.io.FileInputStream.readBytes(Native Method)
    23:12:26.357  	at java.io.FileInputStream.read(FileInputStream.java:255)
    23:12:26.357  	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
    23:12:26.357  	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
    23:12:26.357  	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
    23:12:26.357  	at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:96)
    23:12:26.357  	... 1 more
    23:12:26.357  Error while fetching plugins
    23:12:26.357  
    23:12:26.357  
    23:12:26.357  FAILURE: Build failed with an exception.
    23:12:26.357  
    23:12:26.357  * Where:
    23:12:26.357  Build file 'C:\Users\user\AppData\Local\Temp\Corona Labs\CLtmpa18836\template\app\build.gradle.kts' line: 595
    23:12:26.357  
    **23:12:26.357  * What went wrong:**
    **23:12:26.357  Error while fetching plugins**
    23:12:26.357  
    23:12:26.357  * Try:
    23:12:26.357  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    23:12:26.357  
    23:12:26.357  * Get more help at https://help.gradle.org
    23:12:26.357  
    23:12:26.357  BUILD FAILED in 15s
    23:12:26.357  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
    23:12:26.653  Android build failed (1) after 18 seconds
    23:21:50.345

as you can see this is admob sample project, which works good on corona public 2018 build, I have admob plugin on my account from the store… any method to get it to work ?

can you help ? @vlads @Scott_Harrison

@tal_nahum,

  1. get the build 3583 to support Xcode 11.5
  2. the online version, which 3583 is, downloads all plugins, so you only need to properly activate a plugin and make sure build.settings includes them with proper parameters.

@vlads said that he’s working on an appodeal plugin update. What other plugins are you needing to use?

what do u mean xcode? im using to build android only not iPhone
I installed 3583… the app does build but it wont show admob ads… for now , admob is showing only for 2018 public build, how do I fix this ?