Good day!
Sorry for disturbing. I am trying to build a simple hello_world example for android with cmake toolchain you porvided
(this example:
https://github.com/crystax/android-samples-cmake) and when I copy everything on my phone Sony Xperia Z3 and run on it with the help of the script, I got segmentation fault. I use the latest build of your ndk (from 1 september).
It will be great if you help to solve the problem.
Sincerely,
Tereshin Alexander
text of the bash script:
export ANDROID_NDK=/home/anima/Documents/crystax-ndk-10.3.2/
cmake -DCMAKE_TOOLCHAIN_FILE=/home/anima/Documents/crystax-ndk-10.3.2/cmake/ toolchain.cmake\
-DCMAKE_BUILD_TYPE=Release \
-DANDROID_TOOLCHAIN_VERSION=gcc-6 \
-DANDROID_ABI="armeabi-v7a with NEON" \
-DANDROID_NATIVE_API_LEVEL=android-23 \
-DANDROID_STL=gnustl_shared
make
make run
cd /home/anima/Documents/test_sample
sudo adb push hello-world libcrystax.so libgnustl_shared.so /data/local/tmp
sudo adb shell 'cd /data/local/tmp && LD_LIBRARY_PATH=/data/local/tmp ./hello-world'