@Erel
I am learning how to make a small lib. I did the video tutprial and I did the firstlib. No problem. Now I go on but I don't know how?
I have this code:
@ShortName("First")
@Events(values={"Event (X As int)"})
@Version(1.01f)
public class First {
...
protected Sometype createSecondClass() {
BA.Log("ThisShown");
return new Second();
}
public class Second {
...
}
}
I can make jar and xml file, the b4a can see, and use too the things in First class part. But when I want to use a function (createSecondClass) from First what would like to initialise the Second class, then there is a noClassDefFoundError: First$Second. I have a First$Second.jar also, but I don't know what I have to say and where that b4a do know the Second class?
I made two different .java files for the two class, and I compiled to .jar.
When I compile the b4a project, the b4a can't access an imported class what there is in the before compiled .jar. B4a can show functions from .jar (because a good .xml), but can't compile.