From 016e255d3a57124b4dce4dc5a4eb85a02243db46 Mon Sep 17 00:00:00 2001 From: Geunsik Lim Date: Tue, 12 Mar 2019 18:47:15 +0900 Subject: [PATCH] Android/ARM64: Updated binary path This commit is trivial. However, the existing statements have to be updated to give developers a correct instruction. After updating *.mk file, The binary path is also changed from ../ to ./ folder. Signed-off-by: Geunsik Lim --- jni/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jni/README.md b/jni/README.md index 54352f6..8f97456 100644 --- a/jni/README.md +++ b/jni/README.md @@ -22,7 +22,7 @@ export PATH=$ANDROID_NDK:$PATH ## Download prebuilt Android-Gstreamer libraries Please download required files such as "*.tar.bz2" from http://nnsuite.mooo.com/warehouse/. - * gstreamer-prebuilts-for-android-device/gst_root_android-custom-1.12.4-ndkr12b-20190213-0900/ + * Dir: gstreamer-prebuilts-for-android-device/gst_root_android-custom-1.12.4-ndkr12b-20190213-0900/ ```bash vi ~/.bashrc export GSTREAMER_ROOT_ANDROID=~/android/gst_root_android @@ -33,16 +33,16 @@ mkdir -p ~/android/gst_root_android/arm64 ```bash cd ./jni # We recommend that you always remove the libs and obj folder to avoid an unexpected binary inconsistency. -rm -rf ../libs/ ../obj/ +rm -rf ./libs/ ./obj/ ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android-nnstreamer.mk NDK_APPLICATION_MK=./Application.mk -j$(nproc) -ls -al ../libs/arm64-v8a/libnnstreamer.so +ls -al ./libs/arm64-v8a/libnnstreamer.so ``` ## How to build a test application ```bash cd ./jni ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android-app.mk NDK_APPLICATION_MK=./Application.mk -j$(nproc) -ls -al ../libs/arm64-v8a/ +ls -al ./libs/arm64-v8a/ ``` ## How to run the test application on the Android device -- 2.7.4