-
Notifications
You must be signed in to change notification settings - Fork 609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Package installer keeps stopping": can't install on new Pixel 8 #1112
Comments
In some sort of Christmas miracle I was able to install GPSLogger today. I didn't change anything in particular. I did run the installer this time from Google's Files app, instead of F-Droid or Solid Explorer. I don't think that should make a difference (F-Droid has installed other apps just fine) but I didn't test further. Sorry to take up your time. Will close this but maybe the notes will help someone else with a similar problem in the future. |
@NelsonMinar it isn't just your issue: seems like the build from F-Droid can't be installed at Android 14. My Pixel 7a has same problem. |
FWIW 129 has been running on my Android 14 phone OK since I managed to get it to install. At least mostly, it might have been stopped once or twice, I'm having other troubles with battery saving and background processing on this new phone. When I visit the F-Droid store in the app I see a note "This app was built for an older version of Android and cannot be updated automatically." On a quick glance I don't see an open GitHub issue about GPSLogger and Android 14. If it's known to be a problem it'd be nice to have a new ticket for that. |
I've reopened (but not investigated yet), I will try to install from F-Droid store and see what happens. I have a Pixel 6 with Android 14 |
I can't install from the F-Droid app at all. I managed to find a few other links with a similar issue, pointing at a bug in Android 14, but that's supposed to have been resolved. Catfriend1/syncthing-android#1075 Razeeman/Android-SimpleTimeTracker#144 Android Tracker issue link: https://issuetracker.google.com/issues/303849830 Stacktrace, I got this running logcat and saw this happen whenever I clicked Install in the F-Droid app.
But not clear to me what a workaround fix is. Is it something related to the monochrome icons? |
Glad you can reproduce the problem! I still don't know why it worked for me magically after several times it did not. The monochrome icon comment makes me want to mention I'm using the Niagara Launcher with its built-in monochrome icon replacements ("Anycons", which get colored by Material You). I previously was using the Pix Material You icon pack. I'd like to think the launcher's icons wouldn't affect the installer and I've had no issues with other apps. But since you mentioned icons... |
…ea why. Somehow this icon being 500dp was causing a "java.lang.RuntimeException: Could not copy bitmap to parcel blob." during APK installation. The issue is incorrectly closed at https://issuetracker.google.com/issues/303849830 I've followed guesswork and reduced the size of this icon and somehow it works now. Issue #1112
Through |
v130 is now on FDroid and the releases. |
I verified the fix. I just reinstalled v130 from F-Droid on my Pixel 8, Android 14. No problems. Thanks for figuring this out and fixing it. F-Droid is still complaining on the app page "This app was built for an older version of Android and cannot be updated automatically" but that doesn't stop the install from working. Presumably you know all about that already. |
I don't know why it's appearing, I think that warning is because I have a low minSdk. I see this thread on the FDroid forums which talks about something similar : If that is the reason it'll keep appearing for a long time. I try to keep backward compatibility with old devices, until some Android upgrades force a higher minimum. |
What worries me here is the "cannot be updated automatically part". I'll see how bad it is when the next version comes out and open a new issue if it makes upgrading too difficult. |
FWIW, I just ran into this problem, where the 131-rc2 app cannot be installed from F-droid. Logcat shows |
Thank you for GPSLogger, it's a great tool. I just got a new phone and am unable to install the app. Trying to install results in nothing happening after clicking "install" to run the APK, the install dialog just closes but nothing is installed. If I try several times in quick succession I get a popup "Package installer keeps stopping".
I've tried installing several versions: 129 on GitHub via sideload (from Chrome), 127, 128 and 129 on F-Droid via their installer, the 129 on F-Droid via a sideload. All fail the same way. I can install other apps no problem both with sideloading and F-Droid. I also have GPSLogger 129 installed on my old phone no problem. I was able to browse the GPSLogger APK in Solid Explorer and it looks like a plausible zip archive for a program.
The phone I can't install on is a new Pixel 8 running latest Android 14. I set the phone up with a restore from an old phone that had GPSLogger on it, but the GPSLogger app didn't get installed with the phone setup (no surprise.) I don't know if the phone migration stuff could have picked up some old state or config from GPSLogger on the old phone but it seems unlikely.
I've tried resetting Package Installer, clearing caches and rebooting. No joy.
There's no visible feedback on why the package installer keeps crashing so I'm not sure how to debug this further.
The text was updated successfully, but these errors were encountered: