somed3v3loper Well-Known Member Licensed User Longtime User Jun 8, 2018 #1 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
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 Jun 8, 2018 #2 Did you added a rerefence to B4Js jCore? If you are not using Eclipse you can copy the jCore.jar to the libs folder right beside your src folder Last edited: Jun 8, 2018
Did you added a rerefence to B4Js jCore? If you are not using Eclipse you can copy the jCore.jar to the libs folder right beside your src folder
somed3v3loper Well-Known Member Licensed User Longtime User Jun 8, 2018 #3 DonManfred said: Did you added a rerefence to B4Js jCore? Click to expand... How should I add it in SLC ? Should I copy the jCore to libs folder and add it to DependsOns ? I tried that but I still get the same error
DonManfred said: Did you added a rerefence to B4Js jCore? Click to expand... How should I add it in SLC ? Should I copy the jCore to libs folder and add it to DependsOns ? I tried that but I still get the same error
DonManfred Expert Licensed User Longtime User Jun 8, 2018 #4 somed3v3loper said: How should I add it in SLC ? Click to expand... you can not add it to SLC somed3v3loper said: Should I copy the jCore to libs folder Click to expand... yes somed3v3loper said: and add it to DependsOns ? Click to expand... no. Just copy to libs folder so SLC can found it while compiling BTW You ARE using the B4J_LibraryCompiler.exe, right????
somed3v3loper said: How should I add it in SLC ? Click to expand... you can not add it to SLC somed3v3loper said: Should I copy the jCore to libs folder Click to expand... yes somed3v3loper said: and add it to DependsOns ? Click to expand... no. Just copy to libs folder so SLC can found it while compiling BTW You ARE using the B4J_LibraryCompiler.exe, right????
somed3v3loper Well-Known Member Licensed User Longtime User Jun 8, 2018 #5 DonManfred said: BTW You ARE using the B4J_LibraryCompiler.exe, right???? Click to expand... I tried that and still get the same error and yes I am using B4J version
DonManfred said: BTW You ARE using the B4J_LibraryCompiler.exe, right???? Click to expand... I tried that and still get the same error and yes I am using B4J version
DonManfred Expert Licensed User Longtime User Jun 8, 2018 #6 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.
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.
somed3v3loper Well-Known Member Licensed User Longtime User Jun 8, 2018 #7 DonManfred said: 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. Click to expand... 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
DonManfred said: 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. Click to expand... 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
Erel B4X founder Staff member Licensed User Longtime User Jun 8, 2018 #8 jCore is referenced automatically. DesignerCusomView is declared in JFX.jar. Try to add it to the libs folder.
jCore is referenced automatically. DesignerCusomView is declared in JFX.jar. Try to add it to the libs folder.
somed3v3loper Well-Known Member Licensed User Longtime User Jun 11, 2018 #9 It was my mistake and it is strange no one has noticed It should be B4X: import anywheresoftware.b4j.objects.CustomViewWrapper.DesignerCustomView; instead of import anywheresoftware.b4a.keywords.Common.DesignerCustomView;
It was my mistake and it is strange no one has noticed It should be B4X: import anywheresoftware.b4j.objects.CustomViewWrapper.DesignerCustomView; instead of import anywheresoftware.b4a.keywords.Common.DesignerCustomView;