platform/android: fix local var error.