[PLATFORM]: ERROR: Runtime error module 'plugin.openssl' not found:resource (plugin.openssl.lu) does not exist in archive
- [x] I tried searching Solar2D forums for the solution.
Describe the bug Unable to run the native mobile application because of the run time error ERROR: Runtime error module 'plugin.openssl' not found:resource (plugin.openssl.lu) does not exist in archive
It seems the plugins are not installed automatically or I may be missing a configuration
To Reproduce Steps to reproduce the behavior:
- Copy the corona cross platform templates for android and ios with Corona projects
- Add a new plugin in the
Corona/build.settings - Run the native application
- You should see an error in logs and screen, please refer below screenshot
Target platform and where build was made:
- Device: iPhone11 pro simulator, android Pixel 5 simulator
- OS: IOS 14.4, Android API 30
Additional context I am trying a spike withe openssl plugin. Following the guidelines I have added the plugin to the build.settings file. The native app templates are a copy of the simulator templates.
Same thing happens if I add any other plugin
-- File: Corona/main.lua
local openssl = require "plugin.openssl"
Below is the screenshot of how the project structure and the settings file look.

whole test project or build.settings
--
-- For more information on build.settings see the Corona Build Guide at:
-- http://docs.coronalabs.com/guide/distribution/buildSettings/index.html
--
settings =
{
--[[
orientation =
{
default = "portrait",
supported = { "portrait" }
},
--]]
plugins =
{
["plugin.openssl"] =
{
publisherId = "com.coronalabs"
},
},
iphone =
{
xcassets = "Images.xcassets",
plist =
{
UILaunchStoryboardName = "LaunchScreen",
},
},
}
It seems you're running M1 Arm processor. Unfortunately I failed to build OpenSSL plug-in for M1. I'll keep trying and will let you know if I was successful. Thank you so much for detailed report.
Hi @Shchvova, thanks for responding to my issue. I am actually building on 2.3 GHz Quad-Core Intel Core i7, hope it helps.
Same problem. i've solved this by adding plugins manually.
Here you can read how to do this https://forums.solar2d.com/t/cant-start-app-from-android-studio-plugins-not-found/354445
Closing due collector support being add in to Solar2D Native and should now download the plugins (including for open ssl) Also a patch was implmented for m1 for open ssl