Fix crash on 3.x and 4.0.x devices.
Merge pull request #617 from dosiecki/master

Android: Fix crash on 3.x and 4.0.x devices.