Closed atikattar1104 closed 4 months ago
Screenshot
This Also Happens In Installing.
The error log says "shizuku service not running" - that's the issue. Network errors are unrelated.
Does That Mean, Obtainium Require Root/Shizuku/Sui To Work? If That's The Case Then, Can't It Just Call Android's Package Installer With APK's File Path, So That Package Installer Would Directly Install APK With User Permission?
No, shizuku is optional. You must have switched to the shizuku method in your settings.
I Can Try Reinstalling App. Maybe That Can Fix.
Just Tried On Latest Version Release v1.1.8, Clean Install, Made Sure NOT To Accidentally Click Use Shizuku Or Sui
Switch (My Bad Last Time😅), But Still Same Outcome :-
That's weird. Do you have anything shizuku related installed?
Oh wait, I just realized you're on MIUI. You need to disable MIUI's "optimizations" that mess with the package installer. See https://github.com/ImranR98/Obtainium/issues/583#issuecomment-1763106004
Also, This Time Log Only Says This :-
Maybe Just Like You Said Above, The App Is Still Looking For Shizuku/Sui To Install App, Even If It Is Not Installed On Device And/Or Not Turned On In Obtainium's Settings Page.
Oh, Ok. I Get It. Damn MIUI. I Don't Even Have Disable MIUI Optimization
Switch Visible In Developer Options. They Have Removed It From There. Anyways, Will Try This App In A New Phone With Lineage OS On It😄.
Describe the bug
Any App Cannot Be Installed After Downloading It. Apps Downloads Properly But When It Comes To Installing, Pop Up Occurs Saying
Some Error Occured
Or Something Like That, Followed By App Name. I Mostly Download Apps From Github, So Maybe That's Why Its Happening. I Didn't Tried With Other Sources Though.To Reproduce
Logs
2024-05-11 21:47:14.806: info: This is the first ever run of Obtainium.
2024-05-11 21:49:41.778: error: Shizuku service not running
2024-05-11 22:15:00.808: error: [XtMapper]
2024-05-11 22:15:15.049: error: [XtMapper]
2024-05-11 22:15:43.575: error: [XtMapper]
2024-05-12 13:21:43.667: error: Failed host lookup: 'api.github.com' [Obtainium, Image Toolbox, and XtMapper]
2024-05-12 13:23:55.067: error: [OSS-DocumentScanner]
2024-05-12 13:33:13.085: error: Failed host lookup: 'api.github.com' [Obtainium, OSS-DocumentScanner, Image Toolbox, and XtMapper]
2024-05-12 13:33:33.910: error: ClientException with SocketException: Failed host lookup: 'api.github.com' (OS Error: No address associated with hostname, errno = 7), uri=https://api.github.com/repos/T8RIN/ImageToolbox/releases/latest?per_page=100
2024-05-12 13:33:40.205: error: ClientException with SocketException: Failed host lookup: 'api.github.com' (OS Error: No address associated with hostname, errno = 7), uri=https://api.github.com/repos/Akylas/OSS-DocumentScanner/releases/latest?per_page=100
2024-05-12 13:33:58.139: error: ClientException with SocketException: Failed host lookup: 'api.github.com' (OS Error: No address associated with hostname, errno = 7), uri=https://api.github.com/repos/Akylas/OSS-DocumentScanner/releases/latest?per_page=100
2024-05-12 13:34:31.466: error: Shizuku service not running
2024-05-12 13:35:15.850: error: Failed host lookup: 'api.github.com' [Obtainium, OSS-DocumentScanner, and Image Toolbox]
2024-05-12 13:45:30.470: error: Shizuku service not running
2024-05-12 13:48:15.453: error: [OSS-DocumentScanner]
Please complete the following information:
Additional context I Actually Clicked
Use Shizuku Or Sui To Install
In App's Settings Page Out Of Confusion, That's Why TheShizuku Service Not Running
Message In Logs. But, Shouldn't The App Just Call Built-In Package Installer To Install Apps, WhenUse Shizuku Or Sui
Button Is Off? (Just Like How F-Droid Client Works)? Or Probably Obtainium Requires Root To Work, Which I Didn't Found Out.