Questions tagged [android]
Questions about connecting an Android device to Ubuntu. Questions targeting the device itself are better suited for android.stackexchange.com.
1,872
questions
198
votes
9
answers
321k
views
How to add Android Studio to the launcher?
I'm trying to install Android Studio so that I can launch it from a launcher instead of via terminal.
Android Studio > Tools > Create Desktop Entry doesn't do anything
Can someone give specific ...
158
votes
6
answers
643k
views
Complete Installation Guide for Android SDK / ADT Bundle on Ubuntu
What all needs to be done to install Android SDK / ADT Bundle on Ubuntu?
Each of the steps in the answer was found on some different forum as I encountered obstacles getting started with my Android ...
104
votes
9
answers
98k
views
Can I run Android apps on Ubuntu?
Is it possible to run Android apps on Ubuntu? And I don't mean inside an emulator, but natively, as you would with any other application installed using the Ubuntu Software Center.
94
votes
15
answers
166k
views
How do you use an android tablet as a second display?
I've noticed people using a product for Windows and Mac called iDisplay which lets you use your Android or iPad as a secondary display. This seems like a great idea, and something that could be done ...
91
votes
6
answers
288k
views
Ubuntu as Miracast Sender/receiver
I couldn't find anything about Ubuntu acting as a Miracast receiver or sender.
Can it work at all?
Are there hardware prerequisites?
Is WiFi a requirement or can it work over LAN or another kind of ...
85
votes
14
answers
169k
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 ...
80
votes
12
answers
82k
views
How to rsync to android
How can I connect to my android device to rsync music (or other stuff)?
68
votes
3
answers
120k
views
Can I use an Android phone as webcam for an Ubuntu device?
I found out that my Android phone's cam has a higher quality than the one of my PC and I'm wondering if there is a way to use my phone as a webcam for the computer. Is that possible?
USB (preferred), ...
62
votes
15
answers
222k
views
How to connect MTP devices via USB?
How does one connect an MTP device to Ubuntu via USB? Many popular devices, such as all Android 4.0 phone, have only MTP or PTP as a connection option, no USB mass storage anymore.
Considering the ...
60
votes
9
answers
347k
views
Uninstall Android Studio completely
I installed Android studio some time ago using the following suggested method:
To set up Android Studio on Linux:
Unpack the downloaded Tar file,
android-studio-ide--linux.zip, into an ...
60
votes
12
answers
78k
views
'Insufficient permissions' error on `adb push` command on 12.04
When I tried to push my apk file into a tablet, I got this error, please help me out.
adb server is out of date. killing...
* daemon started successfully *
error: insufficient permissions for ...
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....
56
votes
12
answers
92k
views
How to access my Android's files using Wi-Fi in Ubuntu?
Both my Ubuntu and Android phone are using the same Wi-Fi. How can I transfer files between the phone and the PC? Is there any way to mount the Android file system? I don't want to use the USB cable. ...
53
votes
8
answers
120k
views
Problems with Eclipse and Android SDK
I installed Eclipse, openjdk6 and downloaded and extracted the sdk manager file.
Now, When I created an Android project I got the following error:
2012-06-06 18:44:40 - contactManager] /home/catia/...
49
votes
7
answers
89k
views
Ubuntu doesn't recognize Android devices anymore
Ubuntu 14.04 doesn't recognize any of my Android devices anymore. (Tried with the Nexus 7 and Galaxy Nexus)
I thought this was an MTP or ADB-problem, but connecting / disconnecting the devices doesn'...
47
votes
9
answers
240k
views
How to configure ADB access for Android devices?
I'm using Ubuntu 12.10 and I have installed Android SDK, set it's path in my user .bashrc and it works.
The problem is that my phone requires adb to be ran by root for permissions, but running adb ...
47
votes
8
answers
333k
views
How to set the JDK for Android Studio?
I can't compile a default new project for Android 2.1 because(?) the JDK used by Android Studio is JDK 1.7 but it should be JDK 1.6.
To change it I go to File -> Project Structure and try to find the ...
46
votes
4
answers
209k
views
How do I mount my Android phone?
I'm puzzled because my phone used to just appear when I plugged it in. It doesn't anymore and The development options are definitely set to allow USB debugging. The phone is charging via USB but doesn'...
45
votes
17
answers
57k
views
Connecting Android 4 (Ice Cream Sandwich / Jelly Bean / KitKat) phone
I'm using the US Model 16GB version of the Samsung Galaxy S3 (I747), however, I cannot mount it to my laptop from some reason. I have tried using both FTP and MTP connections, but neither work.
What ...
45
votes
5
answers
190k
views
How to run an Android emulator in Ubuntu 13.04
Is there any way of doing this in 13.04?
If so, can you also provide a step-by-step instruction on how to do it ?
43
votes
7
answers
102k
views
How do I connect a Nexus 7 to transfer files? [duplicate]
I want to move some files from my PC to Nexus 7. The tablet is connected to my PC's USB port and it is successfully charging. Unfortunately, the PC is not detecting the devices - what I expected is to ...
42
votes
8
answers
120k
views
no permissions fastboot - fastboot and adb not working
I'm trying to unlock my Moto phone using ADB but I when I do a fastboot devices I keep getting
no permissions fastboot
Even sudo fastboot devices is not helping
with sudo I get this sudo: ...
42
votes
10
answers
158k
views
ADB device list doesn't show phone
I've recently installed adb and fastboot:
apt-get install android-tools-adb android-tools-fastboot
After the installation finished, I connected my device and ran the following command:
$ adb ...
42
votes
17
answers
75k
views
Can an Android phone control Ubuntu like a remote?
I am looking at making a budget media centre. I am new to Linux and have not yet installed it but think I can manage. I want to use Ubuntu and would like to use my Android phones to control or work as ...
41
votes
7
answers
57k
views
Android adb no permission
I'm trying to use adb from a Ubuntu(+Cinnamon) machine. The problem is that I get following message from adb devices:
List of devices attached
TA8830OIVO no permissions
Where TA8830OIVO is my ...
41
votes
4
answers
50k
views
How to Connect & Share your Internet Connection (Wired & Wireless)
I have Ubuntu 12.04 on a HP 430 notebook and this has a single wired internet connection and I would like to share this with a LG Optimus One with Android 2.3.3. I followed these instructions and ...
40
votes
9
answers
88k
views
Creating an application launcher icon for Android Studio
I currently launch android studio by going to /path-to-android-studio/bin and running ./studio.sh and it works fine.
However, I want to create a launcher on the Dash and side menu for launching it ...
40
votes
3
answers
166k
views
Ubuntu 14.04 and Android, can't see phone on my computer
I have installed gMTP and tried to follow this tutorial to solve this problem:
http://www.webupd8.org/2013/01/upgrade-to-gvfs-with-mtp-support-in.html
But neither worked.
I tried to connect both my ...
39
votes
7
answers
241k
views
Run Android Studio after installation (and other programs)
I downloaded Android Studio from the official website, started the installer with the terminal (studio.sh) it installed completely, wrote some lines of code, closed Android Studio, now I don't know ...
36
votes
8
answers
138k
views
Ubuntu is not detecting my android device
I am new to android. I have just downloaded and installed android sdk. Now when I run the application from eclipse, my device is not getting detected. I have googled and was brought up with this as ...
34
votes
2
answers
193k
views
How to transfer files between Android and Ubuntu? [duplicate]
I have an Android phone (Samsung Galaxy S3) and I wish to take the music files I have off of it and store them on my laptop which is running Ubuntu 12.10. Upon connecting my phone to my computer I can ...
34
votes
9
answers
51k
views
How can I run Evernote on Ubuntu?
I have Evernote running on Windows. I access the same on my android phone with ease.
I want to use the same Windows-run Evernote to use on my Ubuntu, so that the notes fed on Windows Evernote can be ...
34
votes
8
answers
97k
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 ...
34
votes
0
answers
87k
views
How to transfer files from/to an Android device with ADB via GUI? [closed]
Do you know if there is an Ubuntu program (possibly a Nautilus plugin) to transfer files from/to an Android device?
What is my mind is a program which does adb push, adb pull, and adb shell ls in the ...
31
votes
5
answers
29k
views
AdbCommandRejectedException: insufficient permissions for device: user in plugdev group; are your udev rules wrong?
Five days ago I installed Android Studio on a fully updated Ubuntu 2018.04, used the wizard to create an example app, pressed the "Run" button and it ran perfectly on my Android device connected via ...
31
votes
2
answers
24k
views
System audio problems while Android emulator is running
I didn't use to have this problem but lately, while I have Google's Android emulator running, my system audio (not talking about the emulator's audio) sounds very distorted and metallic. Sometimes it ...
31
votes
8
answers
113k
views
How to share a wired Internet connection with an Android phone (reverse-tethering)?
I have been trying to share my wired Internet connection with my Android phone. However I could not succeed in doing this. Has anyone of you ever succeeded?
Operating systems that I use are as follows:...
29
votes
5
answers
109k
views
How to connect Android 7.1 to Ubuntu Linux with USB?
I'm trying to connect a Google Pixel phone, with android 7.1,
to a Ubuntu 16.04 laptop with a USB cable using mtp-tools.
But the mtp doesn't see the phone file system and gives the error
message "Get ...
29
votes
4
answers
43k
views
"Starting Wireless Hotspot..." but nothing happens
I was trying to create an WiFi hotspot for my android device. I used ap-hotspot to do so.
I configured the ap-hotspot using
sudo ap-hotspot configure
Then I started ap-hotspot using
sudo ap-...
28
votes
4
answers
10k
views
Would Android apps be able to run in Ubuntu touch natively?
I'm wondering why Android apps won't be able to be run natively on Ubuntu Touch. I mean, isn't it all just Linux?
26
votes
2
answers
66k
views
how to access my Android phone from my terminal?
I plugged my Kit-kat android phone up to my Ubuntu 14.04 computer and I enter the terminal and I want to be able to access files on my phone like the media and music folders through the terminal... is ...
25
votes
4
answers
121k
views
How to connect mtp android device to ubuntu 13.10
I searched here and google and all I could find is how in Ubuntu 13.04 forward mtp devices are supported. The answer I found are for ubuntu 12.04 or ubuntu 12.10
Well, I connected my phone in mtp ...
25
votes
7
answers
33k
views
Sync calendar and contacts with Android smartphone
I use Thunderbird with Lighting calendar addon, which stores calendar data in iCalendar format.
How can I synchronize this calendar and Thunderbird contacts with Android based smartphone (HTC ...
23
votes
2
answers
2k
views
Plans to make Android Apps run on Ubuntu abandoned?
I remember a longer time ago there was an anouncement that some Ubuntu developers were planing to bring the possibility to Ubuntu to run Android Apps on an Ubuntu and planned to write an environment ...
22
votes
5
answers
245k
views
How to fix "not a valid identifier" error after setting environment variables?
I'm trying to setup cocos2dx in Ubuntu 14.04 LTS but after setting the environmental variables (in .bashrc) I start getting this error:
bash: export: dev/cocos2d-x-3.2/tools/cocos2d-console/bin': not ...
22
votes
8
answers
120k
views
How to remotely control my Android?
I had a Windows OS earlier and could use TeamViewer to connect to my Samsung phone and execute actions.
However that was not only very slow but also very slow in response.
Is there any other way to ...
22
votes
5
answers
35k
views
How to use android 2.1 phone as remote audio receiver?
I have an unused HTC Hero Android phone (running Android OS 2.1), I would like to connect it to audio amplifier and leave it connected for months, so I could use this android phone as remote ...
22
votes
3
answers
117k
views
Unable to launch Android SDK Manager in Terminal
I am trying to open my Android SDK Manager which I installed and used before, and the instructions on the official website for it here: http://developer.android.com/sdk/installing/adding-packages.html
...
21
votes
1
answer
41k
views
How can I use the ffmpeg command to reverse video?
I am trying to use FFmpeg library in Android to reverse video. I can dump images from videos, but how can I reverse all images and make a new video?
I am using a library from here in my gradle. ...
21
votes
9
answers
54k
views
14.04 Cannot create/delete/manipulate files on my Android device via USB
I've always had issues with compatibility between my Android phone and Ubuntu, but now it's gotten to the point that I can't do anything with it over USB. It's always been that when I plug in my ...