ankitstarski / GeoclueShare

GeoclueShare is an Android application that lets you share your Android GPS location with a GNOME Desktop located on the same WiFi network. You can disable or enable location sharing service in GeoclueShare as per your needs.
https://wiki.gnome.org/Apps/GeoclueShare
Other
34 stars 11 forks source link

Cannot install on modern Android phones #11

Open ArtyIF opened 3 months ago

ArtyIF commented 3 months ago

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](https://github.com/ankitstarski/GeoclueShare/assets/8017858/c782e231-8e6c-4bee-8e63-07cb3d852dc2)

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.](https://github.com/ankitstarski/GeoclueShare/assets/8017858/3f2207a6-3e5b-42a5-8e93-8dbb6f220e11)

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

Large screenshot ![App not installed as app isn't compatible with your phone.](https://github.com/ankitstarski/GeoclueShare/assets/8017858/c8feb94f-3a87-4035-b2eb-85c7c80290d9)