my solution for the AndroidPlatformStrategy