Java Question cannot find symbol : DesignerCustomView

somed3v3loper

Well-Known Member
Licensed User
Longtime User
Hi
I am trying to create a library for B4J (SLC) that implements DesignerCustomView but at compiling I get this error
B4X:
import anywheresoftware.b4a.keywords.Common.DesignerCustomView;
                                           ^
  symbol:   class DesignerCustomView
  location: class Common
 

DonManfred

Expert
Licensed User
Longtime User
Did you added a rerefence to B4Js jCore?

frc084.png


If you are not using Eclipse you can copy the jCore.jar to the libs folder right beside your src folder
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User

DonManfred

Expert
Licensed User
Longtime User

somed3v3loper

Well-Known Member
Licensed User
Longtime User
https://www.b4x.com/android/forum/threads/slc-tool-and-structures.58467/#post-368176
Check this post.

you project should have this folderstructure to compile
src your wrappercode
libs jCore.jar

Upload the project you have right now. Ißll check later today. For now i need to go to work.
I have done many wraps using SLC for B4A and B4J
so the structure is not the problem
it does not need any project my project was compiling ok till I decided to implement DesignerCustomView interface
 

somed3v3loper

Well-Known Member
Licensed User
Longtime User
It was my mistake and it is strange no one has noticed :D
It should be
B4X:
import anywheresoftware.b4j.objects.CustomViewWrapper.DesignerCustomView;
instead of
import anywheresoftware.b4a.keywords.Common.DesignerCustomView;
 
Top