Shashlik 0.9.0 Release – Deb Kubuntu Package

This is our first “we should probably make a release” public release of the Shashlik technology.

Having released a teaser video, we wanted to put out some binaries so people can start to test Shashlik for themselves.
It’s still very much an early prototype snapshot, but it should allow you to run some apps and games on your desktop.

The version number arbitrarily starts with 0.9 to indicate it will be a beta for quite some time, while we increment releases via the third digit 0.9.x as we add features and fixes towards a 1.0 release.

Getting the .deb release package

UPDATE 0.9.1: Get the latest package here (0.9.1).

PREVIOUS 0.9: You can download the (K)ubuntu-compatible package from from here (0.9) (Note: this is currently tested only to work under a KDE Plasma 5 environment).

Usage

Once installed grab any Android application package (APK) from the net.
For example our favourite app, Flappy Bird, can be found here: http://beste-apps.chip.de/android/app/flappy-bird-apk-android-app,cxo.66885070/

Note: If the APK has native code (which most do) the APK must have x86 support.

Then when asked what to open with type “/opt/shashlik/bin/shashlik-install”.

The app should now be available in the application menu alongside your other apps.

If you experience any issues, please report them in the comments or on github here:
https://github.com/shashlik/shashlik-build/issues

Update
Please get the newer package from http://www.shashlik.io/news/2016/02/22/shashlik-0-9-1/

  • Jose Gómez

    Hi, I have installed an apk, but I don’t see in my app menu. I see the app installed under ~/.local/share/shashlik, but it fails to run if I try to manually run them with shashlik-run

    • davidedmundson

      Can you show me the contents (ls -l) of ~/.config/menus ?

  • Carlos Silva

    For some strange reason, after installing the app, It won’t run :-(
    The emulator starts, but then nothing happens besides the soft buttons appearing on the bottom.

    • davidedmundson

      Can you launch with /opt/shashlik/bin/shashlik-run com.dotgears.flappybird flappy and pastebin the output.

      I have a strong feeling it’ll be saying some error about dexopt failing, but only one way to find out :)

      • Carlos Silva

        $ /opt/shashlik/bin/shashlik-run com.dotgears.flappybird FlappyBirds

        starting emulator

        error: device ‘(null)’ not found

        emulator: WARNING: system partition size adjusted to match image file (750 MB > 200 MB)

        emulator: ERROR: Invalid -datadir directory: /home/r3pek/.local/share/shashlik//system

        emulator: WARNING: data partition size adjusted to match image file (750 MB > 200 MB)

        setting icon3

        setting icon1

        setting icon

        Creating filesystem with parameters:

        Size: 69206016

        Block size: 4096

        Blocks per group: 32768

        Inodes per group: 4224

        Inode size: 256

        Journal blocks: 1024

        Label:

        Blocks: 16896

        Block groups: 1

        Reserved block group size: 7

        Created filesystem with 11/4224 inodes and 1302/16896 blocks

        error: device offline

        error: device offline

        error: device offline

        ** Error: Unable to connect to activity manager; is the system running?

        ** Error: Unable to connect to activity manager; is the system running?

        Events injected: 1

        ## Network stats: elapsed time=103ms (0ms mobile, 0ms wifi, 103ms not connected)

        • Jose Gómez

          Try creating the /home/r3pek/.local/share/shashlik/system folder; it did improve things for me.

          • Carlos Silva

            that was the first think i tried (removed it later), but didn’t do anything for me besides clearing the ERROR

  • Jose Gómez

    There was an error of libGL.so missing (solved running

    sudo ln -sv /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/x86_64-linux-gnu/libGL.so).

    There is another error saying “emulator: ERROR: Invalid -datadir directory: /home/user/.local/share/shashlik//system” (unsolved as of now).

    • davidedmundson

      try just mkdir’ing that directory.

      Might work.

      • Jose Gómez

        Thanks, it does improve things. The application I was trying crashed on startup, but that is a sepate story. That only happened once; now it doesn’t do anything.

  • async2013

    Installed Flappy Birds and get this error when running:

    shashlik-run: error: the following arguments are required: pretty_name

    Plus the App doesn’t show in any application menu on KDE4

  • http://forteller.net/ Børge / forteller

    Getting this error message when trying to install on Ubuntu Gnome 15.10 64 bit, updated to Gnome 3.18 with the Gnome Staging PPA.

    • davidedmundson

      ooops! That’s definitely worth fixing.
      Good of gnome package manager to check that.

  • davidedmundson

    bah.

    ln -s .config/menus/applications-merged .config/menus/kf5-aplications-merged

  • Lucas Francesco

    Tallked with leinir about the project being abandoned and he replied that you was going to be responsable for it, nice job making a public release, if you guys could organise (or at least do a simple explaination) the codebase it would be AWESOME for me (and i think for production too).

    by the way, i tried running this apps in archlinux via a kubuntu chroot and i got some errors, could you please help me?
    http://pastebin.com/pYwQxUQw

    edit: while writing this commentary saw the new codebase and seems to be more beautiful than the old and confusing codebase, nice job <3

  • Licaon_Kter

    So far
    “`
    setting icon3
    error: device ‘(null)’ not found
    error: device offline
    error: device offline
    error: device offline
    Exception in thread Thread-1:
    Traceback (most recent call last):
    File “/usr/lib/python3.5/threading.py”, line 914, in _bootstrap_inner
    self.run()
    File “/usr/lib/python3.5/threading.py”, line 862, in run
    self._target(*self._args, **self._kwargs)
    File “/opt/shashlik/bin/shashlik-run”, line 70, in send_icon
    with open(icon_path, “rb”) as icon:
    FileNotFoundError: [Errno 2] No such file or directory: ‘/home/user/.local/share/shashlik//com.app.apk.png’
    ** Error: Unable to connect to activity manager; is the system running?
    ** Error: Unable to connect to activity manager; is the system running?
    ** Error: Unable to connect to activity manager; is the system running?
    ** No activities found to run, monkey aborted.
    error: device ‘(null)’ not found
    “`

    Yes icon is there, yes has x86 libs.

    • Lucas Francesco

      fix:
      kdesu kate /opt/shashlik/bin/shashlik-run
      and then change
      shashlik_dir = os.path.expanduser(“~/.local/share/shashlik/”) to
      shashlik_dir = os.path.expanduser(“~/.local/share/shashlik”)

      • Licaon_Kter

        No change (besides the second “/” that is).
        Although it did “optimizing apps” once, and it never did that before, so…

        Also, as reported before, plenty of `kvm: vcpu0 disabled perfctr wrmsr: 0xc1 data 0xabcd` in dmesg.

    • Lucas Francesco

      After that Just rename The img created in The .local/share/shashlik to The name that not found is giving

      • Licaon_Kter

        Rename ‘system.img’ to ‘com.app.apk.img’ or what?

        The .PNG file IS THERE already. The error is not for all the APKs, some load the app icon ok.

        Oh, do please approve my previous comment too, BTW.

        • Lucas Francesco

          Not a maintaner of this site, Just a user that had The same problem as u.
          Btw, its The png, not The img ( The png is already there but depending of the apk it can require .apk.png extension, just make a copy with another name for a workaround that is more confiable)

          • Licaon_Kter

            The .png is already there, the one it complains about. I’ll see how the new 0.9.1 fares.

            I was asking the site owner, anyway, follow the github link in the post, see `Issues`.

          • Licaon_Kter

            Ok, I was blind :(, yes it should be `name.apk.png` it was `name.png`, so there’s that, still killing monkeys though.

        • Lucas Francesco

          My bad for saying that was an img (image for me) a. png picture still an image in some countries
          (image=picture sometimes)
          My bad for forgetting the .img

  • Björn Bidar

    It would be nice if there was a build description.

  • Max Khomkovm

    I would like this app in Cinnamon Desktop.

  • Pris0ner

    “The package is of bad quality” “The package doesn’t provide a valid Installed-Size control field. See Debian Policy 5.6.20.” on Ubuntu 14.04LTS 3.19.0-51-generic