Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


E/lo-bootstrap(32001): lo_apkentry: File assets/program/unorc is compressed
E/lo-bootstrap(32001): lo_apkentry: File assets/rc is compressed

That's the key here, the files in assets should not be compressed
because the code (in sal/android/lo-bootstrap.c, used from LO code in
sal/osl/unx) that reads them expects them to be usable as such, part
of the memory-mapped .apk file.

This is a fatal error, I think, I probably should change lo_apkentry()
to just quit if it notices that a file that the code wants to read is
compressed in the .apk.

The build.xml file in the DocumentLoader directory re-defines the
"-package-resources" Ant target (originally from somewhere in the SDK)
so that no so-called resources (files in assets or res/raw) are
compressed in the .apk.

Are you perhaps using a different build.xml without this modification,
or did you build DocumentLoader using Eclipse, and that then didn't
use build.xml? Hopefully there is some way in Eclipse, too, to achieve
the same. (Sorry; I haven't really used Eclipse.)

--tml

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.