diff --git a/NOTES b/NOTES index e62281f..bdc2a74 100644 --- a/NOTES +++ b/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 diff --git a/app/build.gradle b/app/build.gradle index 15bb2ea..fb6c3a8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -24,7 +24,7 @@ android { defaultConfig { applicationId "org.galexander.sshd" - minSdkVersion 7 + minSdkVersion 16 targetSdkVersion 28 } diff --git a/doit b/doit index dde7af6..c491af7 100755 --- a/doit +++ b/doit @@ -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 && diff --git a/jni/Application.mk b/jni/Application.mk index 7a1599b..ad06cd3 100644 --- a/jni/Application.mk +++ b/jni/Application.mk @@ -1 +1,2 @@ -APP_ABI := armeabi x86 +APP_PLATFORM := android-16 +APP_ABI := armeabi-v7a x86