Skip to content
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

not compatible with Android 14 #84

Closed
eylenburg opened this issue Nov 28, 2023 · 12 comments
Closed

not compatible with Android 14 #84

eylenburg opened this issue Nov 28, 2023 · 12 comments

Comments

@eylenburg
Copy link

Due to a minimum API required by Google

@jahway603
Copy link

jahway603 commented Dec 1, 2023

I'm having the same issue on a new phone when trying to install this from F-Droid and taking that APK and attempting to install from the CLI using adb...

$ adb install "com.google.android.diskusage_v3080.apk"
Performing Streamed Install
adb: failed to install com.google.android.diskusage_v3080.apk: Failure [INSTALL_FAILED_DEPRECATED_SDK_VERSION: App package must target at least SDK version 23, but found 19]

This doesn't make sense as https://github.com/IvanVolosyuk/diskusage/blob/master/app/build.gradle#L10 shows us the target SDK is 30 -- not 19...

@jahway603
Copy link

@eylenburg if you clone this repo and build it yourself, then it works fine on Android 14. I submitted a F-Droid forum post about getting this updated on F-Droid here https://forum.f-droid.org/t/please-update-app-diskusage-to-support-android-14/24364

@jahway603
Copy link

@IvanVolosyuk can you please add a release tag for v 4.0.2? I think F-Droid may need a tag to build from.

@IvanVolosyuk
Copy link
Owner

That's never been a problem for them. I created it anyway.

@linsui
Copy link

linsui commented Dec 2, 2023

Right, tag is not required for build. It's for autoupdate only. And since there was no tag, the autoupdate is not enabled. And we didn't update it for a long time due to #19.

@IvanVolosyuk
Copy link
Owner

Removed the system.jar it was needed for build time linking to hidden APIs, which are not hidden anymore as far as I can see.

@linsui
Copy link

linsui commented Dec 3, 2023

Thanks, it will be updated in few days. The first update in F-Droid in the past 6 years. :)

@CallMeLaNN
Copy link

Thanks for the update. I just tried with Android 13 (One UI) btw. Before update not working, after update it works.

Just one thing, it doesn't prompt to access "All files access" just access denied to ext storage. Music & Photo automatically allowed. I enable the all files access manually from settings.

@eylenburg
Copy link
Author

Nice, I can install it from F-Droid now. Thank you @IvanVolosyuk

@Herve5
Copy link

Herve5 commented Dec 6, 2023

(this new version of DiskUsage just published on F-Droid fails in accessing the external card on my phone (while the previous one did it)...
'Access to external storage has been denied'
-now solved thanks to @linsui below!)

@linsui
Copy link

linsui commented Dec 6, 2023

Just one thing, it doesn't prompt to access "All files access" just access denied to ext storage. Music & Photo automatically allowed. I enable the all files access manually from settings.

@Herve5
Copy link

Herve5 commented Dec 6, 2023

@linsui excellent, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants