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

Cannot install on modern Android phones #11

Open
ArtyIF opened this issue Jun 29, 2024 · 2 comments
Open

Cannot install on modern Android phones #11

ArtyIF opened this issue Jun 29, 2024 · 2 comments

Comments

@ArtyIF
Copy link

ArtyIF commented Jun 29, 2024

I have an Android phone (realme 12+) running Android 14. Currently, its screen is smashed dead (dropped on asphalt without screen protector, no image, no touchscreen, no parts available), so I use scrcpy to use it. I tried installing GeoclueShare on it by drag-and-dropping it into scrcpy, but I got two errors. One is the following warning:

Large screenshot

Google Play Protect's Unsafe app blocked warning

This warning could be ignored by tapping More details and Install anyway, however, the following error shows up in scrcpy's console:

Performing Streamed Install
adb: failed to install /path/to/geoclueshare.apk: Failure [INSTALL_FAILED_DEPRECATED_SDK_VERSION: App package must target at least SDK version 23, but found 21]
ERROR: "adb install" returned with value 1
ERROR: Failed to install /path/to/geoclueshare.apk

I thought that maybe it's only blocked over ADB, however, I sent the APK to my phone directly and installed it using the Google Files app. After the Play Protect warning I got this error:

Large-ish screenshot

You can't install the app on your device.

This error message when using realme's built-in file manager:

Large screenshot

App not installed as app isn't compatible with your phone.

@Yaya-Cout
Copy link

On new Android versions (since 14, if I remember correctly), you can't install apps targeting really old Android versions. To install it anyway, you need to use adb directly (which is probably not a problem in your case): adb install --bypass-low-target-sdk-block GeoclueShare-v1.1-signed.apk
This app is running well on my Pixel 6a (GrapheneOS with Android 15 QPR1), but with a black stripe at the bottom of the screen.

However, this app should probably be updated to target newer Android versions to fix installation.

@NobbZ
Copy link

NobbZ commented Feb 28, 2025

As of today, this app is not in the stores anymore.

Is it possible to do a release that updates the requirements, and maybe distribute it on F-Droid as well?

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

3 participants