Questions tagged [android]

Questions about connecting an Android device to Ubuntu. Questions targeting the device itself are better suited for android.stackexchange.com.

Filter by
Sorted by
Tagged with
85 votes
14 answers
165k views

adb no permissions on Ubuntu 17.04

When i try: $ adb devices i get the result: List of devices attached ???????????? no permissions what is the problem? tried on an Ubuntu 16.04 machine and it worked perfectly. tried an 7.1.1 ...
Nadav Tasher's user avatar
  • 1,078
1 vote
1 answer
2k views

Error installing Android Studio?

I am starting Android Studio (for the first time after unzipping the file that I downloaded from the Android Studio website) by calling ./studio.sh in the android-studio/bin directory. I'm getting ...
phpNoob's user avatar
  • 11
6 votes
1 answer
10k views

android update project --path . --target android-25 on ubuntu 16.04

While executing command in terminal update project --path . --target android-25 I am getting error Invalid or unsupported command "update project --path . --target android-25 Supported commands ...
Kesha's user avatar
  • 243
-2 votes
2 answers
15k views

Using APT on Android Termux (terminal emulator) to install Ubuntu packages? [closed]

The Android termimal emulator, Termux, includes APT, but I am not able to install many packages with it. Mostly, I get: E: Unable to locate package (name of packages) I wonder if I can use termux or ...
samjbr's user avatar
  • 1
4 votes
1 answer
3k views

Ubuntu GNOME 16.10/17.04 issue with creating hot-spot using Network Manager

I've experienced the following problem on Ubuntu GNOME 16.10 and 17.04. Using Gnome-Network-Manager (I don't want to use other tools) I have issues when I create a wifi hot-spot to allow my Android ...
psiphi75's user avatar
  • 946
3 votes
1 answer
8k views

Anbox can't be started [duplicate]

I am very curious about the new Anbox emulator for running Android apps on PC. Unfortunately I can't make it work on my PC. After having installed via snap there is a new entry in the Gnome menu list....
Spectas's user avatar
  • 31
3 votes
0 answers
2k views

Android Studio 2.3.1 Ubuntu 17.04 Unity 8 problem: Startup Error: Unable to detect graphics environment

I've just recently installed Ubuntu 17.04. Also, I installed Android Studio in the default desktop and it works fine, but when I switch to Unity 8 and then try to launch Android Studio I get this ...
Juan David Gaines Puyo's user avatar
0 votes
1 answer
3k views

How to make a script run at boot?

i have a VNC set up with my phone because i use Linux for some things android cant do. i would like to know how to restart the computer from my phone without having to go to my computer and physically ...
user avatar
0 votes
0 answers
1k views

How to unlock the bootloader of a Meizu MX4 with Flyme 5.1.11G

I have bought myself a Meizu Mx4 with the intention to use Ubuntu Touch (I know about the discussions nowadays with quitting etc. but I am interested in a technical solution to this). I used the ...
user634093's user avatar
3 votes
1 answer
23k views

ANDROID_HOME environment variable

