-
Notifications
You must be signed in to change notification settings - Fork 161
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
Cannot update any apks #583
Comments
What Phone/OS? Does this happen with Apps at random or some specific ones? |
Have you tried force stop in app settings, clear cache and perform update process again? In my case it did, if that solves the problem, let us know here. |
Sadly it does nothing. Still get the same error when trying to update a variety of apps after clearing cache. |
Haven't been able to figure this out given the info. Do you think you could install Flutter on your PC and try running the app on your phone in debug mode? |
Sorry. After spending several weeks getting nowhere. I can set up the basic environment and enable usb-debugging, but I get stuck. I don't have the tech know-how or experience to properly run and debug android apps using Flutter. Only got a little experience with VSCodium. |
I also have a problem updating any app. I'm getting these errors with different IDs Tried clearing app cache of both apps and restarting the phone but no luck. Clean installing of apps works without problems. Pixel 6, Android 13 |
I am having this same issue, might be able to give some more background. All of the apps in my case were already installed, with f-droid originally. I added the links to the source for each app into obtainium and uninstalled f-droid, and this error happens when attempting to update those apps. I can also confirm that clean installing the apps by first uninstalling and reinstalling does work - however this deletes app data which is a problem. I can also confirm that cache clearing, restarting, etc. do not solve the problem. |
@rsedxcftvgyhbujnkiqwe by "same issue" do you mean you're getting "empty" error messages like in arft1kwerg's screenshots? It sounds like your problem is just due to mixing f-droid and non f-droid apps. If that's the case then this is not an issue in Obtainium - Android just doesn't let you update an app with an APK signed using a different key. F-droid signs apps with their own key so trying to update an f-droid app with a github apk usually fails. |
@ImranR98 |
@ImranR98 I also have experienced this kind of error trying to update or straight up install apps from a GitHub source. Remembering that MIUI optimization was often linked with issues installing apks, I went on to disable it in developer settings, and sure enough, Obtainium was able to update my apps afterwards. |
This comment was marked as outdated.
This comment was marked as outdated.
@arft1kwerg could you confirm if disabling MIUI's optimizations fixes this issue? |
Disabling MIUI optimization fixes the empty error messages and allows it to download/update some apps. Image with some apps that throw an error on update: |
Great. These errors are unrelated. The first one means you're trying to update an app with an APK that has a different signing key, and the second one means the version code of the new APK is lower than the currently installed one. |
Attempting to update any of the apps gives some empty(?) error message. On version 0.13.4.
)
The text was updated successfully, but these errors were encountered: