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
110 stars 40 forks source link

InstallPackage faild #35

Open tkggusraqk opened 7 years ago

tkggusraqk commented 7 years ago

use InstallPackage faild,but use SyncPackageToDevice and ExecuteShellCommand("pm install -r " + path, result); success That's why I was in accordance with the order of the source, separate command can

tkggusraqk commented 7 years ago

I found a reason,upload path :/storage/sdcard0/tmp/autoui.apk, var rpath = Device.FileSystem.ResolveLink ( path ); path:/mnt/shell/emulated/0/tmp/autoui.apk, last:throw new FileNotFoundException ( String.Format ( "Unable to locate {0}", path ) );