Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SDK 25? #14

Closed
DRSDavidSoft opened this issue Apr 28, 2021 · 5 comments
Closed

Support SDK 25? #14

DRSDavidSoft opened this issue Apr 28, 2021 · 5 comments
Labels
duplicate This issue or pull request already exists

Comments

@DRSDavidSoft
Copy link

It seems that the minimum supported SDK version is currently 26. Is it possible to also support SDK 25 (i.e., Android 7)? I have a LineageOS device for which only ROMs up to Android 7 are available, thus the installation fails:

Failed to install B:\app-release.apk: Failure [INSTALL_FAILED_OLDER_SDK: Failed parse during installPackageLI: /data/app/vmdl1785514132.tmp/base.apk (at Binary XML file line #7): Requires newer sdk version #26 (current version is #25)]
@tejado
Copy link
Owner

tejado commented Apr 29, 2021

What is the kernel version of your ROMs? There is a hard dependency on the kernel so in most cases it does not make sense to support lower SDKs.

@goshil
Copy link

goshil commented Apr 29, 2021

#5 (comment)

@DRSDavidSoft
Copy link
Author

@tejado I see, the Android SDK 25 on my LineageOS device has the kernel version 3.4.67, which is too old to support this. May I suggest that instead of limiting the minimum supported Android SDK the app checks for the kernel available?

It is possible to flash a kernel with Linux 4.x on this device, which supports the same ROM. That way, the kernel version is independent of the actual Android version (e.g. 7.1.2 in this case).

@tejado
Copy link
Owner

tejado commented Apr 29, 2021

@DRSDavidSoft
Yes, please see #2 for it. Feel free to create an PR for it :)
And in most ROM's, the SDK version is related to the kernel version. It was easier to use this as a first check then implementing something like mentioned in the issue #2

@tejado tejado added the duplicate This issue or pull request already exists label May 10, 2021
@tejado
Copy link
Owner

tejado commented May 10, 2021

I will close this as it is basically also a duplicate of #5

@tejado tejado closed this as completed May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants