go-mtpx

November 1, 2022 ยท View on GitHub

macOS setup

xcode-select --install

Before running the tests:

  • Open tests/README.md
  • Follow the instructions to copy the mtp-test-files to phone

Install and setup libusb

brew install pkg-config
brew install libusb

Test go-mtpx

  • Connect android device via usb and Choose File transfer
go test
Upgrade a package
# example:
go get github.com/ganeshrvel/go-mtpfs@<git-commit-hash>

Contents

  1. 1macOS setup
  2. 1.1Before running the tests:
  3. 1.2Install and setup libusb
  4. 1.3Test go-mtpx