That wasn't to make anbox working, but to tidy up your repo list.
Printable View
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
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/
Installation with snap:
Install:
all as root
These are only the kernel-modules you need, all others is with snap.Code:zypper in -f anbox-kmp-default anbox-modules
You need also snapd:
Add the repo:
install snapdCode:zypper ar -f https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.2/ snappy
Enable snapd:Code:zypper in snapd
Start snapd.service:Code:systemctl enable snapd.service
Now install the anbox app:Code:systemctl start snapd.service
logout and login because:Code:snap install --devmode --beta anbox
Now as root:Quote:
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 update to the most recent version by typing
Now you can use anbox via your KDE/Plasma/Gnome Menu.Code:snap refresh --beta --devmode anbox
If you want to install android apps with adb, you can install it from Hardware-Repo:
adb is only working when anbox is running.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
first step
snappyCode: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.
snapdCode: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.serviceCode: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.
install anboxCode:systemctl enable snapd.service
Failed to enable unit: Unit file snapd.service does not exist.
cnf snapCode: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
now snap it's doneCode: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
snap.serviceCode: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
anbox installationCode: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
i've done logout and loginCode: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
anbox refresh
after this anbox doesn't start, anbox open ---> loading screen ----> it closeCode:snap refresh --beta --devmode anbox
snap "anbox" has no updates available
when i restart the pc ANBOX START !!!!!
thanks to all :):):)
There was an typo:
the t is missing:Code:LANG=C zypper in -f anbox-kmp-defaul anbox-modules
Changed in the post above.Code:LANG=C zypper in -f anbox-kmp-default anbox-modules
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.