Hot answers tagged

11

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


8

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 ...


7

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 ...


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-...


5

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


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

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

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

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: ...


3

You can try DroidCam https://play.google.com/store/apps/details?id=com.dev47apps.droidcam, but in the long run it's probably best to buy an external Webcam.


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

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

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

I just ran into the same issue on my Ubuntu Trusty development machine. You can fix this error error while loading shared libraries libgcc_s.so.1: cannot open shared object file: No such file or directory by installing the corresponding 32bit library: sudo apt-get install libgcc1:i386 I wish Google would stop requiring a 32 bit development platform, ...


2

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


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


2

This worked for me export PATH=$PATH:$HOME"/android-sdk-linux/platform-tools"


2

It seems kernel 3.13.0-59-generic caused this issue. Downgrading to 3.13.0-57-generic fixed it.


2

I had the same unstable USB connection problem with my S4. I found that it doesn’t like the 3.0 ports. If you have a 2.0 USB port, use that one instead and I think you’ll do better uploading your videos. I use the VLC media player to view my android videos and it works great for me. Hope this helps :)


2

Old processors doesn't support virtualization technologies. You should first check that your CPU is compatible by searching informations (vtx instructions) on it on Intel website. According to the model of your PC, some processors should be compatible but I think you need to enable the virtualization capabilities in your bios. reboot your computer enter ...



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