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

Copy over the actual JNI library, and now it "works".

This commit is contained in:
Greg Alexander 2019-05-25 23:19:26 -04:00
parent 8ff28ed80f
commit d754beecd8

2
doit
View File

@ -6,10 +6,12 @@ mv libs/armeabi-v7a/scp app/src/main/lib/armeabi-v7a/libscp.so &&
mv libs/armeabi-v7a/sftp-server app/src/main/lib/armeabi-v7a/libsftp-server.so && mv libs/armeabi-v7a/sftp-server app/src/main/lib/armeabi-v7a/libsftp-server.so &&
mv libs/armeabi-v7a/rsync app/src/main/lib/armeabi-v7a/librsync.so && mv libs/armeabi-v7a/rsync app/src/main/lib/armeabi-v7a/librsync.so &&
mv libs/armeabi-v7a/buffersu app/src/main/lib/armeabi-v7a/libbuffersu.so && mv libs/armeabi-v7a/buffersu app/src/main/lib/armeabi-v7a/libbuffersu.so &&
mv libs/armeabi-v7a/libsimplesshd-jni.so app/src/main/lib/armeabi-v7a/ &&
mkdir -p app/src/main/lib/x86 && mkdir -p app/src/main/lib/x86 &&
mv libs/x86/scp app/src/main/lib/x86/libscp.so && mv libs/x86/scp app/src/main/lib/x86/libscp.so &&
mv libs/x86/sftp-server app/src/main/lib/x86/libsftp-server.so && mv libs/x86/sftp-server app/src/main/lib/x86/libsftp-server.so &&
mv libs/x86/rsync app/src/main/lib/x86/librsync.so && mv libs/x86/rsync app/src/main/lib/x86/librsync.so &&
mv libs/x86/buffersu app/src/main/lib/x86/libbuffersu.so && mv libs/x86/buffersu app/src/main/lib/x86/libbuffersu.so &&
mv libs/x86/libsimplesshd-jni.so app/src/main/lib/x86/ &&
./gradlew assembleRelease && ./gradlew assembleRelease &&
andinst app/build/outputs/apk/release/app-release.apk andinst app/build/outputs/apk/release/app-release.apk