Bug 89801 - Can't install on Android CyanogenMod 12 (5.02)
Summary: Can't install on Android CyanogenMod 12 (5.02)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
4.5.0.0.alpha0+ Master
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-03 13:22 UTC by janghou
Modified: 2015-03-05 10:51 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description janghou 2015-03-03 13:22:12 UTC
Can't install on Android Resurrection Remix based on CyanogenMod 12 (5.0.2) N7100 (Fdroid version
http://forum.xda-developers.com/galaxy-note-2/development/rom-resurrection-remix-5-2-2-t2974539

03-03 13:39:53.906   24972-1112/org.fdroid.fdroid I/org.fdroid.fdroid.net.HttpDownloader﹕ Downloading from https://f-droid.org/repo/com.collabora.libreoffice_9.apk
03-03 13:41:37.901  24972-24972/org.fdroid.fdroid D/FDroid﹕ Using cached apk at /storage/emulated/0/Android/data/org.fdroid.fdroid/cache/apks/com.collabora.libreoffice_9.apk
03-03 13:41:37.901  24972-24972/org.fdroid.fdroid D/FDroid﹕ Download finished: /storage/emulated/0/Android/data/org.fdroid.fdroid/cache/apks/com.collabora.libreoffice_9.apk
03-03 13:41:37.901    2415-3130/system_process I/ActivityManager﹕ START u0 {act=android.intent.action.INSTALL_PACKAGE dat=file:///storage/emulated/0/Android/data/org.fdroid.fdroid/cache/apks/com.collabora.libreoffice_9.apk cmp=com.android.packageinstaller/.PackageInstallerActivity (has extras)} from uid 10055 on display 0
03-03 13:42:04.436    2415-2916/system_process I/ActivityManager﹕ START u0 {dat=file:///storage/emulated/0/Android/data/org.fdroid.fdroid/cache/apks/com.collabora.libreoffice_9.apk flg=0x2000000 cmp=com.android.packageinstaller/.InstallAppProgress (has extras)} from uid 10042 on display 0
03-03 13:42:05.021    1192-1209/? W/DefContainer﹕ Failed to copy package at /storage/emulated/0/Android/data/org.fdroid.fdroid/cache/apks/com.collabora.libreoffice_9.apk
    java.io.IOException: Failed to create container smdl1404498837.tmp
            at com.android.defcontainer.DefaultContainerService.copyPackageToContainerInner(DefaultContainerService.java:324)
            at com.android.defcontainer.DefaultContainerService.access$000(DefaultContainerService.java:67)
            at com.android.defcontainer.DefaultContainerService$1.copyPackageToContainer(DefaultContainerService.java:108)
            at com.android.internal.app.IMediaContainerService$Stub.onTransact(IMediaContainerService.java:60)
            at android.os.Binder.execTransact(Binder.java:446)

Does install on N7000 Omnirom 4.4.4
Comment 1 Robinson Tryon (qubit) 2015-03-04 00:21:28 UTC
(In reply to janghou from comment #0)
> Can't install on Android Resurrection Remix based on CyanogenMod 12 (5.0.2)
> N7100 (Fdroid version
> http://forum.xda-developers.com/galaxy-note-2/development/rom-resurrection-
> remix-5-2-2-t2974539

Installing on a Nexus S with CM 11 (Android 4.4.4) works for me. I'm not sure that I can easily get CM 12 (or a derivative) on my phone, but I could test w/another device.

Do you know anyone else running CM 12 or using Android 5.x?

(Kendy: Have you done any testing w/Android 5?)
Comment 2 janghou 2015-03-04 10:42:52 UTC
FYI 
I tried it on a 4.4.2 Android-x86 image in VirtualBox. It does install, but crashes on opening, after downloading:
http://api.libreoffice.org/examples/cpp/DocumentLoader/test.odt
Comment 3 Robinson Tryon (qubit) 2015-03-04 18:22:15 UTC
(In reply to janghou from comment #2)
> FYI 
> I tried it on a 4.4.2 Android-x86 image in VirtualBox. It does install, but
> crashes on opening, after downloading:
> http://api.libreoffice.org/examples/cpp/DocumentLoader/test.odt

I've filed bug 89821 for the Android-x86 problem (as I think it's a separate issue). I'll cc you there as well.
Comment 4 Robinson Tryon (qubit) 2015-03-04 21:29:36 UTC
(In reply to Robinson Tryon (qubit) from comment #1)
> (In reply to janghou from comment #0)
> > Can't install on Android Resurrection Remix based on CyanogenMod 12 (5.0.2)
> > N7100 (Fdroid version
> > http://forum.xda-developers.com/galaxy-note-2/development/rom-resurrection-
> > remix-5-2-2-t2974539
> 
> Installing on a Nexus S with CM 11 (Android 4.4.4) works for me. I'm not
> sure that I can easily get CM 12 (or a derivative) on my phone, but I could
> test w/another device.

Tested on Nexus 7 2012 + Android 5.0.2, and had no issues installing LO Viewer (same version as above) and opening the test.odt file.

Do you have problems installing any other apks? Try installing firefox from F-droid. The LO Viewer shares some code with it, and that might be a good test to see if this is a problem specific to LO.

Status -> NEEDINFO
Comment 5 janghou 2015-03-05 09:36:02 UTC
I use Firefox from F-Droid without any problem.

But I do have a similar problem with another app:
Network Discovery.
ttps://f-droid.org/repository/browse/?fdfilter=network&fdid=info.lamatricexiste.network&fdpage=3

I used that on any Android device I have, but it fails to install on 5.02:
The same (De-)Installation Error.
Comment 6 Jan Holesovsky 2015-03-05 10:51:51 UTC
f-droid specific problems (that are not experieced with the app from the Google Play) would be best to report to f-droid I guess, we do not do those builds. Closing this bug based on comment 4.

Thanks for the report - and sorry that we cannot really help you :-(