Android Question Compile To Library

aeric

Expert
Licensed User
Longtime User
I am reading this post: https://www.b4x.com/android/forum/t...-match-expected-signature.159463/#post-979115

I am wondering, the function in menu Project -> Compile To Library (Alt + 5) is used for creating B4A library with "Default" template?

It won't work if we use a B4XPages template.

We can use B4XPages template to test and develop the Custom View library but the class need to be created as .b4xlib?

If I insist, I need to remove B4XPages class, commented out related code in Main, uncheck B4XPages library, add XUI library, etc... ?
 

aeric

Expert
Licensed User
Longtime User
Have you tried writing this in all your B4XPages?

#ExcludeFromLibrary: True
Yes. I got an error.
I tried with the xLimitBar example in B4X Booklet.
B4X:
B4A Version: 12.80
Parsing code.    Error
Error parsing program.
Error description: Unknown type: b4xmainpage
Are you missing a library reference?
Error occurred on line: 73 (B4XPages)
Public Sub MainPage As B4XMainPage
 
Upvote 0
Top