Error adding plugins in version 2020.3582

hi, i don’t know if it is still necessary to put in the file build.settings

plugins =

   {

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

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

      [“CoronaProvider.native.popup.social”] = {publisherId = “com.coronalabs”}

   },

both if I put it or not in the simulator the app works correctly. But when compiling it doesn’t include the plugins. If I open the apk I can see the folders inside lib that do not include the plugin.openssl.so files for example.

Can you tell me if i am doing something wrong? Can you tell me if anything has changed with this latest version before moving to Solar 2D?

exactly the error it gives me when opening the app is:

module ‘plugin.admob’ not found:resource (plugin.abmod.lu) does not exist in archive no field package.preload[‘plugin.admob’] no file ‘(null/plugin/abmod.lua’…

1 Like

I’m curious about this too. I’m having the same issue with plugin.notifications.v2 with the com.coronalabs publisher.

I suspect this may come down to hosted plugins no longer working, but I’m not sure if I’ve missed anything somewhere.

1 Like

For what it’s worth, this is what I’m seeing:

Build settings contain:

plugins =
{

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

Edit:

Update for @vlads if it helps - This happens with both offline and online builds.

1 Like

One more update (sorry for the overkill).

I fixed this by downloading the last old Corona daily build [Corona 2020.3582], then uninstalling the current Solar2D build and reverting to the old one.

On launching the simulator, it immediately told me the plugin was downloaded (it never did before). So I’m guessing there was a small code change that broke something.

Looking at my original screenshot, and I could easily be wrong here, you will notice it refers to “plugin.notifications.v2.lu” not “lua”. I wonder if it’s something as simple as a typo.

I did try to have a look through the source code on GitHub, but sadly I’m a bit out of my depth.

Hope this helps though! :slight_smile:

1 Like

Sorry. Solar2D build is still early alpha. You can use older builds for now.

2 Likes

I see, so build 2020.3582 on the old Corona Builds page is the latest working version: https://developer.coronalabs.com/downloads/coronasdk

Although Public Release is at the top of the page, scroll down to see the newest Daily Builds.

1 Like