[Lazarus] Android build without ant

Sven Barth pascaldragon at googlemail.com
Thu Mar 29 09:06:12 CEST 2012

Am 27.03.2012 10:42, schrieb Felipe Monteiro de Carvalho:
> The next issues:
> 1>  How to add more files to the apk. aapt tool seams to have no way
> for me to specify where the file will be inside the package and here
> it simply strips all of the paths, not even keeping the relative dir
> =/
> F:\Programas\lazarussvn\examples\androidlcl\android>aapt a bin\androidlcltest.ap
> _ libs\armeabi\liblclapp.so
>   'libs\armeabi\liblclapp.so' as 'liblclapp.so'...<<--- I want it to
> add as "lib\armeabi\liblclapp.so"

I just got an idea: what if you specifiy only the "libs" directory and 
not the library itself? It seems that aapt just plainly adds what you 
tell it.


aapt a bin\androidlcltest.ap_ libs

Note: I did not test it, it's just an idea.


More information about the Lazarus mailing list