Android Studio / Gradle Running NDK JNI Unit Tests -


is there better way run ndk lib / jni unit tests on device using android studio & gradle?

currently;

build ndk source , use adb push built files tmp directory on device

e.g

adb push libs/armeabi/* /data/local/tmp; done 

run of tests on device

adb shell "ld_library_path=/data/local/tmp /data/local/tmp/run_all_unittests" 

extract results

adb pull /data/local/tmp/test_results.xml  


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -