From 7cd40090ef1ec25dbb0961dd2f08fe3366429636 Mon Sep 17 00:00:00 2001 From: Milan Nikolic Date: Mon, 30 Jan 2017 06:27:52 +0100 Subject: [PATCH] Update README.md --- examples/android/example/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/android/example/README.md b/examples/android/example/README.md index 5f096c8..4385ca7 100644 --- a/examples/android/example/README.md +++ b/examples/android/example/README.md @@ -22,7 +22,7 @@ After build is complete point GOROOT to new Go installation in /usr/local, and a And compile shared library: CGO_CFLAGS="-I/usr/local/android-arm7/include" CGO_LDFLAGS="-L/usr/local/android-arm7/lib" CC=arm-linux-androideabi-gcc CGO_ENABLED=1 GOOS=android GOARCH=arm \ - ${GOROOT}/bin/go build -work -v -x -buildmode=c-shared -ldflags="-s -w -extldflags=-Wl,-soname,libexample.so" -o=android/libs/armeabi-v7a/libexample.so + ${GOROOT}/bin/go build -v -x -buildmode=c-shared -ldflags="-s -w -extldflags=-Wl,-soname,libexample.so" -o=android/libs/armeabi-v7a/libexample.so To build apk export path to Android SDK, point to location where you unpacked archive: