Run Android Apps on Linux with Shashlik

Run Android Apps on Linux with Shashlik

Seems as if every day there’s a new way to run Android apps on the Linux desktop. Most of the new methods for running these apps involve either installing a virtual machine with Android on it or using various Google Chrome extensions to load APKs. These methods are nice, but they don’t blend with the Linux ecosystem very well.

Enter Shashlik, a new project aimed at making Android apps run in tandem with the Linux desktop – no VirtualBox instances or browsers. Sounds promising, right? Here’s how to get it up and running on your Linux desktop.

shashlik-download-page

Shashlik has a package available for installation. The current version of the available package 0.9.3.

On Ubuntu

The easiest way is to download the .deb file from the website and double-click on it to install it. Alternatively, you can run the following command in the Terminal:

Once you have the .deb package file, it’s time to install it to your system.

After installing the package, you may encounter an error. This doesn’t always happen, but sometimes it can. This is because all of the dependencies were not met correctly. Not to worry, as this can easily be fixed with a single command.

Now that the dependencies have been corrected, just re-install the package (by entering the dpkg command listed above again).

On Arch Linux

Shashlik isn’t just available on Ubuntu. Arch users can install it as well. Just point your favorite AUR helper to this package. Go through the installation process, and it’ll go out, de-compile the .deb file and install it onto your system.

First: Shashlik is under development and hasn’t even hit a 1.0 version yet, so things might be incredibly unstable.

Second: though you are able to run Android applications, you should shy away from Google-related apps. Google Play Services are not supported, and any app that makes heavy use of this will flat out not work.

Third: Shashlik does not come with an app store. In order for this program to work, you’ll need to download the APK of the app you want. This is most easily done by visiting APK Mirror.

shashlik-audible

Note: Shashlik can only run Android APK files that have an x86 variant. Be sure to download that version on APK mirror. ARM Android packages simply do not work at this time.

Shashlik works by making use of the Android emulator that Google includes in the Android Software Development Kit. This allows it to run Android applications on your Linux desktop. Here’s how to get an app up and running. First, open a terminal, then enter the following command:

shashlik-run-command-terminal

Once you’re in the directory that the APK is in, it’s time to run the file.

Once you’ve run this command, you should see a smartphone-like window open up along with the app you’re trying to run.

The great thing about Shashlik is the fact that it doesn’t try to re-invent anything. It just takes advantage of a perfectly good set of tools already there: Google’s Android SDK. With their modified Android run-time, Shashlik can boot directly into any Android application that you specify it to.

shashlik-spotify-login-screen

When you specify the APK file to the runtime, it goes out and finds the icon and extracts it. That way when you have the app open, you’ll see a familiar icon in your taskbar. That comes in handy, but a real killer feature would be the ability to create launch shortcuts on the desktop or in a menu.

shashlik-flappy-bird

This tool certainly isn’t a new concept. In 2014, Google themselves wrote a run-time and started working with developers to port over their own Android apps to run on Chrome. The reason that Shashlik seems more promising than Google’s effort is the fact that you’re able to run first-class Android programs outside of Chrome.

The impressive thing isn’t just that it’s not running in Chrome, though; it’s the fact that the developers have some serious plans coming. Their long-term goal is to integrate Android into the Linux base as closely as possible. This might mean giving the apps full access to a desktop environment’s notification system, adding better handling of an Android app’s ability to access file systems, window re-sizing and more.

Shashlik is an impressive take on running Android applications directly on the Linux desktop. The best part is that you’re not required to have Chrome on your system, which is great considering it doesn’t have the best performance track record on low and mid-range PCs. If you need an Android app to get work done, and you’re not interested in tinkering about, this program is hit and miss. It’s very buggy, and there’s really no guarantee that any one program will work. Still, if you’re willing to sit through the bugs to get something working, Shashlik shows very good potential.

What Android apps would you run on your Linux PC? Tell us below!

Image Credit: Photobucket

3 comments

  1. Does not install unde Linux Mint 17.2 xfce. It apperard to, and even now find it in software center but tried to run it from terminal says command not found. No errors other than described.

  2. Haven’t tried it, but that sounds you need sudo

    If that works, try chown on the program

    Best. Keith

  3. Was going to install and test on Linux Mint 17.2 Cinnamon but came across a few prerequisites at this site:
    https://www.howtoforge.com/tutorial/how-to-install-and-run-android-apk-on-linux-with-shashlik/

    1. User should NOT be running another virtualization process at the same time
    2. APK must be x86 (as noted in this article).
    3. Shashlik is installed on a 64-bit Linux system.
    4. Developers suggest running their software on the KDE Plasma environment, as they are testing it on this only
    (Note: The how-to linked above states that Shashlik works on Pantheon as well so it seems worth testing on others)

    Sadly, I’m running 32-bit Linux…

Comments are closed.

Sponsored Stories