Tag Info

Hot answers tagged

21

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


7

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.


6

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


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

The conflict is between Banshee and the file manager (Nautilus), both are trying to access the device. So if you want to copy the playlist to the device, you must deactivate all the extensions that access your device, in Banshee's Preferences. Then open your device's music folder in Nautilus, and copy/paste your playlists from Banshee to the Nautilus' ...


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


4

There is an Android application named AirDroid . You can download it from the play store. By using it you can view your android's files in ubuntu using a web browser. Here is the link : Airdroid.


4

There is a free application on the Google Play store called Software Data Cable: Once you've installed it, turn on your WiFi connection and launch the app. Tap on the "start service" button. It create a FTP server on the android device that let you connect from any computer by opening the resource: ftp://192.168.1.xxx:8888 where 192.168.1.xxx is the IP ...


3

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


3

Use 7z x *bin as workaround as all r10c packages are 7z archive. To install 7z, do sudo apt-get install p7zip-full. Found that from here: https://code.google.com/p/android/issues/detail?id=78148


3

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


3

-just a quick heads up! Genymotion will NOT work with the standard open-source drivers! (not properly anyway!) You need to install the proprietary graphic card drivers. For example; under Additional Drivers in Ubuntu, you will find all available/compatiblie drivers, both open and closed Good Luck!


3

This one helped me try it, Installing the libs: apt-get install libxi-dev libxmu-dev Moving the Qt libs inside the Genymotion installation directory Code: mkdir QtLibs && mv *Qt*.so* QtLibs Try to read what log says.


3

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


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


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 And have several options to do it. Special emulator like those that come with Android SDK. Don't use ARM-based as they are sloooow. Generic virtual machine like VirtualBox with Android x86 installed. My recommend. Chrome. Recent versions of Google Chrome can run Android apps inside itself (never tried that, but people rate it high). Connect ...


3

You just install jmtpfs (via sudo apt-get install jmtpfs). After connecting your phone via USB, enable the MTP file transfer on your phone and it will show up as USB device on your computer. You can then access the whole file system (and not only the pictures, as with PTP) of your Android device. This worked for me with (K)Ubuntu 14.04 LTS and my Motorola ...


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.


2

I'm not sure why Clementine doesn't find songs at first, but I can transfer musics anyway: Right click on a track and select "Copy to device...", it might take a while, but it works, at least it did for me (You'll see a progress indicator saying "Organising files..." under play controls). Btw my device is Nexus 4 with Android KitKat and I'm using ...


2

By inspecting studio.sh, you can also set one of STUDIO_JDK, JDK_HOME or JAVA_HOME environment variables to point to the JDK location. studio.sh checks the STUDIO_JDK, JDK_HOME, and JAVA_HOME environment variables in order: if [ -n "$STUDIO_JDK" -a -x "$STUDIO_JDK/bin/java" ]; then JDK="$STUDIO_JDK" elif [ -n "$JDK_HOME" -a -x "$JDK_HOME/bin/java" ]; ...


2

On my galaxy s3 (android 4.4), I changed my settings from Media Device (MTP) to Camera (PTP) and I was able to view my Pictures and others files just fine.


2

If you followed the instructions on that page you overwrote Android with Ubuntu, so there is nothing to dual boot to. If you want to restore the backup of Android you made, there is a set of instructions linked from that page: http://developer.ubuntu.com/start/ubuntu-for-devices/reinstalling-android/ If you want to set up your device for dual boot, you ...


2

Setup this sudo apt-get install mtpfs sudo mkdir /media/onex sudo chmod 775 /media/onex sudo mtpfs -o allow_other /media/onex gedit /etc/udev/rules.d/51-android.rules and add the following line: SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666" and then: sudo service udev restart Then add a user to the "disk" group (or whatever You want) make a ...


2

I would suggest to check the installation directory for a readme or an uninstall script but in general: do what you did to install it in reverse order and delete everything you added as a setting or as a file on your system related to that installation. Installations done with a tar file are mosttimes uninstalled with the rm command. You go to the ...



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