Use single file engine
Fix some issues and build apks