Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Anbox don't start after installation

  1. #11
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    27,135

    Default Re: Anbox don't start after installation

    Quote Originally Posted by bananajojo View Post
    Code:
    sudo zypper rr 1
    Rimozione del repository 'Anbox is container based approach to boot a full Android system on a regular GNU Linux system like Ubuntu. (openSUSE_Leap_15.2)' ..............................[fine]
    Il repository 'Anbox is container based approach to boot a full Android system on a regular GNU Linux system like Ubuntu. (openSUSE_Leap_15.2)' è stato rimosso.
    done but anbox doesn't work
    That wasn't to make anbox working, but to tidy up your repo list.
    Henk van Velden

  2. #12
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    4,876

    Default AW: Anbox don't start after installation

    A worse application, the kmp is not developed for a long time, does not build with kernel 5.8.....

    So why it is not working?
    Start it from terminal.

    And post the whole output.
    Last edited by Sauerland; 27-Sep-2020 at 12:43.

  3. #13

    Default Re: AW: Anbox don't start after installation

    Quote Originally Posted by Sauerland View Post
    A worse application, the kmp is not developed for a long time, does not build with kernel 5.8.....

    So why it is not working?
    Start it from terminal.

    And post the whole output.
    Code:
    :~>anbox
    NAME:
        anbox - anbox
    
    USAGE:
        anbox [command options] [arguments...]
    
    COMMANDS:
        wait-ready                     Wait until the Android system has successfully booted                                               
        help                           prints a short help message                                                                         
        session-manager                Run the the anbox session manager                                                                   
        launch                         Launch an Activity by sending an intent                                                             
        check-features                 Check that the host system supports all necessary features                                          
        system-info                    Print various information about the system we're running on                                         
        version                        print the version of the daemon
    localhost:~> anbox version
    anbox local-fatal: not a git repository (or any of the parent directories): .git

  4. #14

    Default Re: Anbox don't start after installation

    Quote Originally Posted by hcvv View Post
    That wasn't to make anbox working, but to tidy up your repo list.
    oh okay thanks

  5. #15

    Default Re: AW: Anbox don't start after installation

    Quote Originally Posted by Sauerland View Post
    First:
    Please use
    Code:
    LANG=C zypper lr -d
    With LANG=C you get an english ouput.

    Also:
    Edit done by the User
    Please delete this Repo in Yast--- Softawre----Software Repositories:

    You have copied the description into the name field and that make its difficult to see something.
    That Repo is also double, this one is the same:

    Edit done by the User
    Code:
    localhost:~> LANG=C zypper lr -d
    #  | Alias                                | Name                                      | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                    | Service
    ---+--------------------------------------+-------------------------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------------+--------
     1 | https-download.opensuse.org-2405b206 | home:Dead_Mozay:anbox                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/home:/Dead_Mozay:/anbox/openSUSE_Leap_15.2/ | 
     2 | openSUSE-Leap-15.2-1                 | openSUSE-Leap-15.2-1                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.2/repo/oss/                          | 
     3 | repo-debug                           | Repository di debug                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.2/repo/oss/                    | 
     4 | repo-debug-non-oss                   | Debug Repository (Non-OSS)                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.2/repo/non-oss/                | 
     5 | repo-debug-update                    | Repository degli aggiornamenti (Debug)    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.2/oss                                | 
     6 | repo-debug-update-non-oss            | Update Repository (Debug, Non-OSS)        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.2/non-oss/                           | 
     7 | repo-non-oss                         | Repository Non-OSS                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.2/repo/non-oss/                      | 
     8 | repo-oss                             | Repository principale                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.2/repo/oss/                          | 
     9 | repo-source                          | Repository dei sorgenti                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.2/repo/oss/                   | 
    10 | repo-source-non-oss                  | Source Repository (Non-OSS)               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.2/repo/non-oss/               | 
    11 | repo-update                          | Repository principale degli aggiornamenti | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.2/oss                                      | 
    12 | repo-update-non-oss                  | Repository degli aggiornamenti (Non-Oss)  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.2/non-oss/

  6. #16
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    4,876

    Default AW: Anbox don't start after installation

    Installation with snap:

    Install:
    all as root
    Code:
    zypper in -f anbox-kmp-default anbox-modules
    These are only the kernel-modules you need, all others is with snap.

    You need also snapd:
    Add the repo:
    Code:
    zypper ar -f https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.2/ snappy
    install snapd
    Code:
    zypper in snapd
    Enable snapd:
    Code:
    systemctl enable snapd.service
    Start snapd.service:
    Code:
    systemctl start snapd.service
    Now install the anbox app:
    Code:
    snap install --devmode --beta anbox
    logout and login because:
    Warning: /snap/bin was not found in your $PATH. If you've not restarted your session
    since you installed snapd, try doing that. Please see
    https://forum.snapcraft.io/t/9469 for more details.
    Now as root:
    Now update to the most recent version by typing
    Code:
    snap refresh --beta --devmode anbox
    Now you can use anbox via your KDE/Plasma/Gnome Menu.

    If you want to install android apps with adb, you can install it from Hardware-Repo:
    Code:
    https://download.opensuse.org/repositories/hardware/openSUSE_Leap_15.2/x86_64/android-tools-9.0.0_r58-lp152.1.1.x86_64.rpm
    adb is only working when anbox is running.
    Last edited by Sauerland; 29-Sep-2020 at 09:46.

  7. #17

    Default Re: AW: Anbox don't start after installation

    Quote Originally Posted by Sauerland View Post
    Installation with snap:

    Install:
    all as root
    Code:
    zypper in -f anbox-kmp-defaul anbox-modules
    These are only the kernel-modules you need, all others is with snap.

    You need also snapd:
    Add the repo:
    Code:
    zypper ar -f https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.2/ snappy
    install snapd
    Code:
    zypper in snapd
    Enable snapd:
    Code:
    systemctl enable snapd.service
    Start snapd.service:
    Code:
    systemctl start snapd.service
    Now install the anbox app:
    Code:
    snap install --devmode --beta anbox
    logout and login because:


    Now as root:
    Now update to the most recent version by typing
    Code:
    snap refresh --beta --devmode anbox
    Now you can use anbox via your KDE/Plasma/Gnome Menu.

    If you want to install android apps with adb, you can install it from Hardware-Repo:
    Code:
    https://download.opensuse.org/repositories/hardware/openSUSE_Leap_15.2/x86_64/android-tools-9.0.0_r58-lp152.1.1.x86_64.rpm
    adb is only working when anbox is running.
    first step
    Code:
    LANG=C zypper in -f anbox-kmp-defaul anbox-modules
    Loading repository data...
    Reading installed packages...
    Package 'anbox-kmp-defaul' not found.
    Forcing installation of 'anbox-modules-0.0.1.git20191114-lp152.7.37.x86_64' from repository 'home:Dead_Mozay:anbox'.
    Resolving package dependencies...
    
    The following package is going to be reinstalled:
      anbox-modules
    
    1 package to reinstall.
    Overall download size: 7.9 KiB. Already cached: 0 B. No additional space will be used or freed after the operation.
    Continue? [y/n/v/...? shows all options] (y): s
    : Invalid answer 's'.
    [y/n/v/...? shows all options] (y): y
    Retrieving package anbox-modules-0.0.1.git20191114-lp152.7.37.x86_64                     (1/1),   7.9 KiB (  109   B unpacked)
    Retrieving: anbox-modules-0.0.1.git20191114-lp152.7.37.x86_64.rpm ......................................................[done]
    
    Checking for file conflicts: ...........................................................................................[done]
    (1/1) Installing: anbox-modules-0.0.1.git20191114-lp152.7.37.x86_64 ....................................................[done]
    Installation has completed with error.
    snappy
    Code:
    LANG=C zypper ar -f https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.2/ snappy
    Adding repository 'snappy' ............................................................................................[error]
    Repository named 'snappy' already exists. Please use another alias.
    snapd
    Code:
    LANG=C zypper in snap
    Retrieving repository 'snappy' metadata -----------------------------------------------------------------------------------[\]
    
    New repository or package signing key received:
    
      Repository:       snappy
      Key Name:         system:snappy OBS Project <system:snappy@build.opensuse.org>
      Key Fingerprint:  4F2FA05B 2C6589C3 FD12055E F7C6E425 ED340235
      Key Created:      Wed Sep  5 12:57:20 2018
      Key Expires:      Fri Nov 13 11:57:20 2020 (expires in 44 days)
      Rpm Name:         gpg-pubkey-ed340235-5b8fb690
    
    
    Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): a
    Retrieving repository 'snappy' metadata ................................................................................[done]
    Building repository 'snappy' cache .....................................................................................[done]
    Loading repository data...
    Reading installed packages...
    'snap' not found in package names. Trying capabilities.
    No provider of 'snap' found.
    Resolving package dependencies...
    
    Nothing to do.
    snapd.service
    Code:
    systemctl enable snapd.service
    Failed to enable unit: Unit file snapd.service does not exist.
    install anbox
    Code:
    LANG=C snap install --devmode --beta anbox
    If 'snap' is not a typo you can use command-not-found to lookup the package that contains it, like this:
        cnf snap
    cnf snap
    Code:
    cnf snap
                          
    The program 'snap' can be found in the following package:
      * snapd [ path: /usr/bin/snap, repository: zypp (snappy) ]
    
    Try installing with:
        zypper install snapd
    now snap it's done
    Code:
    zypper install snapd
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    The following 2 NEW packages are going to be installed:
      snapd squashfs
    
    2 new packages to install.
    Overall download size: 13.8 MiB. Already cached: 0 B. After the operation, additional 64.1 MiB will be used.
    Continue? [y/n/v/...? shows all options] (y): y
    Retrieving package squashfs-4.3-lp152.3.6.x86_64                                         (1/2), 133.1 KiB (351.1 KiB unpacked)
    Retrieving: squashfs-4.3-lp152.3.6.x86_64.rpm ............................................................[done (252.1 KiB/s)]
    Retrieving package snapd-2.46-lp152.1.1.x86_64                                           (2/2),  13.7 MiB ( 63.7 MiB unpacked)
    Retrieving: snapd-2.46-lp152.1.1.x86_64.rpm ................................................................[done (1.2 MiB/s)]
    
    Checking for file conflicts: ...........................................................................................[done]
    (1/2) Installing: squashfs-4.3-lp152.3.6.x86_64 ........................................................................[done]
    (2/2) Installing: snapd-2.46-lp152.1.1.x86_64 ..........................................................................[done]
    Additional rpm output:
    Please reboot, logout/login or source /etc/profile to have /snap/bin added to PATH.
    On a Tumbleweed system you need to run: systemctl enable snapd.apparmor.service
    snap.service
    Code:
    systemctl enable snapd.service
    Created symlink /etc/systemd/system/multi-user.target.wants/snapd.service -> /usr/lib/systemd/system/snapd.service.
    # systemctl start snapd.service
    anbox installation
    Code:
    snap install --devmode --beta anbox
    2020-09-29T17:49:08+02:00 INFO Waiting for automatic snapd restart...
    Warning: /snap/bin was not found in your $PATH. If you've not restarted your session since you
             installed snapd, try doing that. Please see https://forum.snapcraft.io/t/9469 for more
             details.
    
    anbox (beta) 4-56c25f1 from morphis installed
    i've done logout and login

    anbox refresh
    Code:
    snap refresh --beta --devmode anbox
    snap "anbox" has no updates available
    after this anbox doesn't start, anbox open ---> loading screen ----> it close

  8. #18

    Default Re: Anbox don't start after installation

    when i restart the pc ANBOX START !!!!!
    thanks to all

  9. #19
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    4,876

    Default AW: Anbox don't start after installation

    There was an typo:
    Code:
    LANG=C zypper in -f anbox-kmp-defaul anbox-modules
    the t is missing:
    Code:
    LANG=C zypper in -f anbox-kmp-default anbox-modules
    Changed in the post above.

    PS
    This command is for installing when no anbox-package is installed.
    You need only those 2 packages from the repo (https://download.opensuse.org/reposi...USE_Leap_15.2/), nothing more.
    Last edited by Sauerland; 29-Sep-2020 at 09:53.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •