camalot / madb

The Original MADB Project. This is a Managed port of the Android Debug Bridge to allow communication from .NET applications to Android devices. This wraps the same methods that the ddms uses to directly communicate with ADB. This gives more flexibility to the developer than launching an adb process and executing one of its build in commands.
http://madb.bit13.com
Other
107 stars 40 forks source link

Temp install path should be changeable #22

Open camalot opened 8 years ago

camalot commented 8 years ago

Original Bug on CodePlex

  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.

pushasha commented 8 years ago

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.