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 -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -