Michael Jedich
Michael Jedich
I took a quick look at the problem. [Here](https://github.com/kolbasa/cordova-plugin-apkupdater/blob/feeb7f1b7357dbc2d35d8e2d016911c30e3ce832/src/android/tools/ApkInstaller.java#L99) is the problematic line. This is probably no longer up to date. The `-c` argument has to be replaced by `0`...
I have now tested the function a little. I cannot reproduce the problem. I thought that maybe a new Android version had broken the code. On the Android 13 and...
Can you give me the output of `adb shell "su -h"` (alternatively: `adb shell "su --help"`) ? The `su` command behaves completely different on your device.
You can do this in a terminal application of your choice. For example in Android Studio:
It may also be possible to simply install the [Magisk](https://github.com/topjohnwu/Magisk) Apk on the device. This is what I use on the emulator. Magisk installs this `su` application that I use...
Hmmm, I don't think I can help any further. For that I would need a device/emulator where I can reproduce the error myself. The plugin basically does nothing other than...