Fixes some import related AndroidPlatform implementations.

Can you reduce the number of nested inner classes?