Linux - Pepper Emulator - Android Studio Post Installation Steps

Posted about 2 years ago by Lukas Brandt

Post a topic
Solved
Lukas Brandt
Lukas Brandt

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 Votes


1 Comments

S

S. Scholz posted 8 months ago

thank you for these instructions for Linux 

0 Votes

Login or Sign up to post a comment