I know that there are several questions similar to this one but I have been trying different solutions for the past 3 days and none of them seem to work. I am trying to start a new project on ionic (...
Theodore Tremblot's user avatar
3 votes
1 answer
10k views

NO_MATCHING_ABIS error when installing *some* Android apps in Anbox

Since Anbox currently does not come packaged with an app store, the only way to install applications is through ADB as follows: adb install /path/to/file.apk I have been able to successfully install ...
Sumeet Deshmukh's user avatar
0 votes
1 answer
370 views

Exchange files with computer and android tablet

I try to transfer some files to my samsung tablet. First I connected my computer and the tablet via USB. Then this menu appeared. Now I tried to copy a html project to the tablet. First I created ...
Black's user avatar
  • 801
2 votes
0 answers
1k views

Android emulator for games

I have tried different Android emulators for playing mobile games. I tried wine too but those emulators are buggy for me. There is nothing which I found apt for this purpose. Is there anybody who ...
CS13's user avatar
  • 148
3 votes
0 answers
1k views

Usb tethering not working in 16.04 LTS after reconnecting phone

Usb tethering from Android phone works fine when connecting phone for the first time after boot, but does not work after disconnecting end reconnecting the phone. Connection information and ifconfig ...
ant0nk's user avatar
  • 31
1 vote
1 answer
251 views

Problems transferring files to a smartphone

This morning I was copying some files from my computer (running Ubuntu 16.10) to my Galaxy S5 (Running Android 6.x). 6 of the files threw an error message which read: libmtp: could not send ...
user avatar
0 votes
0 answers
590 views

Ubuntu Touch- Problem with unlocking bootloader using adb

I was following this tutorial and I've got problem in rebooting the device in bootloader mode. I have found another way to get there power + volume up but adb does not see my device then. Step I'm ...
capi1500's user avatar
1 vote
1 answer
3k views

Can I remote control my Ubuntu laptop from an Android phone without using the Internet? [closed]

Can I remote control my Ubuntu laptop from an Android phone without using the Internet? I would like to use VNC or a similar method to remote control my Ubuntu 15.10 graphically or over command-line. ...
Vesa's user avatar
  • 336
1 vote
0 answers
27 views

Can I install Ubuntu Mobile OS in Lenovo phone with Android Marshmallow? [duplicate]

Can I install Ubuntu Mobile in my Lenovo phone with Android Marshmallow?
Bharath Kumar Mani's user avatar
0 votes
0 answers
170 views

GRUB2 Doesn't see Ubuntu - triple boot Win10 Androidx86 Ubuntu

When I installed android x86 on my computer, I opted to have it install the grub2 which boots both to windows10 and android without issue. I then decided to install ubuntu, but I can't get into ubuntu ...
GnomGnom's user avatar
0 votes
1 answer
1k views

Building ElementalX kernel on Ubuntu 16.04 (64-bit)

Attempting to build the ElementalX kernel for android on Ubuntu 16.04(64 bit). I've downloaded the kernel source files and NDK toolchain folders and placed them in my home directory respectively. So i ...
Ahmed K.'s user avatar
  • 157
1 vote
0 answers
326 views

Can't build Make3.82 on Ubuntu 16.04.1

I use an Ubuntu server to build Android. I upgraded to 16.04.1 which has make 4.1. Android requires Make 3.82 to build. I downloaded make 3.82 from https://ftp.gnu.org/gnu/make/. When I run ./...
Adam W's user avatar
  • 111
11 votes
1 answer
16k views

How do I mount my Android's filesystem over the network with sshfs?

How do I mount my Android device over the wireless network with sshfs so I can access its files trough my file explorer or terminal?
Frederik Baetens's user avatar
17 votes
1 answer
8k views

Gradle or Android Studio freezes Ubuntu

I've got a problem with my Android Studio/Gradle regularly freezing my entire system. What happens? I work on my Android Studio and at first, everything is ok. For approx 5 - 10 builds/deploys ...
Miroslav's user avatar
  • 271
1 vote
1 answer
588 views

Is Ubuntu touch available on the Meizu MX6 android version? [duplicate]

First of all i want to say i am new to this website. I tried to look for answers before posting this question. Because i could not find it i will ask it here. Is it easy to put ubuntu touch on the ...
123's user avatar
  • 23
0 votes
0 answers
236 views

GT-I9506 / Fastboot

In order to install Ubuntu on my Android Device I need to do some configuration before, I use Ubuntu on my Machine, I installed adb and fastboot installed with repository, I'm actually installing ...
axel7083's user avatar
  • 101
0 votes
1 answer
2k views

Android SDK manager failed to run, got NullPointerException

I am using Ubuntu 16.10.I have installed OpenJDK Java 9 and Eclipse through Terminal. When I run android I got this error http://pastebin.com/ALEsETUC (too long to post it here) and my SDK manager ...
ProudNoob's user avatar
4 votes
1 answer
2k views

File manager detects Android device but gvfs folder is empty. How can I access the MTP device from terminal?

Directories /run/user/1000/gvfs and ~/.gvfs are emtpy and non-existing, respectively. My graphical file manager (Thunar) is able to detect and access the internal and external memory of the device. ...
Gavriil Pascalau's user avatar
34 votes
8 answers
95k views

Use phone as microphone in Linux

I have dual boot Windows and Ubuntu. Since I don't use any microphone on my desktop, I started using an app named "WO Mic" to connect my Android phone's microphone to my desktop in Windows. A good ...
someanon's user avatar
  • 341
0 votes
2 answers
263 views

Can't able to add Gionee F103 in android studio?

Please any one have any idea that how to use GIONEE F103 mobile to run android applications from android studio. I am not getting its appropriate driver to install in ubuntu 16.04 LTS. If anyone ...
Bama Kant's user avatar
0 votes
1 answer
406 views

CM-14.1 compilation error on Ubuntu 32 bit

I'm attempting to rebuild Cyanogenmod 14.1 with Realtek drivers support on Ubuntu. I have managed to download the entire CM source code as well proprietary specific files for my phone which is a ...
Ahmed K.'s user avatar
  • 157
9 votes
1 answer
11k views

Stream Audio from Ubuntu Desktop to Android Mobile via bluetooth [closed]

Is there any way to play music on your PC and stream it to your android phone via bluetooth, e.g I want to play a youtube video on computer and listen that audio via my phone.
SHAHS's user avatar
  • 242
59 votes
3 answers
116k views

Android SDK - repositories.cfg could not be loaded

To set up a minimal SDK installation without Android Studio, here's what I did: mkdir ~/sdk cd ~/sdk wget https://dl.google.com/android/repository/tools_r25.2.5-linux.zip unzip tools_r25.2.5-linux....
Sons of Liberty's user avatar
0 votes
1 answer
204 views

Nexus 4 Ubuntu Android Dual Boot

I was able to successfully install the Ubuntu Dual Boot app on my Nexus 4. During installation of Ubuntu on the phone the following error was returned in the console. "Script execution exception ...
tccloud's user avatar
0 votes
0 answers
780 views

Stuck in Odin Mode | Installing Ubuntu Touch

Trying to install Ubuntu Touch on my Samsung Galaxy S5. I've been using this guide (the standard one), and things worked smoothly up until $ adb reboot bootloader Where I should have been on the ...
Jean's user avatar
  • 1
1 vote
2 answers
1k views

Problems Mounting Samsung Galaxy Note 5 16.04

I am attempting to connect my Samsung Note 5 to a computer running Ubuntu 16.04. When I connect my phone it will mount so I can see the files for several seconds, then I will get the error "Unable to ...
David's user avatar
  • 11
2 votes
1 answer
4k views

Android Studio IDE and tools do not launch after install

I have been trying to install android studio or just the android sdk tools on Ubuntu 16.04 64 bit for the past two days. I follow the directions exactly as on the android developer page but cannot ...
Fractal's user avatar
  • 23
1 vote
0 answers
872 views

How can I connect my android phone to wired DSL(pppoe) network which is running on my pc (Ubuntu - 14.04)

I am using a wired DSL pppoe network on my laptop using following commands - 1) run sudo pppoeconf 2) Enter root password 3) Answered all questions with answer - "Yes" 4) finally run pon ...
Gaurav Tomer's user avatar
2 votes
0 answers
263 views

