8

I followed the procedure explained in the main PPA page:

sudo add-apt-repository ppa:samoilov-lex/aftl-stable
sudo apt-get update
sudo apt-get install android-file-transfer

and I received this message after use:

sudo apt-get install android-file-transfer

E: Unable to locate package android-file-transfer
| improve this question | | | | |
  • The usb cable has the advantage of using your PC to access your Android phone as an external drive. But, if you wish to transfer files via the wireless lan, you need 2 applications: Filezilla for the PC from the repositories; and FTP ServerPlus for the phone get it from googleplay. Once installed, the procedure is to read the settings from FTPseverPlus on phone, and enter them into Filezilla at the top of the screen on PC. The data you need are: ftp address; port; username; password. [on phone, set anonymous to off]. Use Filezilla to control the transfers. Pros are speed and large files. – rob grune Oct 21 '18 at 6:46
10

There is a problem with the packaging of the PPA for Bionic. You can instead use Artful PPA to install Android File Transfer on Ubuntu 18.04. (Same version, 3.2-1 as of the time of writing)

First add the PPA to your sources:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0BB4A1B2FA1A38EB
sudo add-apt-repository "deb http://ppa.launchpad.net/samoilov-lex/aftl-stable/ubuntu artful main"

Make sure to run a sudo apt update to load the new packages, then install android-file-transfer the usual way:

sudo apt install android-file-transfer
| improve this answer | | | | |
  • 1
    Working fine in Xubuntu 18.04 x386, only you have put first the key because give error to install it, but first add the key, next add repository, next install working fine all. Very thanks because my Galaxy J5 not woring fine MTP protocol with Nautilus – Indacochea Wachín Jun 26 '18 at 0:23
  • @Indacochea Not sure why adding the repository before the key didn't work for you, but I switched their order anyway. You're welcome – Eskander Bejaoui Jun 26 '18 at 4:13
  • 1
    Executing sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0BB4A1B2FA1A38EB got the following error: Executing: /tmp/apt-key-gpghome.Eomyetg9Ew/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 0BB4A1B2FA1A38EB gpg: keyserver receive failed: Server indicated a failure – Yu Shen Dec 28 '18 at 6:46
5

The following steps were required before I finally got this to run:

  1. Plug in phone via USB cable.
  2. (on Android device) yes allow access.
  3. (on Ubuntu) click 'eject' to unmount the Nautilus (file explorer) automount of the device.
  4. Run sudo pkill mtp
  5. Run android-file-transfer
| improve this answer | | | | |
1

I was also getting issue to install android file transfer on kubuntu 18.04. At last I find best solution appimage base, and its work for me. I am sharing link appimage link

https://github.com/whoozle/android-file-transfer-linux/releases/download/v3.7/Android_File_Transfer-5bf7652-x86_64.AppImage

It will work. We only have to change permission

sudo chmod +x Android_File_Transfer-5bf7652-x86_64.AppImage
| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.