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
Error after downloading new Version of Firefox #62
Comments
Looks like that the APK files are not downloaded or damaged. Do FFUpdater and the (system) "Download Manager" have the "Files and media" permission? |
First, the system "Download Manager" will download the APK file (for installing/updating a browser) to When the "Download Manager" is finished, this APK file will be moved to Can you check if these folders are empty/not empty. If they are not empty, check if the APK files are valid:
You can access these folders if you connect your smartphone to your computer and use the Windows/Linux/... file manager. |
Similar issue here with a different exception:
FFUpdater did not have the “files and media” permission as it never made a request. After adding the permission manually, I get the same exception. Checking the permissions of Download Manager requires going to “Settings -> Apps & notifications -> See all apps -> Show system (found in the menu)”. Download Manager has no permissions and never requested any.
Regardless of the “files and media” permission, the Download URL: The file downloaded by FFUpdater has the same checksum as when I download the file on my computer. |
@Markus00000 can you try this version? (I have to compress it as an .zip-archiv because GitHub only allows certain file types) You have to uninstall the version by F-Droid because the APK file is signed by me and not F-Droid (see https://github.com/Tobi823/ffupdater#temporary-builds)
FYI: this is intended. Apps can always write to "/sdcard/Android/data/their-name/" without asking for file permissions. |
My suspicion: This could be a timing issue. Maybe the APK file is not completely downloaded and my code performs the (newly added) sanity check if the file exists. |
Thanks for your work so far! Here is the new stack trace:
|
I think your are not the only one who has problems with the DownloadManager https://notabug.org/Tobiwan/ffupdater/issues/79 I'm going to use the DownloadManager differently now, so I don't have to rely on exactly how the file is saved. |
@Markus00000 I think (and hope 🙈 ) that my fix is working for you - can you try it? |
Another exception:
|
Found the error and fixed it. Can you try it again? |
This latest build seems to work. I was able to download and re-install the current version of Firefox. Thank you! |
Should be fixed in version 74.4.0. This version should be available on F-Droid in the next days. My self-signed version is available on https://github.com/Tobi823/ffupdater#temporary-builds |
App Version: 74.3.1 from FDroid
OS: LineageOS 18.1
After the download of any of the included browsers finishes (except beta of course which doesn't download at all because of that other bug), I always get the following error:
The text was updated successfully, but these errors were encountered: