Correct way of adding to waydroid?

I'm trying to add gapps, libndk, widevine and smartdock to Waydroid. I've tried: - clearing all directories and using -s gapps to initialise with gapps, - using the waydroid-script main.py install method (system is ofc read only, so that doesn't work past unzipping gapps), - adding /home/<name>/waydroid_script/venv/bin/python3 /home/<name>/waydroid_script/main.py install {gapps,etc,etc} to the system.yaml, - copying exactly what is shown in the screenshot in the blend-os post-install guide. So far, none of these have resulted in waydroid having gapps or anything else. Is there a better method? I installed waydroid-script as per the install instructions on GitHub, and I have noticed that the screenshot in the blend-os post-install guide shows a completely different location for the waydroid script. I have tried both, and still no success. I notice that when following exactly what is shown on the guide under Waydroid, I recieve this error during akshara update: ERROR: Cannot locate waydroid config file, reinit wayland and try again!
Solution:
So I just did ```sh sudo rm -r /var/lib/waydroid sudo rm -r /home/.waydroid sudo rm -r /home/$USER/waydroid...
Jump to solution
7 Replies
Asterisk
Asterisk3d ago
you have to use a directory that's copied over currently there is no such folder because I don't think the /opt patch was built yet but it should be /opt
retrograde
retrogradeOP3d ago
The folder exists in /opt/ with contents
Asterisk
Asterisk3d ago
so ideally you'd run it from there
retrograde
retrogradeOP3d ago
like this is?
No description
retrograde
retrogradeOP3d ago
this is the full error that I've been getting doing exactly that
No description
Valkyrja
Valkyrja3d ago
@retrograde, you've gained the level 1
Solution
retrograde
retrograde3d ago
So I just did
sudo rm -r /var/lib/waydroid
sudo rm -r /home/.waydroid
sudo rm -r /home/$USER/waydroid
sudo rm -r /home/$USER/share/waydroid
sudo rm -r /home/$USER/.local/share/waydroid
sudo rm -r /var/lib/waydroid
sudo rm -r /home/.waydroid
sudo rm -r /home/$USER/waydroid
sudo rm -r /home/$USER/share/waydroid
sudo rm -r /home/$USER/.local/share/waydroid
Then I did sudo waydroid init -s GAPPS (which didnt do anything). Opened Blend Settings and reinitialised waydroid. Akshara gave me another error. I then ran python /opt/waydroid-script/main.py from the home directory, selected gapps, and this time it worked.

Did you find this page helpful?