TranslateProject/sources/tech/20171124 How to Install Android File Transfer for Linux.md

3.8 KiB
Raw Blame History

Translating by wenwensnow

How to Install Android File Transfer for Linux

If youre struggling to mount your Android phone on Ubuntu you might want to give Android File Transfer for Linux a try.

Effectively its a clone of GoogleAndroid File Transfer app for macOS. Its built with Qt, and has a super simple UI that makes it easy to transfer files and folders to and from your Android smartphone and your Ubuntu machine.

Now, chances are a few of you will be scratching your head wondering what this app does that Nautilus, the default file manager in Ubuntu, doesnt — and the answer is nothing.

When I connect my Nexus 5X (and remember to select the MTP option) to my Ubuntu machine I can browse, open and manage it using Nautilus, just like my phone was a regular USB drive thanks to GVfs:

Nautilus MTP integration with a Nexus 5X

But  some  people experience issues with this, and other MTP implementations, such as directories not loading, directory creation that doesnt “stick”, and issues using their device inside a media player.

And its for those people whom Android File Transfer for Linux is designed. Consider it an alternative to other methods of mounting MTP devices on Linux. If what you use currently works a-ok, you probably dont need to try this out (unless you really like trying things out).

Android File Transfer Linux App

The app features:

  • A straightforward user interface

  • Drag and drop support (Linux to Phone)

  • Batch downloading (Phone to Linux)

  • Transfer progress dialogs

  • FUSE wrapper

  • No file size limits

  • Optional CLI tool

Install Android File Transfer on Ubuntu

Thats enough waffle about this alternative way to mount your Android phone, on to the nitty gritty of installing it.

Helpfully theres a PPA available which provides builds for Ubuntu 14.04 LTS, 16.04 LTS and Ubuntu 17.10.

To add the PPA to your list of software sources run this command:

sudo add-apt-repository ppa:samoilov-lex/aftl-stable

Then, to install Android File Transfer for Linux on Ubuntu, run:

sudo apt-get update && sudo apt install android-file-transfer

Thats pretty much it.

Youll find a launcher for the app in your app menu.

Before launching it do make make sure that no other devices (such as Nautilus) mount your phone first. If anything is using it the app will report “no MTP device found”. To fix, unmount your device from Nautilus (or whichever app is using it) then relaunch Android File Transfer.


via: http://www.omgubuntu.co.uk/2017/11/android-file-transfer-app-linux

作者: JOEY SNEDDON 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出