Tag Info

Hot answers tagged

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


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

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


5

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.


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


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

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


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

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


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

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

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.


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

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


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

Switching to an open source driver did it Short Version Using an open source driver (brcmsmac in my case) instead of the Proprietary Broadcom STA Wireless driver (wl) and installing ap-hotspot did the trick Long version for Broadcom Users Go to Ubuntu Broadcomm WifiDocs. See if an open source alternative exists. The Linux drivers page should tell you ...


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

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

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

I had the same problem, but simply closing Banshee solved it. Make sure you don't have any other programs currently accessing the device.


2

Truecrypt is (was?) probably the most well known cross platform, open source encryption tool, but unfortunately the project was mysteriously shut down by its anonymous developers just a few months ago, when the website was replaced with a message stating that it's "no longer safe." However, the general consensus in the security community seems to be that ...



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