Hot answers tagged

18

OK here are all the steps to get this to work. I had problems with all responses I found online, bits and pieces everywhere without any certain order and no single working solution, (running Android Studio, Jmonkey 3D, and Ubuntu 14.04) If adb devices shows android device as ????????? (no permissions) follow these instructions: 1) create file /etc/udev/...


9

This is so simple... Go to Android Studio=>Tools=>Create desktop Entry.. it will work


9

The issues gets solved when you provide [--accept-license Accept license without prompting] option umake android --accept-license


6

Here is my android-studio.desktop file. Its working after adding bash -i before program path. [Desktop Entry] Version=1.0 Type=Application Name=Android Studio Exec=bash -i "/home/user/android-studio/bin/studio.sh" %f Icon=/home/user/android-studio/bin/studio.png Categories=Development;IDE; Terminal=false StartupNotify=true StartupWMClass=jetbrains-android-...


6

Found a better solution over here: http://stackoverflow.com/a/28127944/1621927 Here is the comment: Instead of forcing permissions via sudo each time you need to run fastboot, you can permanently fix the issue: use lsusb to identify your device USB VendorID configure udev to set proper permissions when your device is plugged in profit! As a bonus - it ...


5

here is a clear guide to create a Wi-Fi hotspot detectable by any Android phone on a Ubuntu 14.04 using the Network Manager and a minor hack: Click on Network manager -> Create new Wi-Fi network sudo nano the newly created file /etc/NetworkManager/system-connections/yourWifiNetworkName change the mode line to: mode=ap Thats all! From now on you can ...


5

Try using sudo $(which fastboot) for instance sudo $(which fastboot) devices also sudo $(which fastboot) oem unlock


5

Finally get it here. http://stackoverflow.com/a/19102096/5070449 1) Install 'adb' and 'fastboot' provided by the following third-party PPA. sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install android-tools-adb android-tools-fastboot 2) Replace the copy of 'adb' and 'fastboot' provided by the official Android SDK with ...


4

From dmesg output, it is clear that the phone connected twice. [ 40.632283] 1st connected as USB bus 2 dev 3 [ 40.864690] disconnected [ 41.613079] 2nd connected as USB bus 2 dev 4 The problem is: Both phone connection modes are using same attributes idVendor/idProduct/bcdDevice. libmtp udev rules use only idVendor/idProduct to filter devices in ...


3

Improving on Organic Marble's answer, to only install the latest tools (not the whole sdk), use the platform-tool filter as below: tools/android update sdk -t platform-tool --no-ui


3

There are quite a selection of Android remote controls for a popular music players running on Ubuntu. Rhythmbox Remotebox on Google Play Rhythmote for download from the project's homepage VLC See list of remote application maintained by Videolan XBMC/Kodi Official remote application Kore from Google Play The remote applications vary ...


3

There is no need of external PPA anymore since Canonical released Ubuntu make that allow an easiest installation of Android Studio: Installing Ubuntu Make : For Ubuntu 14.04, 14.10 users : sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make sudo apt-get update sudo apt-get install ubuntu-make For Ubuntu 15.04 and up : Ubuntu make is already in ...


3

As per output mentioned for command sudo update-alternatives --config java I can see that you have only JRE installed but you also need JDK to compile and run the code. You can install JDK using following command : sudo apt-get install openjdk-7-jdk And then run sudo update-alternatives --config java command and select JDK instead of JRE.


3

Steps I followed: Opened terminal and enter echo java_home Copied the path displayed in terminal - Ctrl+Shift+C copy in Ubuntu terminal In Android studio - Project Structure - Pasted the copied path Waited for the software to recognize and update the settings This solved the problem of Invalid Jdk settings


3

This worked for me: Find out the java directory: $ echo $JAVA_HOME /usr/lib/jvm/java-7-oracle Open Android Studio and then File-> Project Structure. Under SDK Location I past the java directory from above Wait a couple of seconds and I got "0 errores 0 advertencias" It worked! :)


3

Solution Do I have to completely reflash my phone? No. Once you have ubuntu on there, you can simply update. Do I run the commands from phone, or computer? Computer, with phone plugged in. What command do I use? Boot up phone up normally, and run this command from your computer: adb reboot recovery Wait until the phone gets into recovery ...


3

You can track the current kernel version by looking at the version of linux-generic: $ apt-cache policy linux-generic linux-generic: Installed: 3.13.0.65.71 Candidate: 3.13.0.65.71 The history of versions can be seen from the changelog for this package: linux-meta (3.13.0.65.71) trusty; urgency=medium * linux ABI 3.13.0-65 -- Brad Figg <brad....


3

The cause of your issue is the version of the MTP library available in Ubuntu 14.04LTS - v1.1.6 - does not recognise our phone (Vodafone Smart Turbo - model 890N). The workaround I found was to recompile libmtp from the latest upstream sources which also includes all the latest bugfixes which resolves the your observed issues. We do have a question and ...


3

In the console just type these (remember to change to your current location) export ANDROID_HOME=/usr/local/android-sdk-linux/tools export PATH="$PATH:/usr/local/android-sdk-linux/platform-tools" If you want to make it permanent just add those lines in the ~/.bashrc file.


3

You cannot. Android is a different operating system.


3

For Firefox this is easy enough as your customised spelling words are stored in a plaintext file called persdict.dat. The full path will vary according to the filename used for the specific subdirectory, it will be something like $HOME/.mozilla/firefox/*.default/ using a wildcard for the random letters and numbers; but this screenshot will give you the idea: ...


2

There's a Gnome Shell alternative to KDE Connect which is called DeskCon EDIT: Notice http://screenfreeze.net/my-condolence/


2

Open Settings and go to Window Manager Tweaks. There you should see 6 tabs: Cycling, Focus, Accessibility, Workspaces, Placement, Compositor. Click on Cycling and un-check "Cycle through windows on all workspaces" if it's checked. Next go to the second tab Focus, you'll see 3 options for when a window raises itself (meaning the window wants focus), choose ...


2

OpenJDK is more Open and thus also better to debug, fix and configure. It tends to be a bit slower though. Incompatibilities should not arise (anymore) - Android itself can be built using the OpenJDK.


2

I too had the same error. The libz.so.1 was missing. Fixed this by sudo apt-get install lib32z1


2

Yes, Android's USB tethering shows up as an USB RNDIS device, which has been supported in the Linux kernel for several years.


2

yes for sure! you just have to enable it in your android settings: if you got troubles or want more clients to use this connection, you can also establish a WiFi-hotspot in the same menu (as highlighted in the picture).


2

I have a Galaxy S5 and I found that jmtpfs worked fine (whereas standard mtpfs didn't work). One off: sudo apt-get install jmtpfs mkdir /path/to/my/mountpoint Each time you want to connect: [Connect USB cable] sudo jmtpfs -o allow_other /path/to/my/mountpoint when finished: sudo fusermount -u /path/to/my/mountpoint


2

The adb and fastboot tools that come with the Android SDK are in the repository: sudo apt-get update && sudo apt-get install android-tools-adb android-tools-fastboot To flash the images, connect the device to the machine, enable USB debugging and reboot the device into the bootloader by running adb reboot bootloader. Then flash the images using ...


2

Yes. But one does not simply "flash a ROM" from USB, but parts or more specifically images. These will be system.img, recovery.img and so on. Install fastboot: $ sudo apt-get update $ sudo apt-get install android-tools-adb android-tools-fastboot Then simply, reboot to fastboot and do: $ sudo fastboot flash system system.img



Only top voted, non community-wiki answers of a minimum length are eligible