Can't build Solar2D project with plugins (Windows 10, Android) - plugins not loading, missing folders

Here’s what @Siu said over on Discord:

If you’re on Windows, you can copy the cached plugins from %USERPROFILE%\AppData\Roaming\Solar2DPlugins\Caches\Solar2Directory\solar2d\ (or coronalabs if it’s a Corona plugin, other folders might exsist here)
into %USERPROFILE%\AppData\Roaming\Solar2DPlugins; this is the location it looks for during build process with no internet access.

For Android builds, you would still need an additional workaround to skip server timestamp lookup, see more here: "unable to sign jar: no response from the Timestamping Authority." - #6 by Siu

With those two, you’re pretty much set for offline builds on Windows, but in order to have each plugin cached you must build at least once for the specific platform and plugin while online.

Also, for reference, plugins hosted by Solar2D are actually fetched from the GitHub repo, not the solar2d.com web server. :slightly_smiling_face:

If you’re on Mac, I would assume the process would be similar, I just don’t know where the cache location is.