fixing build and lint warnings
Merge pull request #827 from apavlenko:fix_android_tutorial1