This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This script automates the process described here https://raccoon.onyxbits.de/blog/install-split-apk-adb/ | |
# Steps | |
# 1. Push bundles to /sdcard (adb push *.apk /sdcard) | |
# 2. Push this script (adb push install.sh /sdcard) | |
# 3. adb shell | |
# 4. cd /sdcard | |
# 5. sh install-bundles.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java.perform(function () { | |
// Enhanced printObj function | |
function printObj(obj, objName = "Object") { | |
try { | |
if (obj === null || obj === undefined) { | |
console.log(`${objName}: null/undefined`); | |
return; | |
} |