ModifyingAPKsForTesting - nchaimov/android-autograder GitHub Wiki

You can manually modify the APKS for testing using the following procedure:

apktool d -s -r theFile.apk

insert and into androidManifest.xml

apktool b theFile theFileModified.apk

jarsigner -verbose -keystore ./.android/debug.keystore -storepass android -keypass android theFileModified.apk androiddebugkey

The code that does this in our server is in the file:

PreprocessAppAndTesterAPKsTask.java

⚠️ **GitHub.com Fallback** ⚠️