madb
madb copied to clipboard
Temp install path should be changeable
public const string TEMP_DIRECTORY_FOR_INSTALL = "/mnt/sdcard/tmp/";
This path may not exist, and may not be able to be created. Need to allow for this path to be configured / or passed in as an option when installing.
Not sure if this is related (or if I should open a separate issue), but when I use the InstallPackage
method, it seems to resolve the temp directory in an odd (and incorrect) way:
Unable to chmod /storage/storage/emulated/legacy/tmp/testapp.apk: No such file or directory
Forking the project and forcibly removing the duplicate /storage/
from the beginning fixes the issue, but I haven't had time to dig deeper to figure out where it's coming from.