To test this project, register for a API Key in Google Cloud Console for Android Device Verification API.
Add the API Key to res -> values -> strings.xml
Complete Tutorial : https://www.learn2crack.com/2017/03/android-using-safetynet-check-device-security.html