Update minSdkVersion to 16, because that's the oldest supported by the

NDK these days.
sigsegv_dump
Greg Alexander 5 years ago
parent 0a8c49a1fa
commit 7419f62d98

14
NOTES

@ -675,6 +675,20 @@ it'll be worth anything or not but it should give me a sense of the build
task without forcing me to decipher autoconf.
May 25, 2019.
To update to the new SDK (26 required now, 28 required starting in
August), I have to switch to gradle and all that garbage. Every time I
update anything with the new SDKs, everything breaks, even after I've
already updated everything to gradle. So basically it is the worst
possible development environment.
Anyways, the NDK now doesn't support anything older than android-16 (JB
4.1), which is stupid but whatever. Looking on the play store, it looks
like I have 5 users on these older devices. I hope it simply refuses to
update for them, and they can continue to use the older version!
XXX - try /data/data/com.termux/files/usr/bin/zsh as login shell
XXX - reference lib dir by files dir /../lib, test it by logging in as "Guest"
XXX - figure out what pie does to the boot event receiver

@ -24,7 +24,7 @@ android {
defaultConfig {
applicationId "org.galexander.sshd"
minSdkVersion 7
minSdkVersion 16
targetSdkVersion 28
}

@ -1,8 +1,8 @@
~/Android/Sdk/ndk-bundle/ndk-build -j8 &&
mv libs/armeabi/scp libs/armeabi/libscp.so &&
mv libs/armeabi/sftp-server libs/armeabi/libsftp-server.so &&
mv libs/armeabi/rsync libs/armeabi/librsync.so &&
mv libs/armeabi/buffersu libs/armeabi/libbuffersu.so &&
mv libs/armeabi-v7a/scp libs/armeabi-v7a/libscp.so &&
mv libs/armeabi-v7a/sftp-server libs/armeabi-v7a/libsftp-server.so &&
mv libs/armeabi-v7a/rsync libs/armeabi-v7a/librsync.so &&
mv libs/armeabi-v7a/buffersu libs/armeabi-v7a/libbuffersu.so &&
mv libs/x86/scp libs/x86/libscp.so &&
mv libs/x86/sftp-server libs/x86/libsftp-server.so &&
mv libs/x86/rsync libs/x86/librsync.so &&

@ -1 +1,2 @@
APP_ABI := armeabi x86
APP_PLATFORM := android-16
APP_ABI := armeabi-v7a x86

Loading…
Cancel
Save