remove libgdx, add native invoke