B4A Library [Tool] Simple Library Compiler - Build libraries without Eclipse

Status
Not open for further replies.

victormedranop

Well-Known Member
Licensed User
Longtime User
HI, I need to add a so file using with this amazing tool.
I try

B4X:
     static {
         try {
             Log.i(LOG_TAG, "Printer library loaded");
             System.loadLibrary("libserial_port.so");
             _IS_LIB_LOADED = true;
         }
         catch (UnsatisfiedLinkError | Exception e) {
             e.printStackTrace();
             Log.e(LOG_TAG, "Error loading printer library");
             Log.e(LOG_TAG, e.getMessage());
             _IS_LIB_LOADED = false;
         }
     }


but is not working. I understand that is not copy this file.

any help will be appreciated.

Victor
 

vvg

Member
Licensed User
Longtime User

I am getting following error...
Starting step: Compiling Java code.
javac 1.8.0_131
C:\Professional Project01\B4A Projects\simple libraray compiler with mate project\By Mate Technologies\SimpleBluetoothPrintingApp\FirstLibrary\src\DeviceListActivity.java:62: error: unmappable character for encoding UTF-8
setContentView(R.layout.device_list); //?????????
^
1 error
Error.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…