Tag Info

Hot answers tagged

51

Target : Super Newbies IDE : Eclipse 1. Installing Java Runtime (JDK) and Eclipse IDE Search Software on Ubuntu and launch Ubuntu Software Center Search Java on Ubuntu Software Center and then install the OpenJDK Java Runtime. Search Eclipse on Ubuntu Software Center and then install it. If you have successfully installed eclipse and JDK, it ...


32

Please follow this way: Android Studio->Tools->Create Desktop Entry Now, you should be able to see in your system menu.


22

The short answer is "no." Strictly speaking, the Linux kernel provides little more than a direct interface to the hardware it is running on. There is an entire stack of additional Android-phone-specific APIs, programs, applications, etc. on which Android applications depend. Additionally, Android does not run on a generic Linux kernel, but instead runs on ...


12

I had the same problem this fixed it: sudo apt-get install mtpfs Once that's installed, plug in the phone to your computer. If nothing happens, on the phone go to Settings > Storage > Upper Right Corner (⋮) > USB Computer Connection > Media Device.


11

I just ran into this on Ubuntu 14.04 64-bit. My solution was: sudo apt-get install -y libc6:i386 libgcc1:i386 libstdc++6:i386 libz1:i386 Based on the shared libraries required for the aapt tool: $ readelf -d android-sdk-linux/build-tools/20.0.0/aapt | grep -i shared 0x00000001 (NEEDED) Shared library: [librt.so.1] 0x00000001 ...


8

You're getting this error because you are apparently running on a 32bit system and the Android emulator is designed to operate best in a 64 bit environment. The only real solution is to install a 64bit operating system. If your hardware doesn't support 64bit or you can't reinstall right now you can temporarily bypass the problem by passing -force-32bit ...


7

The following are the steps in setting up android SDK on ubuntu 14.04: # ++++++++++++++++++++++++++++++ # apt-get update and upgrade # ++++++++++++++++++++++++++++++ sudo apt-get update sudo apt-get upgrade # ++++++++++++++++++++++++++++++ # For development # ++++++++++++++++++++++++++++++ sudo apt-get install build-essential # ...


6

This may seem to be a long answer, but I tried to explain every step as detailed as possible so nothing can go wrong. You can set this up in less than 5 minutes, even as a beginner. You'll need Java to use Eclipse, so install it first: Eclipse is an IDE. The Android ADT package is being bundled with the Eclipse IDE by default. You can also choose to use ...


5

I experienced this recently whilst playing around with Ubuntu Touch and Android linux containers (lxc). the symptom was my system would hang on the boot-up splash screen (after entering my LUKS passphrase). I fixed this by going into recovery mode and deleting /etc/ureadahead-touch.conf and doing a complete removal in Synaptic of android-tools-adb, ...


4

You can now under Chrome run APKs, using this extension (bearing in mind it is in development for use by developers for testing apps). Here are some steps I did to get it to work Install from here - click 'Add to Chrome' This will take a while as it seems to download a crx installer weighing in at 113Mb, and another one at around 9Mb, so be patient: ...


4

Open up terminal in Ubuntu enter: sudo -i <your password> Now: fdisk -l and look for the the device/partition you have android x86 installed on, next: nano /etc/grub.d/40_custom you can add this to the bottom of your custom menu: menuentry "Android-x86" { set root='(hdX,X)' linux /android-4.4-RC2/kernel quiet root=/dev/ram0 ...


3

The correct command would be, cd Desktop/android OR cd ~/Desktop/android Please note that linux commands are case sensitive.


3

I'm using OpenJDK 7 with Android Studio and it works just fine. (I don't even have Oracle JDK installed at the moment.) On that screen that you are showing (Project Structure-->SKD Location) I have the following path for the JDK location: /usr/lib/jvm/java-1.7.0-openjdk-amd64.


3

Install VirtualBox Install virtualbox from the Ubuntu Software Center. download android sdk to run AVD Create a new Virtual Machine with the steps mentioned here. http://androvm.org/blog/blog/2012/11/14/androvm-configuration-tutorial/ download ur app and run ------------------OR-------------- (BEST=>)Try Genymotion runs with VBox/ Linux Its not really ...


3

These two simple commands solved the problem for me: adb kill-server adb start-server Note that unlike semi-newbie's answer I don't need sudo.


3

You can open Android Studio, click on Configure -> Create Desktop Entry. This should create an entry on the dash.


3

It's really weird, but I solved the issue by closing Banshee Media Player that ran in the background. Turning it back on has resumed the problem.


3

Totally normal behaviour. You should be able to write ATTRS{isProduct}="61f9|61a6" or ATTRS{idProduct}="61*"


3

i have one great solution. you can start it with eclipse or netbeans. try : In Eclipse, click your Android project folder and then select Run > Run Configurations... In the left panel of the Run Configurations dialog, select your Android project run configuration or create a new configuration. Click the Target tab. In the Additional Emulator Command Line ...


2

See the instructions here: https://help.ubuntu.com/community/KVM/Installation In short: sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils sudo adduser `id -un` libvirtd sudo adduser `id -un` kvm Then log out and back in again, and check that it is working by running: virsh -c qemu:///system list Some more instructions from ...


2

To re-configure you have to delete the following (hidden) folders: ~/.android ~/.AndroidStudio To show these hidden folders in the file manager press Ctrl+H when in your home directory (aka "~")


2

Why do you set the proxy settings ? If your Android isn't acting as a proxy but as a HTTPS server, you don't need to set any proxy on your desktop, only putting https://192.168.1.7:50345in your address bar. Could you please try it and tell us the answer? You could also try directly with curlon command line, curl -v https://192.168.1.7:50345


2

Haven't personay try it but this is what is seems you need: Java Swing Ayatana is a project that brings Ubuntu global menu (AppMenu) and HUD support for Java Swing applications. JAyatana version 2 was released recently, getting support for Ubuntu 13.10 along with a PPA for easy installation. Update: the PPA now supports Ubuntu 14.04 and 14.10. ...


2

Try this sudo apt-get install mtpfs Then reconnect phone. This works for me. Samsung Note 2 Android 4.4.2


2

Try to plug it into on of your USB 3.0 ports (xhci_hcd) if you have one. I have the same issue when I plug my zenfone into any of my USB 2.0 ports (ehci-pci), it just detects the phone but doesn't mount it.


2

You probably edited ~/.bashrc and updated your PATH, but instead of writing PATH=..., wrote PATH-.... Change the hyphen to = and it should be fixed.


2

I found solution by installing Android Studio from here


2

OK it has been a lot of searching but it appears the problem is that the adb and some other sdk tools still use some 32bit libraries which have been deprecated and are no longer supplied with the latest version of Ubuntu 64.... Hopefully this issue will be resolved soon in the meantime I got it working with: sudo apt-get install lib32z1 lib32ncurses5 ...


2

Try these commands: cd /home/drmohammed/workspace/android/android-sdk-linux/platform-tools/ ./adb install mobogenie_1028.apk ./adb 'installmobogenie_1028.apk' What was wrong? Needed to be cd. You weren't actually changing directory. You had no space after install and the path. It may have been causing an issue? You had an extra quote at the end, ...


2

When you say 'use' you mean 'install' genymotion? Refer this link or the official guide to get an idea about how to install it. In summary: Install virtual-box by sudo apt-get install virtualbox Go to the Genymotion download page and download the Linux package corresponding to your system. Run the following commands: chmod +x 'Genymotion installer ...



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