aeric Expert Licensed User Longtime User Feb 27, 2024 #1 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... ?
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... ?
LucaMs Expert Licensed User Longtime User Feb 27, 2024 #2 Have you tried writing this in all your B4XPages? #ExcludeFromLibrary: True Upvote 0
aeric Expert Licensed User Longtime User Feb 27, 2024 #3 LucaMs said: Have you tried writing this in all your B4XPages? #ExcludeFromLibrary: True Click to expand... 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
LucaMs said: Have you tried writing this in all your B4XPages? #ExcludeFromLibrary: True Click to expand... 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
Erel B4X founder Staff member Licensed User Longtime User Feb 28, 2024 #4 It doesn't use any template. Try to add #ExcludeFromLibrary: True to B4XMainPage and make sure that it isn't referenced by any of the library modules. I recommend using b4xlibs in most cases. Upvote 0
It doesn't use any template. Try to add #ExcludeFromLibrary: True to B4XMainPage and make sure that it isn't referenced by any of the library modules. I recommend using b4xlibs in most cases.
aeric Expert Licensed User Longtime User Feb 28, 2024 #5 I will try to experiment it in the future. The purpose of this thread is just to understand how does the function work. Upvote 0
I will try to experiment it in the future. The purpose of this thread is just to understand how does the function work.