Handle failure to install apps with deprecated target SDK version
#676 opened on Jun 4, 2024
Repository metrics
- Stars
- (1,782 stars)
- PR merge metrics
- (PR metrics pending)
Description
Some apps, e.g. the old Pebble app for smartwatches, can no longer be installed easily in newer versions of Android due to their old target SDK version. These apps can continue to be used if they were already installed (or if they were installed using an adb flag to override the restriction), and Seedvault backs up these apps, but it fails to install them during a restoration. We should have enough info for Seedvault to display an intelligible error or handle this in some other way.
D ApkInstaller: Received result for com.getpebble.android.basalt: success=false INSTALL_FAILED_DEPRECATED_SDK_VERSION: App package must target at least SDK version 23, but found 22