How to use static library (.a file) for a C++ builder XE 10 android project?


I have created a Multi-Device Application with C++ builder 10 seattle for android , and I want to call some functions from a static library (for example : libProject2.a) .

Open C++ builder IDE , enter the library path at

Project -> Options -> C++(Share options) -> Library path ; enter library name

(for example : libProject2 ) at Project -> Option -> C++ Linker -> Additionally linked libraries , but I got the below when build the project .

error: cannot find -llibProject2

How to call functions from a static library for c++ builder XE 10 android project ?

Comments are closed.