Build Rsync for Android

前端 未结 2 938
花落未央
花落未央 2020-12-17 00:46

I have downloaded rsync from http://rsync.samba.org/ anyone knows how to compile the source code to be deployed in an Android Device?

2条回答
  •  暖寄归人
    2020-12-17 01:04

    You'll need the Android NDK found here There are examples included on the web page and download of how to compile C code for Android.

    From the NDK Website:

    The NDK provides:

    A set of tools and build files used to generate native code libraries from C and C++ sources A way to embed the corresponding native libraries into an application package file (.apk) that can be deployed on Android devices A set of native system headers and libraries that will be supported in all future versions of the Android platform, starting from Android 1.5. Applications that use native activities must be run on Android 2.3 or later. Documentation, samples, and tutorials

    I did also find this if it's close to what you want to achieve.

提交回复
热议问题