Linux - Pepper Emulator - Android Studio Post Installation Steps

Gepostet etwa 2 Jahre her von Lukas Brandt

Ein Thema veröffentlichen
Gelöst

Unfortunately, the emulator for Pepper only works reliably under Linux, but unfortunately not out of the box here either. After the regular installation, a few more steps are required to get the emulator running reliably.


I am using Ubuntu 22.04.1 at this time and cannot guarantee that it will run on other distributions.


  1. Install Android Studio and Follow the Steps on the getting started page -> QiSDK Getting Started
  2. Install KVM
    • sudo apt install qemu-kvm


  3. Add yourself to the kvm group
    • sudo adduser yourusername kvm


  4. Relink the correct libraries
    1. Navigate to the API lib folder
      • cd /home/$USER/.local/share/Softbank Robotics/RobotSDK/API 7/tools/lib


    2. Back up the old library
      • mv libz.so.1 libz.so.1.bak


    3. Relink the System one 
      • ln -s /usr/lib/x86_64-linux-gnu/libz.so libz.so.1


  5. Restart Android Studio & start the Emulator

0 Stimmen


1 Kommentare

S

S. Scholz gepostet 9 Monate her

thank you for these instructions for Linux 

0 Stimmen

Anmelden oder Registrieren um einen Kommentar zu veröffentlichen