I follow this tutorial to embed OSGi into my Android application. However, after installing and starting a bundle, its state became RESOLVED (4), not ACTIVE (32) as it must be. When I try to start once again, it throws an exception:
Bundle#1 start failed
java.lang.ClassNotFoundException: org.knopflerfish.tutorial.simplebundle.impl.Activator
org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:421)
org.knopflerfish.framework.BundleThread.run(BundleThread.java:145)
This bundle is sample bundle from Knopflerfish examples source. It works well when installed in Knopflerfish destop (framework.jar)
I already thought of dex, but it is no use to merge the jar file and its dex file, it still doen't work.
What is problem here? Thank you very much!