Skip to content

How to build BackCurl for cpp Android development

Taymindis Woon edited this page Jun 12, 2017 · 1 revision

Welcome to the backcurl wiki!

Step 1

Make sure the submodule(curl-android-ios) has pulled

Step 2

cd ${BACKCURL_ROOT}/backcurl-android/
./build.sh

[arm64-v8a] Compile++      : backcurl <= BackCurl.cpp
[arm64-v8a] StaticLibrary  : libbackcurl.a
[x86_64] Compile++      : backcurl <= BackCurl.cpp
[x86_64] StaticLibrary  : libbackcurl.a
[mips64] Compile++      : backcurl <= BackCurl.cpp
[mips64] StaticLibrary  : libbackcurl.a
[armeabi-v7a] Compile++ thumb: backcurl <= BackCurl.cpp
[armeabi-v7a] StaticLibrary  : libbackcurl.a
[armeabi] Compile++ thumb: backcurl <= BackCurl.cpp
[armeabi] StaticLibrary  : libbackcurl.a
[x86] Compile++      : backcurl <= BackCurl.cpp
[x86] StaticLibrary  : libbackcurl.a
[mips] Compile++      : backcurl <= BackCurl.cpp
[mips] StaticLibrary  : libbackcurl.a

Step 3

The library file has been generated to ${BACKCURL_ROOT}/backcurl-android/obj/local/

Step 4

Apply it to your project android.mk, remember libcurl dependencies is needed.