support android build and glue