Comments (14)
as @NickWilde263 had rightly mentioned, the correct way to solve this is to recreate the folder structure, i.e. recreate the /etc/systemd/system/anbox-container-manager.service.d/
folder and run the script as root.
changing /etc/systemd/system/anbox-container-manager.service.d/override.conf
to /lib/systemd/system/anbox-container-manager.service
overwrites the actual systemd service, which wouldn't be a good idea.
More info on systemd overrides here.
from anbox-playstore-installer.
Edit: For some reason I lost internet connection in Anbox after doing this (the error was Anbox bridge interface 'anbox0' doesn't exist
). I don't know if it was the script or the change that I made that caused it but I was able to fix it by following the steps on the accepted answer: linux - Internet not working in Anbox on Ubuntu 18.04 - Super User. Also restart the container service again after doing these steps. But these steps for the network fix might not work for everyone, so I wouldn't recommend this solution until it can confirmed that the problem is caused by the script itself, not by the change made in the script.
I found a simple solution.
-
First download the script to the current directory:
wget https://raw.githubusercontent.com/geeks-r-us/anbox-playstore-installer/master/install-playstore.sh
-
Open the script in your favorite text editor and find the text /etc/systemd/system/snap.anbox.container-manager.service
-
Replace this with the path to the anbox container service. You can find it using
sudo systemctl status anbox-container-manager.service
orsudo systemctl status snap.anbox.container-manager.service
. For me it is /lib/systemd/system/anbox-container-manager.service -
Save the changes to the script. Then to make it executable run in terminal:
chmod +x install-playstore.sh
-
Then run the script with:
sudo ./install-playstore.sh
(sudo is required in order to access the above directory in step 3)
Also I am running the debian variant of anbox (anbox 0.0~git20210106-1-Debian).
Hope this helps.
from anbox-playstore-installer.
Fixed
from anbox-playstore-installer.
Please how did you go about it?
from anbox-playstore-installer.
Please how did you go about it?
i can help give some info i same error
from anbox-playstore-installer.
I also have same issue on Debian
from anbox-playstore-installer.
please share the solution
from anbox-playstore-installer.
recreate the folder structure
from anbox-playstore-installer.
./install-playstore.sh: line 132: /etc/systemd/system/anbox-container-manager.service.d/override.conf: No such file or directory
when i go through the instalation i run the script and it comes back with this error
same issue
:(
from anbox-playstore-installer.
please share the solution
if you installed using snap then change line 155 path as snap.anbox.container-manager.service
from anbox-playstore-installer.
./install-playstore.sh: line 155: /etc/systemd/system/snap.anbox.container-manager.service: Permission denied
how do I fix this it happened after I changed line 155
from anbox-playstore-installer.
When I got error below
install-playstore.sh: line 155: /etc/systemd/system/anbox-container-manager.service.d/override.conf: No such file or directory
I followed the thread responses above and changed my line 155 from $SUDO cat >/etc/systemd/system/snap.anbox.container-manager.service/override.conf<<EOF
to $SUDO cat >/lib/systemd/system/anbox-container-manager.service/override.conf<<EOF
and ran the script again but now got error below
./install-playstore.sh: line 155: /lib/systemd/system/anbox-container-manager.service/override.conf: Not a directory
I removed the override.conf line and when I ran the script again I now got the following message
/var/lib/anbox/rootfs-overlay
Overlay no enabled ! Please check error messages!
Please confirm if I have to remove the override.conf line and how doe I finally resolve my issue?
from anbox-playstore-installer.
Edit: For some reason I lost internet connection in Anbox after doing this (the error was
Anbox bridge interface 'anbox0' doesn't exist
). I don't know if it was the script or the change that I made that caused it but I was able to fix it by following the steps on the accepted answer: linux - Internet not working in Anbox on Ubuntu 18.04 - Super User. Also restart the container service again after doing these steps. But these steps for the network fix might not work for everyone, so I wouldn't recommend this solution until it can confirmed that the problem is caused by the script itself, not by the change made in the script.I found a simple solution.
- First download the script to the current directory:
wget https://raw.githubusercontent.com/geeks-r-us/anbox-playstore-installer/master/install-playstore.sh
- Open the script in your favorite text editor and find the text /etc/systemd/system/snap.anbox.container-manager.service
- Replace this with the path to the anbox container service. You can find it using
sudo systemctl status anbox-container-manager.service
orsudo systemctl status snap.anbox.container-manager.service
. For me it is /lib/systemd/system/anbox-container-manager.service- Save the changes to the script. Then to make it executable run in terminal:
chmod +x install-playstore.sh
- Then run the script with:
sudo ./install-playstore.sh
(sudo is required in order to access the above directory in step 3)Also I am running the debian variant of anbox (anbox 0.0~git20210106-1-Debian).
Hope this helps.
+:~$ sudo systemctl status anbox-container-manager.service
● anbox-container-manager.service - Anbox Container Manager
Loaded: loaded (/lib/systemd/system/anbox-container-manager.service; enabled; vendor pre>
Drop-In: /etc/systemd/system/anbox-container-manager.service.d
└─override.conf
+ Active: inactive (dead)
Condition: start condition failed at Tue 2021-12-14 17:43:51 JST; 9min ago
└─ ConditionPathExists=/var/lib/anbox/android.img was not met
Docs: man:anbox(1)
Dec 14 04:35:48 Scibrokes-Trading systemd[1]: Condition check resulted in Anbox Container Man>
Dec 14 17:43:51 Scibrokes-Trading systemd[1]: Condition check resulted in Anbox Container Man>
+:~$ sudo micro /etc/systemd/system/snap.anbox.container-manager.service
+:~$ sudo systemctl status snap.anbox.container-manager.service
● snap.anbox.container-manager.service - Service for snap application anbox.container-manager
Loaded: loaded (/etc/systemd/system/snap.anbox.container-manager.service; enabled; vendo>
+ Active: active (running) since Tue 2021-12-14 17:43:47 JST; 11min ago
Main PID: 709052 (anbox)
Tasks: 9 (limit: 18890)
Memory: 4.8M
CGroup: /system.slice/snap.anbox.container-manager.service
└─709052 /snap/anbox/186/usr/bin/anbox container-manager --data-path=/var/snap/a>
Dec 14 17:43:48 Scibrokes-Trading anbox.container-manager[709052]: 709052:
Dec 14 17:43:48 Scibrokes-Trading anbox.container-manager[709052]: 709052: initial>
Dec 14 17:43:48 Scibrokes-Trading anbox.container-manager[709052]: 709052:
Dec 14 17:43:48 Scibrokes-Trading anbox.container-manager[709052]: 709052:
Dec 14 17:43:48 Scibrokes-Trading anbox.container-manager[709052]: 709052: transfe>
Dec 14 17:43:48 Scibrokes-Trading anbox.container-manager[709052]: 709052:
Dec 14 17:43:48 Scibrokes-Trading anbox[709052]: Successfully setup rootfs overlay
Dec 14 17:43:48 Scibrokes-Trading anbox[709052]: Mounting "/var/snap/anbox/common/cache" on ">
Dec 14 17:43:48 Scibrokes-Trading anbox[709052]: Mounting "/var/snap/anbox/common/data" on "/>
Dec 14 17:43:48 Scibrokes-Trading anbox[709052]: Everything setup. Waiting for incoming conne>
from anbox-playstore-installer.
Edit: For some reason I lost internet connection in Anbox after doing this (the error was
Anbox bridge interface 'anbox0' doesn't exist
). I don't know if it was the script or the change that I made that caused it but I was able to fix it by following the steps on the accepted answer: linux - Internet not working in Anbox on Ubuntu 18.04 - Super User. Also restart the container service again after doing these steps. But these steps for the network fix might not work for everyone, so I wouldn't recommend this solution until it can confirmed that the problem is caused by the script itself, not by the change made in the script.
I found a simple solution.
- First download the script to the current directory:
wget https://raw.githubusercontent.com/geeks-r-us/anbox-playstore-installer/master/install-playstore.sh
- Open the script in your favorite text editor and find the text /etc/systemd/system/snap.anbox.container-manager.service
- Replace this with the path to the anbox container service. You can find it using
sudo systemctl status anbox-container-manager.service
orsudo systemctl status snap.anbox.container-manager.service
. For me it is /lib/systemd/system/anbox-container-manager.service- Save the changes to the script. Then to make it executable run in terminal:
chmod +x install-playstore.sh
- Then run the script with:
sudo ./install-playstore.sh
(sudo is required in order to access the above directory in step 3)Also I am running the debian variant of anbox (anbox 0.0~git20210106-1-Debian).
Hope this helps.+:~$ sudo systemctl status anbox-container-manager.service ● anbox-container-manager.service - Anbox Container Manager Loaded: loaded (/lib/systemd/system/anbox-container-manager.service; enabled; vendor pre> Drop-In: /etc/systemd/system/anbox-container-manager.service.d └─override.conf + Active: inactive (dead) Condition: start condition failed at Tue 2021-12-14 17:43:51 JST; 9min ago └─ ConditionPathExists=/var/lib/anbox/android.img was not met Docs: man:anbox(1) Dec 14 04:35:48 Scibrokes-Trading systemd[1]: Condition check resulted in Anbox Container Man> Dec 14 17:43:51 Scibrokes-Trading systemd[1]: Condition check resulted in Anbox Container Man> +:~$ sudo micro /etc/systemd/system/snap.anbox.container-manager.service +:~$ sudo systemctl status snap.anbox.container-manager.service ● snap.anbox.container-manager.service - Service for snap application anbox.container-manager Loaded: loaded (/etc/systemd/system/snap.anbox.container-manager.service; enabled; vendo> + Active: active (running) since Tue 2021-12-14 17:43:47 JST; 11min ago Main PID: 709052 (anbox) Tasks: 9 (limit: 18890) Memory: 4.8M CGroup: /system.slice/snap.anbox.container-manager.service └─709052 /snap/anbox/186/usr/bin/anbox container-manager --data-path=/var/snap/a> Dec 14 17:43:48 Scibrokes-Trading anbox.container-manager[709052]: 709052: Dec 14 17:43:48 Scibrokes-Trading anbox.container-manager[709052]: 709052: initial> Dec 14 17:43:48 Scibrokes-Trading anbox.container-manager[709052]: 709052: Dec 14 17:43:48 Scibrokes-Trading anbox.container-manager[709052]: 709052: Dec 14 17:43:48 Scibrokes-Trading anbox.container-manager[709052]: 709052: transfe> Dec 14 17:43:48 Scibrokes-Trading anbox.container-manager[709052]: 709052: Dec 14 17:43:48 Scibrokes-Trading anbox[709052]: Successfully setup rootfs overlay Dec 14 17:43:48 Scibrokes-Trading anbox[709052]: Mounting "/var/snap/anbox/common/cache" on "> Dec 14 17:43:48 Scibrokes-Trading anbox[709052]: Mounting "/var/snap/anbox/common/data" on "/> Dec 14 17:43:48 Scibrokes-Trading anbox[709052]: Everything setup. Waiting for incoming conne>
what this suppose to for? (is this additional information for the comment you are quoting?)
from anbox-playstore-installer.
Related Issues (20)
- install-playstore.sh works well but play store not showing HOT 3
- Can the script install gapps-full? HOT 5
- Click on PlayStore "Sign in" button has no effect HOT 2
- More portable scripts (specifically, NixOS support).
- Failed to mount "/var/lib/anbox/combined-rootfs": No such device
- This script did nothing for me
- ./install-playstore.sh: line 155: /etc/systemd/system/anbox-container-manager.service.d/override.conf: No such file or directory HOT 11
- Repair houdini links and enable support for non snap version of Anbox . HOT 3
- change android version
- There is no Google Store among Apps HOT 7
- No more gapps in the link.
- Missing permission groups HOT 2
- Cant install playstore HOT 1
- AUR Anbox Install with Playstore Installer error HOT 2
- Libhoudini Issue HOT 1
- `line 164: /etc/systemd/system/anbox-container-manager.service.d/override.conf: Permission denied` HOT 6
- anbox crashes after running this script HOT 1
- Overlay no enabled ! Please check error messages! HOT 1
- Doesn't work
- Errors when launching anbox.appmgr HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anbox-playstore-installer.