Skip to content

Conversation

Bryantdl7
Copy link

ext.androidTargetSdk is too low for android 15 and you need to force installs via ADB, this is not ideal, and the gsf proxy needs to be updated as it is essentially obsolete because of this SDK requirement

@marbens-arch
Copy link

marbens-arch commented May 29, 2025

Actually, 24 is borderline compatible with Android 15, so the title is not accurate. But the latest release (not commit) is 23 instead of 24.

This helps with Android 16+ compatibility though.

@Bryantdl7
Copy link
Author

The title is accurate, this is what happens when trying to install the framework on LineageOS 22.2 (AOSP 15 QPR2)

bryantdl7@20nks2tg00:~/Downloads$ adb install com.google.android.gsf-8.apk Performing Streamed Install adb: failed to install com.google.android.gsf-8.apk: Failure [INSTALL_FAILED_DEPRECATED_SDK_VERSION: App package must target at least SDK version 24, but found 23]

@marbens-arch
Copy link

bryantdl7@20nks2tg00:~/Downloads$ adb install com.google.android.gsf-8.apk Performing Streamed Install adb: failed to install com.google.android.gsf-8.apk: Failure [INSTALL_FAILED_DEPRECATED_SDK_VERSION: App package must target at least SDK version 24, but found 23]

That error message says that the API level is 23, and needs to be at least 24. If you look at the diff of this PR you can see that the API level of current master is 24.

You are likely installing the latest release, and not a build of the latest git master commit.

Because this PR is based on master, you are not fixing Android 15 problems, but Android 16+ problems.

a3865d6 bumped target SDK to 24, which is the minimum that Android 15 supports (that's what that error message says), but there never been a release made with that commit applied. At the moment latest is 0.1.0, which is an older commit (2fb4385).

@marbens-arch
Copy link

Also you should probably add "Fixes #23." to your PR body to make the issue auto-close when/if this is merged.

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

Successfully merging this pull request may close these issues.

2 participants