Fixes Android Compile error

There was an error with missing methods when building android. It has
been fixed.