DocumentLoader Error

Louis Lu lb0501 at gmail.com
Thu Jun 21 20:55:39 PDT 2012


Iain Billett <iainbillett <at> gmail.com> writes:

> 
> 
> Hi, 
> 
> I'm having a problem with DocumentLoader. It builds and installs fine but it 
can't open the rc asset files saying they are compressed. Here are the errors: 
> 
> 
> E/lo-bootstrap(32001): lo_apkentry: File assets/program/unorc is compressed
> E/lo-bootstrap(32001): lo_apkentry: File assets/rc is compressed
> W/System.err(32001): com.sun.star.uno.RuntimeException: Cannot obtain 
UNO_TYPES from uno ini
> W/System.err(32001): 	at 
com.sun.star.comp.helper.Bootstrap.cppuhelper_bootstrap(Native Method)
> W/System.err(32001): 	at 
com.sun.star.comp.helper.Bootstrap.defaultBootstrap_InitialComponentContext(Boot
strap.java:206)
> W/System.err(32001): 	at 
com.sun.star.comp.helper.Bootstrap.defaultBootstrap_InitialComponentContext(Boot
strap.java:171)
> W/System.err(32001): 	at 
org.libreoffice.android.examples.DocumentLoader.onCreate(DocumentLoader.java:176
)
> W/System.err(32001): 	at 
android.app.Activity.performCreate(Activity.java:4465)
> W/System.err(32001): 	at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
> W/System.err(32001): 	at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
> W/System.err(32001): 	at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
> W/System.err(32001): 	at 
android.app.ActivityThread.access$600(ActivityThread.java:123)
> W/System.err(32001): 	at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
> W/System.err(32001): 	at android.os.Handler.dispatchMessage(Handler.java:99)
> W/System.err(32001): 	at android.os.Looper.loop(Looper.java:137)
> W/System.err(32001): 	at 
android.app.ActivityThread.main(ActivityThread.java:4424)
> W/System.err(32001): 	at java.lang.reflect.Method.invokeNative(Native Method)
> W/System.err(32001): 	at java.lang.reflect.Method.invoke(Method.java:511)
> W/System.err(32001): 	at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
> W/System.err(32001): 	at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
> W/System.err(32001): 	at dalvik.system.NativeStart.main(Native Method)
> 
> 
> Thanks, 
> 
> Iain.
> 
> 

Sir,

I am trying to build DocumentLoader on Android with Eclipse too.
I have created a new project in my own directory, not in libreoffice source 
directory.

Here is the error message I got:
Couldn't load lo-bootstrap: findLibrary returned null

Maybe I should copy lo-bootstrap.c in sal/android to somewhere else?

Or should I build it with ndk-build to make it become a .so library?
If this is what I should do; where can I find the Android.make file?

Please help me

Thank you







More information about the LibreOffice mailing list