shb777 Active Member Licensed User Longtime User Feb 26, 2018 #1 I trying to do the youtube tutorial on creating a simple library and I'm getting this error: package anywheresoftware.b4a.sample; import anywheresoftware.b4a.BA.shortname; @ShortName("djimavic") /* hi */ public class djimavic { public int multiply(int x) { return x*3; } } import anywheresoftware.b4a.BA.shortname; this cannot be resolved I found the problem s and h have to be capitalized but after i fixed that i can't build the project. i've never used eclipse before Last edited: Feb 26, 2018
I trying to do the youtube tutorial on creating a simple library and I'm getting this error: package anywheresoftware.b4a.sample; import anywheresoftware.b4a.BA.shortname; @ShortName("djimavic") /* hi */ public class djimavic { public int multiply(int x) { return x*3; } } import anywheresoftware.b4a.BA.shortname; this cannot be resolved I found the problem s and h have to be capitalized but after i fixed that i can't build the project. i've never used eclipse before
jahswant Well-Known Member Licensed User Longtime User Feb 26, 2018 #2 You need to add at least 3 principal jar files to your Library project i.e (BAShared.jar,Core.jar ) from librairies in B4A installation and (Android.jar) from your SDK in the platforms folder.
You need to add at least 3 principal jar files to your Library project i.e (BAShared.jar,Core.jar ) from librairies in B4A installation and (Android.jar) from your SDK in the platforms folder.
DonManfred Expert Licensed User Longtime User Feb 26, 2018 #3 shb777 said: i've never used eclipse before Click to expand... Maybe this is of help. PD: Next time please post Library questions here. I asked Erel move this thread this time. Last edited: Feb 26, 2018
shb777 said: i've never used eclipse before Click to expand... Maybe this is of help. PD: Next time please post Library questions here. I asked Erel move this thread this time.