GeoclueShare icon indicating copy to clipboard operation
GeoclueShare copied to clipboard

Cannot install on modern Android phones

Open ArtyIF opened this issue 8 months ago • 2 comments

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.

ArtyIF avatar Jun 29 '24 12:06 ArtyIF