1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-30 11:18:12 +00:00

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

NDK these days.
This commit is contained in:
Greg Alexander 2019-05-25 22:31:09 -04:00
parent 0a8c49a1fa
commit 7419f62d98
4 changed files with 21 additions and 6 deletions

14
NOTES
View File

@ -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. 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 - 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 - 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 XXX - figure out what pie does to the boot event receiver

View File

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

8
doit
View File

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

View File

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