[Libreoffice] Android bitlets ...
tml at iki.fi
Wed Jan 18 12:58:40 PST 2012
> * size of /data too small: (default seems to be 54Mb or so)
I think 54 MB is just enough for the default applications; the LO
ucalc unit test app will certainly not fit in that as the
LibreOfficeQA-SC-debug.apk file itself is already something like 68
I use -partition-size 500 when I start the emulator. I typically use a
emulator-arm -avd avd.vi -no-audio -no-window -partition-size 500
(avd.vi is the name I gave this avd...)
adb shell df says for me:
Filesystem Size Used Free Blksize
/dev 252M 32K 252M 4096
/mnt/asec 252M 0K 252M 4096
/mnt/obb 252M 0K 252M 4096
/system 484M 151M 333M 4096
/data 490M 287M 202M 4096
/cache 64M 1M 62M 4096
after a "adb shell stop; adb shell start" (which seems to be necessary
now and then for files which are removed to actually stop taking disk
space, or something).
> E/AndroidRuntime( 594): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load lo-bootstrap: findLibrary returned null
probably there was a lack of space to unpack the .apk... Do a "adb
shell ls -l /data/data/org.libreoffice.android.qa.sc/lib" and see how
many of the native libs are missing.
> * building fails with missing local.properties errors
Ah yes. The local.properties that gets automatically set up by I don't
remember which command says for me:
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
# This file must *NOT* be checked in Version Control Systems,
# as it contains information specific to your local configuration.
# location of the SDK. This is only used by Ant
# For customization when using a Version Control System, please read the
# header note.
So I didn't add it to git ;) clearly if we add a
--with-android-sdk=/foo switch we should create it automatically.
> Presumably that's utterly wrong ;-) but ... it got me a bit further.
I don't remember. I think the local.properties with its sdk.dir
pointer is the only thing missing, otherwise the files in git should
be enough as is for ant.
More information about the LibreOffice