umake android proxy error

When I run in Ubuntu 16.10: $ umake android --accept-license ERROR: https://developer.android.com/sdk/index.html couldn't finish download: HTTPSConnectionPool(host='developer.android.com', port=443): ...
maormara's user avatar
1 vote
1 answer
1k views

Dualboot: Encrypted Ubuntu and android-x86

I want to install additionally to my encrypted Ubuntu (16.10 Gnome) that is already installed an Android-x86. Both must be on the single hard drive of the convertible; a usb stick is no option for ...
A. Bigerl's user avatar
0 votes
0 answers
3k views

Android Studio cannot edit code in one android studio project window when a dialog window is open in some other android studio project window

When I open multiple android studio windows for opening multiple android projects, I cannot edit or select or do anything in Window1 when there is a popup dialog open in window2. So I am downloading a ...
viper's user avatar
  • 173
5 votes
4 answers
14k views

Can't paste files onto Android phone

OS – Ubuntu 16.04, 64-bit. I just bought a Moto G4. I plug the USB cable into my computer, then I go to Apps > Play Music, and it says, "Copy music to your phone with a USB cable." Suddenly, my ...
Elen Sila's user avatar
  • 435
0 votes
0 answers
1k views

Unable to mount Nexus 5

I can't connect to my phone in debug mode. I am searching for about 4 hours and applied every solution already given in other questions. Following is the output of mtp-detect command allaudin@geek:~$ ...
mallaudin's user avatar
  • 101
1 vote
2 answers
5k views

KDE connect indicator not opening for Ubuntu 16.04

I'm not able to access or open KDE connect indicator. Whereas kde connect monitor and kde connect settings are opening. What should I do?
nooneswarup's user avatar
16 votes
6 answers
42k views

"libmtp error: Could not get file from device." on attempting to transfer files from Android phone

I am attempting to transfer files from my OnePlus X Android phone to my fairly fresh Ubuntu 16.10 installation. After the phone is mounted (and I can see file, navigate the filesystem etc.), when I ...
d3pd's user avatar
  • 3,661
2 votes
1 answer
735 views

Android Device connection problem

My problem is not seeing my android device on my Ubuntu. Details are: I have Ubuntu 16.10 installed on my computer. I don't have any issue connecting other Usb or external HDD to my device. My phone ...
Gunay's user avatar
  • 21
0 votes
1 answer
4k views

Why I can't start android emulator?

Why I can't start android emulator? There is error message like this, Starting emulator for AVD 'Sen' Failed to start emulator: Cannot run program "/opt/android-sdk-linux/tools/emulator": error=13, ...
Tje Sen Liem's user avatar
4 votes
2 answers
29k views

Android: Command not found after installing Android Emulator

I followed the instructions from TechApple on how to install an android emulator. I followed all the steps, restarted the pc, but now I still cannot have my android avd command recognized. The very ...
hadarS's user avatar
  • 619
1 vote
0 answers
133 views

Ubuntu Touch stuck at terminal

After intalling Ubuntu Touch, my Google Nexus 2012 Wifi Tablet stuck at this screen Screen shot adb devices does not detect any devices. Can you help me?
Jamie Nhu's user avatar
0 votes
0 answers
34 views

Install ubuntu touch on android PRIMO8 Thomson tablet via ubuntu touch ZIP file on sd card as an experimentation [duplicate]

I want to try to install ubuntu-touch on an old tablet. Is there a way to get a ubuntu-touch ZIP file which could be installed via an SD CARD put in the tablet using the install-from-zip-file root ...
user301828's user avatar
0 votes
1 answer
3k views

ubuntu arm on android

i want to install ubuntu arm on a mobile phone as primary os. anybody know how to do this. i want this as a ubuntu desktop.i have a samsung s4.i want to replace kernel and os with orginal linux kernel ...
Shaber's user avatar
  • 9

1
10 11
12
13 14
38