i created a new custom plugin.
with just echo parms logic, the plugin loads and methods are available
now to add the real logic… it calls a 3rd party library
build is successful,
but load fails
2024-05-14 10:37:21.335 10764-10764 Capacitor io.ionic.starter
E NativePlugin com.sd.plugins.estimoteplugin2.sduwbPlugin failed to load
com.getcapacitor.PluginLoadException: Unable to load plugin instance. Ensure plugin is publicly accessible
at com.getcapacitor.PluginHandle.load(PluginHandle.java:107)
at com.getcapacitor.PluginHandle.<init>(PluginHandle.java:65)
the class name didn’t change, only the addition of the dependencies in the plugin from before with echo type method
this is my build process
npm run build – plugin
npm install …/plugin - app
npx cap sync - app
npm run build - app
sync project - android studio
build - android studio
debug (or run) android studio