I want to make a library for android app, but PackageCompiler doc didn’t tell how to do it.
Welcome to Julia!
I only saw the question now, and Android (and iOS) are not well supported (yet). I.e. they have no official Julia support.
PackageCompilerl.jl supports the same platforms Julia supports, i.e. not explicitly mobile/Android. It might work on Android, since I think Android only needs standard Linux libraries?! You will then need to bundle Julia’s runtime, i.e. Linux Julia on Andoird (and maybe macOS Julia would work on iOS?), but it’s going to be non-small, and docs not really telling how (maybe Linux docs will work with modification):
Note, there’s also:
and it neither supports Android explicitly, but it might work (also for iOS? does it have the same dynamic linking as on macOS?). This will give you small libraries, but only for a subset of Julia code, most Julia code will not work.