Java Question [solved] Trying to compile B4AViewEx library with SLC

Toky Olivier

Active Member
Licensed User
Longtime User
Hello,
I tried to compile the B4AViewEx (https://github.com/AnywhereSoftware/B4A_ViewsEx) with SLC but I always got error:

B4X:
Starting step: Compiling Java code.
javac 1.8.0_172
C:\Android\SimpleLibraryCompiler\ViewEx\src\anywheresoftware\b4a\objects\FloatLabeledEditTextWrapper.java:5: error: package android.view does not exist
import android.view.View;
                   ^
1 error


Error.

I tested also compilation of a sample Lib of mine (Using DesignerCustomView) and I got similar error (sample wrapping of a library):
B4X:
Starting step: Compiling Java code.
javac 1.8.0_172
C:\Android\SimpleLibraryCompiler\MyCard\src\mg\soinalastudio\MyCardView.java:49: error: cannot find symbol
public class MyCardView extends ViewWrapper<MyCardView> implements DesignerCustomView{
                                                                   ^
  symbol: class DesignerCustomView
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error

How to solve thoses errors please?
 

Toky Olivier

Active Member
Licensed User
Longtime User
I don't know wich libs I should copy to "libs" folder before compilation. Or I missed something?
 

Toky Olivier

Active Member
Licensed User
Longtime User
Ah, I see. It's the exe file without prefix "B4J". Sorry. I'll try that. May be It's better to rename it to have a prefix "B4A" in the name. Thank you.
 
Top