Android Question Simple Library Compiler - problem

StarinschiAndrei

Active Member
Licensed User
Longtime User
Hi everyone,

I try to wrap my first library but even i don't have any error during compilation, i can't use the generated lib (when i check the lib i get the error from attached b4a-error.png). Because i don't know java i generated the java file with gemini :(
Can someone help me solve this problem? i attached slc log, the entire folder structure.
Thank you
 

Attachments

  • B4A_Tremol_Project.zip
    243.8 KB · Views: 20
  • b4a-error.png
    b4a-error.png
    10.7 KB · Views: 30
  • SCL log.txt
    21.4 KB · Views: 20
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
You have two options, and both of them require using the compiled jar instead of the source code.

1. Create a wrapper in Java that access the library API.
2. Use #AdditionalJar + JavaObject + inline Java to access the API.

Don't try to compile everything with SLC. Even if you will solve all the compilation issues, it will not be usable.
 
Upvote 0

StarinschiAndrei

Active Member
Licensed User
Longtime User
You have two options, and both of them require using the compiled jar instead of the source code.

1. Create a wrapper in Java that access the library API.
2. Use #AdditionalJar + JavaObject + inline Java to access the API.

Don't try to compile everything with SLC. Even if you will solve all the compilation issues, it will not be usable.
Thank you Erel
 
Upvote 0
Top