seedvault-app/seedvault

Handle failure to install apps with deprecated target SDK version

Aperta

#676 aperta il 4 giu 2024

 (2 commenti) (0 reazioni) (0 assegnatari)Kotlin (97 fork)auto 404
enhancementgood first issuehelp wanted

Metriche repository

Star
 (1782 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor