I'm building a fitness app using Google Fit API and I can't get the distance that the user walked, giving me the title's error on a API 17 device (only one that I tested).
This question is similar but didn't solved my problem and this one maybe is the same situation as mine.
Is the DataType.TYPE_DISTANCE_DELTA not available on API 17? I can't test in another device because I don't have another device with me and the only emulator that I know that can use Google Play Services is the Android Studio's emulator and I can't make it work.