shashlik / shashlik-build

175 stars 20 forks source link

ERROR: Invalid -datadir directory: /home/me/.local/share/shashlik/system #31

Open TWhirl opened 7 years ago

TWhirl commented 7 years ago

I installed shashlik on Ubuntu 14.04 like this site said. Tried with two different apks but when writing /opt/shashlik/bin/shashlik-run png_image_name apk_name.apk I get this error message, amongst two warnings and some code that is supposed to be there. Everything looks right except for the Error, and the app opens but stays on the icon all the time. emulator: ERROR: Invalid -datadir directory: /home/me/.local/share/shashlik/system I have looked for someone with the same problem but have not found them.

Complete Code:

me@mypc:~$ /opt/shashlik/bin/shashlik-run png_image_name apk_name.apk
starting emulator
emulator: WARNING: system partition size adjusted to match image file (750 MB > 200 MB)

emulator: ERROR: Invalid -datadir directory: /home/me/.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
DoraemonYu commented 7 years ago

:) Are you using the release version of 0.9.3 ? In this version, you could mkdir by yourself to remove this error. mkdir -p /home/me/.local/share/shashlik/system

BTW, I saw somebody commit the fix about this problem in : https://github.com/shashlik/shashlik-runtime-env/commit/0ca469068c332b551206044e91f3c05ed77af684

spariant commented 7 years ago

I can confirm that i get this error too, with 0.9.3.