Before APK generation