Closed szhu closed 7 years ago
Would you mind to test with another packages than Aroma, but with a '.gapps-config.' file instead? Also, could you check if the clock app is also not shown in the list at settings -> apps -> show system apps?
Clock app is not shown.
Is there a generator for .gapps-config
or can you make me a .gapps-config
for just testing this? I understand aroma but the .gapps-config
documentation is kind of long, even though it supports pretty much the same options.
@szhu if you install the 'mini' package (or a larger one) the clock will be installed without making the .gapps-config
; would it be possible for you to test with that package?
This is my personal device and I didn't want to risk losing app data for the apps that would become uninstalled as a result of installing a smaller package, so instead I took the time to figure out how to use gapps-config
.
And the verdict: Clock is still not installed.
adb shell ls /system/app/PrebuiltDeskClockGoogle
: yes
adb shell pm list packages | grep -F .clock
: no
In Settings > Apps? no
Exact same problem with CM 14.1-20161202-nightly-m8
Very interesting; because the Clock app is for all Android versions (4.4 and up) the same APK. So that it fails on only 7.1 is a weird situation.
Could you get a logcat that includes the logs of booting the device? It might give us more information why packagemanager doesn't process the APK.
Same problem with the latest osprey CM14.1 nightly.
Same issue with latest one plus one CM14.1 nightly
I have the same issue... OP2 with last CM14.1 nightly
Same issue CM 14.1 on Nubia z7 mini(nx 507j), is there any possible to reinstall the stock clock again?
if no-one provides any log I will never be able to even investigate this issue
ok @mfonville here you go!
https://gist.github.com/szhu/e78de8c05fa3b1c60d1538ceb491b311
Also! Here's the logcat if I copy PrebuiltDeskClockGoogle.apk elsewhere and try to sideload it:
12-13 12:56:55.533 869 2940 E PackageInstaller: Commit of session 225627731 failed: Failed to collect certificates from /data/app/vmdl225627731.tmp/PackageInstaller: META-INF/CERT.SF indicates /data/app/vmdl225627731.tmp/PackageInstaller is signed using APK Signature Scheme v2, but no such signature was found. Signature stripped?
12-13 12:56:55.542 13488 13488 D InstallAppProgress: Installation error code: 4
@mfonville And here's mine. my .gapps_config open_gapps_debug_logs.tar.gz open_gapps_log.txt
My google clock even can't open, it will crash.
@ZWindL, while I'm sure your help is appreciated, I think @mfonville was looking for the device startup logs, not the GApps install logs. We've basically already determined that the installer copies the files to the correct location, we just need to know why the system can't process it on boot.
Could you get a logcat that includes the logs of booting the device? It might give us more information why packagemanager doesn't process the APK.
@szhu Ahh.... my fault... I misunderstanded. Sorry for that.
Thank you for the log.
It seems that the Packagemanager is sort of 'surprised' that the AOSP one is gone, and refuses to process the Google one.
I have the suspicion that CyanogenMod's platform extension is at fault.
Could you try to remove the following files and test if the clock then does work (and if not, collect the logcat again):
/system/framework/org.cyanogenmod.platform-res.apk
/system/framework/org.cyanogenmod.platform.jar
I cannot get a logcat because the system will not boot past the point where logcat and/or adbd starts when I remove those files.
@szhu thanks for testing I am not sure yet how to further tackle this issue Maybe @rapperskull or @thecrazylex have an idea?
Clock magically appeared after updating to a new nightly about a week ago. Everything works well now.
Same, Clock is back for me too.
cm-14.1-20161220-NIGHTLY-bullhead.zip open_gapps-arm64-7.1-stock-20161220.zip
Issue description:
I can't install Google Clock.
Reproduction Steps:
Expected behavior:
Google Clock is installed.
Observed behavior:
"Attempt to re-install com.google.android.deskclock without first uninstalling package running as com.android.deskclock"
adb shell pm list packages
doesn't show any clock apps.Upload the installation debug log (=tar.gz file) and logcat of Force Closure:
Debug log: https://gist.github.com/szhu/53cc000b5bbcf1820a5f275e0006789f