The repositories provided are working  with Android > 8.1 and Android Things respectively.

Modifications were made from the original application to be compatible with the new Android versions. See blog links for more information! 

Application imported and modified to work with Android < 6.0:

https://lemariva.com/blog/2017/07/sensortag-cc2650

Modifications added for Android > 6.0:

https://lemariva.com/blog/2018/06/ti-sensor-tag-working-on-android-8-1

Android Things application:

https://lemariva.com/blog/2017/07/projectdiva-sensortag-hub

Be aware that the code is original from Texas Instruments. Bugs are everywhere. I didn't resolve the existing bugs, I just made the application compatible with the new Android versions and Android Things.