Java - Plugin/Extension for application | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Java - Plugin/Extension for application

I've been developing an Android app. But, It'll be better if I can make plugin support for my application. I know you'll recommend ClassLoader for this. But, here the problem occurs. I tried it in every way but failed. It throws exceptions like "can't load class from bytes" and others. Can you suggest me any other way that could be useful for me. May be with or without ClassLoader. Because, it won't load that class ever. * The plugin class's package name is same as app's * I developed the class with AIDE from bin folder I collected the plugin class

5th Jun 2020, 8:17 AM
AA Shakil
AA Shakil - avatar
0 Answers